Board index » delphi » Out of proc server passing InProc server interfaces??
Ken Friesen
![]() Delphi Developer |
Sat, 16 Mar 2002 03:00:00 GMT
|
Ken Friesen
![]() Delphi Developer |
Sat, 16 Mar 2002 03:00:00 GMT
Out of proc server passing InProc server interfaces??
I have an out of process server which passes to the client, interfaces
implemented in an in process server. When doing a query interface on objects from the inProcess server from the My assumption is that the object interfaces implemented in the inprocess |
Binh L
![]() Delphi Developer |
Sat, 16 Mar 2002 03:00:00 GMT
Re:Out of proc server passing InProc server interfaces??Marshaling should work if either: 1) Your interfaces (I mean all interfaces that you export out) are defined 2) You have a proxy-stub dll registered that contains marshaling information I've never gotten a "member not found" error on a QI call so I'm not sure if have fun QuoteKen Friesen <k...@interlinq.com.nospam> wrote in message Quote> I have an out of process server which passes to the client, interfaces |
Ken Friese
![]() Delphi Developer |
Sat, 16 Mar 2002 03:00:00 GMT
Re:Out of proc server passing InProc server interfaces??Perhaps it is not a marshalling problem then ... I cannot for the life of me understand why I can call members of an interface through invoke (with delphi's default variant handling) yet I cannot find the interface itself through QueryInterface?? Any ideas on this? The type libraries are registered with the oleautomation flag set. I'm not Thanks! QuoteBinh Ly <b...@castle.net> wrote in message Quote> Marshaling should work if either: |
Nicholas Robinso
![]() Delphi Developer |
Sun, 17 Mar 2002 03:00:00 GMT
Re:Out of proc server passing InProc server interfaces??Ken, If you are using a typelibrary for both servers (inproc/outproc) then You do not need to consider proxy/stub writing if you do not wish - by HKCR\Interface\ Check that this is sorted as it will help confirm that atleast the interface Nick. QuoteKen Friesen <k...@interlinq.com.nospam> wrote in message Quote> Perhaps it is not a marshalling problem then ... I cannot for the life of |
Ken Friese
![]() Delphi Developer |
Sun, 17 Mar 2002 03:00:00 GMT
Re:Out of proc server passing InProc server interfaces??Thanks Nick! That lead me in the right direction. I had split up a type library into two Thanks again. Ken QuoteNicholas Robinson <NicholasRobin...@yahoo.co.uk> wrote in message Quote> Ken, |
Nicholas Robinso
![]() Delphi Developer |
Mon, 18 Mar 2002 03:00:00 GMT
Re:Out of proc server passing InProc server interfaces??<g> Glad you got it sorted. Nick. QuoteKen Friesen <k...@interlinq.com.nospam> wrote in message Quote> Thanks Nick! |
1. Apartment model Inproc server on dual proc systems
2. passing application ICON to an in proc server
3. Pass hDIB to Host from out of proc server
4. Threaded Server calling In-Proc Server
5. Out-proc server , multiple clients and server events
6. InProc OLE Server never unloads
7. Need help - inproc ole server in Delphi16
8. Exception registering InProc Server