Jacque

Thanks very much for your note.  

I don't quite understand.  I have several bitmaps in the same file (I
sent you a copy of it for your library a few months ago, you may
remember).  All I've done is add 2 more resources.  MI is managing to
run my app. And gets as far as the new icons then crashes, but not
before displaying the others in the resource.

Anyway, I've got rid of any other copies on the dll and now I get the
error:

"Bad Height for for bitmap 314.  Unable to load external icon resource".

Well I've double-checked that this is indeed 32 X 32, all my resources
are ordered small-big (so the small one, 313 in the updated version of
the resource and the sample code since yesterday) comes first and MI
does not object to it - only the larger.

As I said, the res. File was working fine up until I added the extra
bitmaps.

BTW, how would I give the full path to the file?  In other words, where
and how do I reference this res. File in my code?  There IS no reference
to the res. File except in the generation of the button pads, as far as
I know/can remember.

Please can you give any further advice?

Best regards

Terry


-----Original Message-----
From: Jacques Paris [mailto:[EMAIL PROTECTED] 
Sent: 29 June 2005 20:01
To: Terry McDonnell
Subject: RE: MI-L Unable to load external icon resource file

Terry,

There has always been a question about the localization of the icons dll
and its naming. In some locations, there should be not any trouble
because MI is looking in some set directories, but in other cases and
particularly on a network, there may be some troubles. The ideal would
be to give the full path to the file. As I do not think there is an
ideal and an universal solution, check different locations: in the same
directory as the application, as the miresNNN,dll file (probably the MI
main directory).

Good luck

Jacques Paris
e-mail  [EMAIL PROTECTED]
MapBasic-MapInfo support  http://www.paris-pc-gis.com


---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 16982

Reply via email to