COM DLL Server help
-
Dear all, I m new to COM world, having basic knowledge about it. I have to redesign a simple DLL project to COM DLL Server so that it can incorporate with existing application with least changes. What kind of approach i have to follow in order to complete this task ... Waiting for your suggestion ... Thanks..
"I only fail when i give up "
-
Dear all, I m new to COM world, having basic knowledge about it. I have to redesign a simple DLL project to COM DLL Server so that it can incorporate with existing application with least changes. What kind of approach i have to follow in order to complete this task ... Waiting for your suggestion ... Thanks..
"I only fail when i give up "
Basically you want to write a COM wrapper around a Simple win32 Dll isnt it? Does this Simple win32 dll contains exported Classes? or simple C functions? Cheers, Suresh
-
Basically you want to write a COM wrapper around a Simple win32 Dll isnt it? Does this Simple win32 dll contains exported Classes? or simple C functions? Cheers, Suresh
Thanks for your kind reply ... Yes a COM wrapper around a Simple win32 Dll. This win32 dll contains exported simple functions ... Is this a fine approach or should i have start a project from start having all those functions of exported Classes in COM Server Dll. Thanks...
"I only fail when i give up "
-
Thanks for your kind reply ... Yes a COM wrapper around a Simple win32 Dll. This win32 dll contains exported simple functions ... Is this a fine approach or should i have start a project from start having all those functions of exported Classes in COM Server Dll. Thanks...
"I only fail when i give up "
Yeah, the approach is fine, but remember to distribute both the DLL's when you are publishing your application. Cheers, Suresh
-
Thanks for your kind reply ... Yes a COM wrapper around a Simple win32 Dll. This win32 dll contains exported simple functions ... Is this a fine approach or should i have start a project from start having all those functions of exported Classes in COM Server Dll. Thanks...
"I only fail when i give up "
Can anyone please help me or give me some sample code? I need to create an ATL COM service (not a DLL) which has a dummy interface.. say. add 2 numbers.. After creating the service, i want to register it as a windows service. Then i want to create a client which connects to this service and uses the interface.. (adds 2 numbers) I have searched online and there is not a decent article which explains the process step by step... Any help in this regard will be very useful. Thanks in advance!!!!
-
Yeah, the approach is fine, but remember to distribute both the DLL's when you are publishing your application. Cheers, Suresh
Hi, Want to ask one more thing.. I have loaded the Admin.dll in my COM dll server. Is it possible that i can marshal pointer of my custom class from DLL Server to client for some specific processing or may u plz suggest any other possible approach for this case. Thanks.
"I only fail when i give up "