Thursday, July 30, 2009

How Can Use dll's in C Programing Language?

Can Any body Give Some Example That How can i Use(VB.Net) dll's in C Programing Language?

How Can Use dll's in C Programing Language?
==============================


Update: sorry, didn't notice .Net there... :(


I think, you should better convert your C program into DLL and Vb.Net DLL into a program. It is much easier to use C DLL from .Net program then vise versa.
Reply:dll's are dynamic link libraries





basically EXE files without the auto execute bit





when you compile, you can specify them as eithe exe's or dll's








hence "rundll" thing ..





examples.. look in ya windows folder..
Reply:You will have to register the .NET assembly:





regasm yourAssembly.dll





This will expose it to the COM and you can call members from the .NET assembly in your C source.


No comments:

Post a Comment