Hi Again, For now I have worked around the problem by writing a Delphi test application (MapInfo will run if I select run without debug). I would still like to know what this problem is...
I now have a very simple way of getting an attribute from my SQL Server, without using ODBC (but it is .NET). Cheers Ian -----Original Message----- From: Ian Tidy [mailto:[EMAIL PROTECTED] Sent: Wednesday, 17 March 2004 1:12 p.m. To: MapInfo-L Subject: MI-L Testing Delphi Based DLLs Hi All, I am having a problem testing a DLL I have just about finished writing in Delphi 8 .NET. I have done all the normal stuff (written test MBX to call DLL, added MapInfoW.EXE and parameters to the project, etc) and everything looks right, but when I run my DLL I get an error "Unable to scan program's header." with an OK button. I am trying to step through the code to make sure I've got it right. Any ideas??? Also there is no form (VCL or WinForm) in this code, it just returns values from a SQL server. Cheers Ian Ian Tidy GIS Administrator Works Asset Napier City Council mailto:[EMAIL PROTECTED] http://www.napier.govt.nz ###################################################################### Attention: This e-mail message and accompanying data may contain information that is confidential and subject to legal privilege. Any information provided is given in good faith. However unless specifically stated to the contrary, Napier City Council accepts no liability for the content of this e-mail or for the consequences of any action taken on the basis of the information provided, unless that information is subsequently confirmed in writing. If you are not the intended recipient, you are notified that any use, dissemination, distribution or copying of this message or data is prohibited. If you received this e-mail message in error, please notify us immediately and erase all copies of this message and attachments. Thank you. ###################################################################### ###################################################################### This e-mail message has been scanned and cleared by MailMarshal ###################################################################### ###################################################################### Attention: This e-mail message and accompanying data may contain information that is confidential and subject to legal privilege. Any information provided is given in good faith. However unless specifically stated to the contrary, Napier City Council accepts no liability for the content of this e-mail or for the consequences of any action taken on the basis of the information provided, unless that information is subsequently confirmed in writing. If you are not the intended recipient, you are notified that any use, dissemination, distribution or copying of this message or data is prohibited. If you received this e-mail message in error, please notify us immediately and erase all copies of this message and attachments. Thank you. ###################################################################### --------------------------------------------------------------------- List hosting provided by Directions Magazine | www.directionsmag.com | To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Message number: 10908
