Classic DLL Library

  • Thread starter Thread starter Krzysztof
  • Start date Start date
K

Krzysztof

Hi all
I'm newbee in creating dll library, and I have one "nonstandard" question...
I must in VS.Net create classic library for WinNT4. How do this?
I choose ClassLibrary project but is that all? What I must set in property
to create classic dll?

Regards
Krzysztof
 
Krzysztof,

Unfortunately, you can not do this. .NET can not export functions from
DLLs. However you can use C++ to create a DLL which exports functions.
Using Managed Extensions for C++, you can create an unmanaged DLL that calls
managed code (using It Just Works).

Hope this helps.
 
Hi all
I'm newbee in creating dll library, and I have one "nonstandard" question...
I must in VS.Net create classic library for WinNT4. How do this?
I choose ClassLibrary project but is that all? What I must set in property
to create classic dll?

Regards
Krzysztof

You don't do that in VB.NET, as VB.NET is incabable of creating standard
win32 dlls... You'll want to use VC++ for that :)

Tom Shelton
 
You don't do that in VB.NET, as VB.NET is incabable of creating standard
win32 dlls... You'll want to use VC++ for that :)

Tom Shelton

Crap, I though I was in the VB.NET group... Oh, well the same thing
applies to C# as well :)

Tom Shelton
 
Krzysztof,
Unfortunately, you can not do this. .NET can not export functions from
DLLs. However you can use C++ to create a DLL which exports functions.
Using Managed Extensions for C++, you can create an unmanaged DLL that calls
managed code (using It Just Works).

Hope this helps.
[cut my]

I'm not happy about this
I must do simple dll tat have 2 methods to send XML to WebService and get
XML from it. It must works on Windsow 95/NT4 without .Net .
I do some apps in C# and Java, but for this time I didn't use C++.
So...

Regards
Krzysztof
 
Back
Top