How To: Generate C# Wrapper for Win32 DLL?

I

Ivan Farkas

Is there a way to generate C# Wrapper for Win32 DLL?

Ivan Farkas
(e-mail address removed)
 
J

Jeff Louie

Hi Ivan... So if I have a C++ ATL COM component called JAL.dll with a
class
SQL2Table, open Visual Studio and go to Project --> Add Reference -->
COM
and select JAL.dll. To call the dll just do

using JALLib;
blah blah blah
SQL2Table myCOM= new SQL2Table();
blah blah

Regards,
Jeff
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top