Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
platform
active.directory
adsi
adsi.iis-admin
base
com_ole
complus_mts
component_svcs
database
directx
gdi
graphics_mm
internet.client
internet.server
internet.server.isapi-dev
localization
mapi
messaging
msi
mslayerforunicode
multimedia
networking
networking.ipv6
sdk_install
security
shell
telephony.tapi_2
telephony.tapi_3
telephony.tsp
telephony.wte
tools
ui
ui_shell
win_base_svcs
win16
  
 
date: Fri, 18 Nov 2005 09:23:03 +0100,    group: microsoft.public.platformsdk.com_ole        back       


Is there a name for helper-dlls that only register type libraries?   
Hello,

I work on a project that will be shipped to customers one day, but I
don't want to give out any sources.
One approach to make the interfaces available to them is to build
special server dll's that house no coclasses
but implement Dll[Un]RegisterServer. This way our customers only need to
#import these dll's and have access
to all necessary interfaces. Is this technique common? Is there a name
for this technique that is known in
COM society?

Thanks in advance,
Stuart
date: Fri, 18 Nov 2005 09:23:03 +0100   author:   Stuart Redmann

Re: Is there a name for helper-dlls that only register type libraries?   
The typelibrary holds this information.

/Helge
date: Fri, 18 Nov 2005 12:41:09 +0100   author:   Helge Kruse

Re: Is there a name for helper-dlls that only register type libraries?   
Helge Kruse wrote:
> 
> The typelibrary holds this information.
> 
> /Helge

Okay, but my question is about how I distribute the type library. One
would be to ship a .tlb-file, but I prefer to ship the type library as
DLL. Is there a widely known name for such a kind of DLL that contains
only type libraries?
date: Fri, 18 Nov 2005 14:48:46 +0100   author:   Stuart Redmann

Re: Is there a name for helper-dlls that only register type libraries?   
Helge Kruse wrote:
> 
> The typelibrary holds this information.
> 
> /Helge

Okay, but my question is about how I distribute the type library. One
would be to ship a .tlb-file, but I prefer to ship the type library as
DLL. Is there a widely known name for such a kind of DLL that contains
only type libraries?
date: Fri, 18 Nov 2005 14:48:55 +0100   author:   Stuart Redmann

Re: Is there a name for helper-dlls that only register type libraries?   
See regtypelib.

If you want to ship a DLL, change the extension from TLB to DLL. regtypelib 
doesn't care.

Brian

"Stuart Redmann"  wrote in message 
news:437DDBC7.F0D2B2B7@web.de...
> Helge Kruse wrote:
>>
>> The typelibrary holds this information.
>>
>> /Helge
>
> Okay, but my question is about how I distribute the type library. One
> would be to ship a .tlb-file, but I prefer to ship the type library as
> DLL. Is there a widely known name for such a kind of DLL that contains
> only type libraries?
date: Fri, 18 Nov 2005 08:13:27 -0800   author:   Brian Muth

Re: Is there a name for helper-dlls that only register type libraries?   
You can call it advertising, or stub DLL.

In addition you can implement DllGetClassObject to show some advertising 
message when a class object is requested.

Microsoft Office works that way.

If you want to make your customers life easy, you can provide some dummy 
interface implementation which will, for example, write name of the function 
called to log. It will give possibility not only to import and compile, but 
also to run and test using this dummy dll.

"Stuart Redmann"  wrote in message 
news:437D8F67.F9775712@web.de...
> Hello,
>
> I work on a project that will be shipped to customers one day, but I
> don't want to give out any sources.
> One approach to make the interfaces available to them is to build
> special server dll's that house no coclasses
> but implement Dll[Un]RegisterServer. This way our customers only need to
> #import these dll's and have access
> to all necessary interfaces. Is this technique common? Is there a name
> for this technique that is known in
> COM society?
>
> Thanks in advance,
> Stuart
date: Sun, 20 Nov 2005 11:30:18 +0200   author:   Max please@newsgroup

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us