just add CoInitialize(nil) to your constructor and CoUninitialize in your destructor (don't forget to add the "activex" unit to the 'uses' part). Delphi does this automatically when creating a normal win32 app but not when you create a service or dll or something like that.
Hope this helps,
Daddy
--------------------------------------
What You See Is What You Get
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.