[Win32utils-devel] Win32-ole start

Berger, Daniel Daniel.Berger at qwest.com
Thu Jun 5 10:58:11 EDT 2008



> The return value of CoCreateInstance()  -2147221008 is due to 
> the lack of CoInitialize() call.
> Insert
> hr = CoInitialize(nil)
> before
> hr = CoCreateInstance
> seems to work for me.

Makes sense. That worked, thanks. Strange that win32ole.c never calls

Anyway, I've made some initial commits to CVS to the 'win32-ole' project
for those interested.



This communication is the property of Qwest and may contain confidential or
privileged information. Unauthorized use of this communication is strictly 
prohibited and may be unlawful.  If you have received this communication 
in error, please immediately notify the sender by reply e-mail and destroy 
all copies of the communication and any attachments.

More information about the win32utils-devel mailing list