Click here to Skip to main content
15,893,508 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
I have a desktop application developed using C# (.Net 4.0). I need to create a DLL which will be used by two applications,
1) Application developed using C# (.Net 4.0)
2) Application developed using VC6.0

How to do this. I heard converting/importing my DLL header file into a managed header file would solve this. How to convert/import my DLL header file into a managed header file?

Regards,
Sankar.
Posted

1 solution

wel if you want to use dll in both .net and VB6 then you have to develop COM visible .net dll.
Building COM Objects in C#[^]
http://www.geeksengine.com/article/create-dll.html[^]
and here are complete guidelines and you can simply google "com interop .net vb6" and you will find a lot more results
http://support.microsoft.com/kb/817248[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900