Uffe

Sure, I recall that - about 12 months ago. 

And Delphi is perhaps unique in combining Win32 and .NET code (I don't
know), but it still remains a possibility that any C-calling convention DLL
(eg, one made with unmanaged C++ or C code / compiler) would be able to run
a .NET assembly, and that .NET assembly could talk back. 

That's all I was saying .. 

Maybe Colin's probably better advised to look at MapXtreme .NET? (except
for the cost - writing a bit of C++ and some .NET code in even the
so-uncool VB.NET is as cheap as zero $ - more if Visual Studio is
purchased). 

---
Ian Thomas
GeoSciSoft - Perth, Australia


-----Original Message-----
From: Uffe Kousgaard [mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 27, 2005 5:14 PM
To: Mapinfo-L
Subject: Re: MI-L Calling a VB.NET assembly from MapBasic

Then let's be more precise:

Most, if not all, .NET langauges can call DLL's / OCX's, true. But that 
won't help Colin.

Delphi.NET is the only one that can create DLL's with IL code inside, that 
can be called from mapbasic. No additional wrappers required. Perhaps 
managed C++ can also do it now, I can't say for sure.

Last time we discussed this I created this small setup:
www.routeware.dk/dot_net_dll.zip

Regards
Uffe


----- Original Message ----- 
From: "SCISOFT" <[EMAIL PROTECTED]>
To: "'Mapinfo-L'" <[email protected]>
Sent: Thursday, October 27, 2005 11:00 AM
Subject: RE: MI-L Calling a VB.NET assembly from MapBasic


> Not quite right ..
>
> All of .NET supports ordinary, Win32 DLLs (and ActiveX DLLs) - the
problem
> is just to get MapBasic to call a DLL that's a wrapper to the .NET
> application. For that, you're right that you would need to write a C-call
> convention DLL in C++ or Delphi.
>
> The problem then just boils down to the usual, with MapBasic - callbacks,
> etc.
>
> VB.NET or C#.NET (or for that matter, Cobol.NET or Eiffel.NET) all
compile
> to much the same IL which the CLR runs in identical fashion.
>
> ---
> Ian Thomas
> GeoSciSoft - Perth, Australia
>
> -----Original Message-----
> From: Uffe Kousgaard [mailto:[EMAIL PROTECTED]
> Sent: Thursday, October 27, 2005 4:44 PM
> To: Mapinfo-L
> Subject: Re: MI-L Calling a VB.NET assembly from MapBasic
>
> Colin,
>
> There is only one option to create a DLL based on .NET code that can be
> called from mapbasic without any further wrappers:
>
> Delphi.NET
>
> You can be dead sure VB.NET doesn't support such an old-fashioned thing
as
> DLL's - not even VB6 did that. VB tools and mapbasic just doesn't match 
> up.
>
> Perhaps with a wrapper written in some other language (C++ / delphi).
>
> Regards
> Uffe
>
> -- 
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.1.361 / Virus Database: 267.12.5/149 - Release Date:
25/10/2005
>
>
> ---------------------------------------------------------------------
> List hosting provided by Directions Magazine | www.directionsmag.com |
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> Message number: 18489
> 


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

-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.361 / Virus Database: 267.12.5/149 - Release Date: 25/10/2005
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.361 / Virus Database: 267.12.5/149 - Release Date: 25/10/2005
 

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

Reply via email to