List,

Please help! I am trying to get a dialog to appear in MapInfo from a dll created in C. 
 When i call the function in my dll that will show the dialog I get the return value 
of -1.  I am getting the c dialog to report the error and it returns:

"The specified resource type cannot be found in the image file."

Has anyone come across this before? I know the dialog I am calling is present in the 
dll because I can see it when I run ResHack to view the dll.  I have included the .rc 
file and all relevant headers, but still no joy!

If I apply the same principle in a standard executable all works fine.  Is it not 
possible to store dialogs in a dll and then call them from mi?

All help, greatly appreciated!

--------------------------------
Colin Henderson
Senior Developer
Ordnance Survey
Tel: (0)2380 79 2034
--------------------------------




If you have received this email in error, please delete it immediately and notify the 
sender. This email may contain confidential information and if you are not the 
intended recipient, you must not copy, distribute or rely on it.
As email is not a 100% secure communications medium, you accept that there are risks 
in communicating by email by doing so. We advise you to check that emails and 
attachments are virus-free before opening them. No contracts can be entered into on 
our behalf by email. Opinions expressed in this email are not necessarily endorsed by 
us unless otherwise specifically stated. We reserve the right to read and monitor any 
email or attachment entering or leaving our systems without prior notice.
Ordnance Survey
Romsey Road
Southampton SO16 4GU
Tel: 023 8079 2000
http://www.ordnancesurvey.co.uk


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

Reply via email to