Click to See Complete Forum and Search --> : How can I compile .c file to dll and call the dll in VB?


kevin shen
March 19th, 2001, 06:11 PM
1)How can I compile .c file to dll and call the dll in VB?
2)What's the differnt between ActiveX dll and dll? Which one is better?

Thank you for your help!

Best Regards,

Kevin Shen

cksiow
March 20th, 2001, 01:22 AM
refer http://vblib.virtualave.net
There is a DLL created in VC++, able to be used by VB ActiveX DLL.

Normally DLL (not those DLL that store class) is merely for storing useful functions, it can't raise event like ActiveX DLL. It's not as "OOP" as ActiveX DLL also, i.e. you don't need to make an instance of a class to gain access to normal DLL. (of course there are DLL which store OBJECT).