[DUG] COM issue

Robert Martin rob at chreos.co.nz
Fri Jun 3 12:06:05 NZST 2011


Hi

I have app A that runs (using create process) app B.  App B at one point 
tries to use COM to access app A.  This freezes.  When app B is run 
manually it works fine.  I assume this has something to do with B 
running in the same 'space' as A.  I have tried

CreateProcess(Nil, pChar(appName + ' AUTORUN'), nil, nil, false, 
DETACHED_PROCESS + NORMAL_PRIORITY_CLASS, nil, nil, startinfo, 
proc_info) <> False)

But to no avail.

Any suggestions?

Thanks
Rob



More information about the Delphi mailing list