Ian Perhaps you're correct in guessing that the .NET debugger can't 'step into' the MapInfo compiled code (but, can do so for the DLL when it's compiled under .NET). But can't you compile the Delphi DLL without any calls to the .NET framework? Or is the .NET functionality an important part of your DLL (ie, you don't want to discard the .NET part)? I presume that (some test version of) your .NET-compiled DLL works with MapInfo (on a system with the framework installed).
Ian Thomas -----Original Message----- From: Ian Tidy [mailto:[EMAIL PROTECTED] Sent: Wednesday, 17 March 2004 10:44 AM To: 'Phil Waight' Cc: MapInfo-L Subject: RE: MI-L Testing Delphi Based DLLs Hi Phil, .NET DLLs will work with Win32 applications, but you must have the .NET framework installed. But I think the problem I am having with the debugger may have something to do with MapInfo being a Win32 application. Cheers Ian -----Original Message----- From: Phil Waight [mailto:[EMAIL PROTECTED] Sent: Wednesday, 17 March 2004 3:43 p.m. To: Ian Tidy Subject: Re: MI-L Testing Delphi Based DLLs My understanding is that .NET DLLs are not the same format as NON-.NET. In otherwords they're not usable outside the .NET envonment. Shame, but possibly deliberate MS tactic to force an upgrade or a function of the architecture. However .NET programs can read ordinary DLLs. ----- Original Message ----- From: "Ian Tidy" <[EMAIL PROTECTED]> To: "MapInfo-L" <[EMAIL PROTECTED]> Sent: Wednesday, March 17, 2004 11:11 AM 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: 10909 --------------------------------------------------------------------- List hosting provided by Directions Magazine | www.directionsmag.com | To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Message number: 10910
