problem of concurrent calls to a DCOM server methods
Tue, 25 Oct 2005 15:13:35 -0400
Hello,
I have a DCOM out-of-process server with two methods. The first method
RunProc() runs a child process and wait for its result. Another method
CancelProc() can terminate the process. The DCOM server is implemented with
free-threaded.
My client application initializes COM with CoInitializeEx(NULL,
...
|
In-process COM server
Mon, 24 Oct 2005 11:35:34 +0200
Hello I'm writing an inprocess COM server and I compile an .idl file:
midl /app_server Saluda.idl
Then I link the project and get a linker error:
dlldata.obj : error LNK2005: _DllGetClassObject@12 already defined in
ServidorInProcess.obj
dlldata.obj : error LNK2005: _DllCanUnloadNow@0 already defined i ...
|
Implementing ConnectionPoints
20 Oct 2005 07:16:15 -0700
Hi,
I have a DCOM server running as service.
I want my client dll to be notified for certain events by DCOM server.
So i am trying to implement connection points.
DCOM server is created using ATL wizard.Its properties are,
public CComObjectRootEx<CComSingleThreadModel>,
public CComCoClass<CConnPt, &CLS ...
|
Marshall COM interface as free-threaded while in single-threaded apartment
19 Oct 2005 05:09:25 -0700
Hello,
I have a non-creatable object that implements IAdviseSink. I would like
to ship this interface to another process with a call from my
_single-threaded_ apartment. But when this other process calls the
interface, the call should be handled in the _free-threaded_ apartment.
I am currently doing this ...
|
First change exception
Tue, 18 Oct 2005 20:45:22 +0700
Hi all,
I got a question about first chance exception. As my program is gotting is
error.
First-chance exception at 0x77524f16 (ole32.dll) in .... : 0xC0000005:
Access violation reading location 0x00000008.
What kind of exception can be catch with ole32.dll ?
Regards,
Hieu Le
...
|
CoCreateInstance from a DLL for DCOM server
13 Oct 2005 08:30:22 -0700
New to DCOM.
I have a DCOM server which runs as a service (local server).
I have a DLL which talks to this DCOM server and exposes various
functions that are used by other applications.
Applications call initialize function then the other functions and
finally uninitialize.
In this DLL i have a global variab ...
|
SAFEARRAY Issue. ( Elements are not getting in VC client )
12 Oct 2005 02:55:16 -0700
Hi,
i have one safearray of struct containg 3 fields, among these one is
VARIANT field to hold another array of struct. I could create the
arrays but while accessin from client side using SafeArrayAccessData,
the result is getting NULL.
The following is the IDL snippets.
typedef
[
uuid(7C8F5F ...
|
|
|
DDE communicate
Thu, 6 Oct 2005 16:32:04 +0700
Hi all,
I have a question, does DDE working across desktop?
Such as i have a DDE server run on one user desktop, and the DDE Client is
run on another user desktop. Can i communicate between them?
Hieu
...
|
Home Business Opportunity
Tue, 04 Oct 2005 07:03:54 -0700
Ordinary people are making EXTRAORDINARY money WORKING FROM HOME on the Internet! Take Advantage Of Our Free 7 Day Trial, Your Own WebSite, Email, And Hosting, I'll Even Show You How To Get $1000 Of Free Pay Per Click Advertising, Visit: www.megasparks.ws
This message was sent with NNTP Scribbler (www.e-adverti ...
|
Passing COM interface between process
Fri, 30 Sep 2005 15:47:25 +0700
Hi all,
I want to know a way to pass a COM interface from one process to another.
Can it use with DDE?
If not which IPC mechanism can be used?
Thanks,
Hieu
...
|