Thank-you for the link. It helped somewhat. I found freeware on the internet from WhitWorth Software Solutions (
www.w-s-s.de) that allowed me to execute the function dynamically using the API once I had the function's address using LoadLibrary and GetProcAddress. There is a more robust version of the same type of thing called "Call Pointer" from VBDotCom.COM. I needed a quick turn-around, so I have not taken the time to digest the more robust one yet. The simpler one from WhitWorth has been working for a few days now without a hitch.
Thanks,
Dave
>>I want to be able to dynamically register ActiveX components in a program, but I am not sure how to call the "DllRegisterServer" procedure in the DLL. I am using LoadLibrary to get a handle and then GetProcAddress to get the entry-point for "DllRegisterServer", but I am having a hard time finding documentation on how to actually call the function (I have pleanty of C examples, but that is it). Any help would be appreciated.
>>
>>Thanks,
>>Dave
>
>Check out this page at vb2themax:
http://www.vb2themax.com/Item.asp?PageID=TipBank&ID=188
I would give my left arm to be ambidextrous!