[DUG] COM issue
Jolyon Smith
jsmith at deltics.co.nz
Fri Jun 3 12:36:16 NZST 2011
First up, if both are running as separate processes then nothing is in the
"same space" as such.
It's been a long time since I did any detailed COM work so I'm a bit rusty,
but I think the key to this will be the threading and instancing model your
COM server is employing in the A process and re-entrancy issues in the A
process.
-----Original Message-----
From: delphi-bounces at delphi.org.nz [mailto:delphi-bounces at delphi.org.nz] On
Behalf Of Robert Martin
Sent: Friday, 3 June 2011 12:06
To: NZ Borland Developers Group - Delphi List
Subject: [DUG] COM issue
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
_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: delphi at delphi.org.nz
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to delphi-request at delphi.org.nz with Subject:
unsubscribe
More information about the Delphi
mailing list