Hi Ian, We can write our project without using the .NET framework (in Delphi 7) and it will work fine, but from what I have seen you cannot compile a Delphi 8 project without attaching some part of the .NET framework. I would guess that MS Visual Studio .NET would be the same. In Delphi 8 you cannot write a Win32 application.
Because Microsoft's operating systems and software are going to the .NET framework, MapInfo will follow this trend. This is slowly starting to happen with the new version of MapXtreme. Once Microsoft releases Yukon (SQL Server .NET), MapInfo will follow with a .NET version of SpatialWare, and so the cycle continues. Since we need to rewrite large portions of our code (as part of an upgrade), we can either spend the time now and port it to the .NET framework (as much as possible) or write them as a Win32 DLL now and rewrite them as .NET later (12 - 18 months time). If we get the .NET stuff done now, when the new .NET versions (of MapInfo, SQL Server, SpatialWare, etc) are released we will hopefully be able to integrate with them quicker and tighter then we can currently, and without having to completely rewrite the functions. I have tested my .NET DLL with MapInfo 7 and 7.5 (and the .NET framework installed) and it works very well. And there are some advantages in using the .NET framework from a database perspective (but it brings in some new challenges). Cheers Ian Ian Tidy -----Original Message----- From: SCISOFT [mailto:[EMAIL PROTECTED] Sent: Wednesday, 17 March 2004 4:10 p.m. To: 'Ian Tidy'; 'Phil Waight' Cc: 'MapInfo-L' Subject: RE: MI-L Testing Delphi Based DLLs 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. ###################################################################### --------------------------------------------------------------------- List hosting provided by Directions Magazine | www.directionsmag.com | To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Message number: 10911
