Thank you kindly, sir.
 
One more question, do I need to do anything before exiting the DLL?

Simon Carter <[EMAIL PROTECTED]> wrote:

> -----Original Message-----
> raise anexception class EOleSystError 'Coinitialize has not 
> been called'. Process stopped. Use step or run to continue."
> 
> I figure this has to have been done successfully by someone. 
> 

CoInitialize has to be called for each thread that uses COM, if your DLL
does not have multiple threads then add the call to CoInitialize in the dpr
entry point

begin
CoInitialize(nil);
end;

Rgds

Si Carter
http://www.tectsoft.net/


__________________________________________________
Delphi-Talk mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi-talk


Ralph D. Wilson II  
[EMAIL PROTECTED]  
[EMAIL PROTECTED]

"Any sufficiently advanced technology is indistinguishable from magic."
A. C. Clark
                
---------------------------------
Do you Yahoo!?
 Yahoo! Small Business - Try our new resources site! 
__________________________________________________
Delphi-Talk mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi-talk

Reply via email to