I have created an ATL Com object which I have packaged up into a .cab
file using the cab wizard supplied with eVC++.

The cab package deploys the dll to the appropriate directory \Windows
and creates the necessary registry entry based on the entry in the
.inf file, however, it does not appear as if the dll is actually been
registered on the device.

Do I need to add further code to my dll in the
DllRegisterServer/DllUnregisterServer functions to correctly
self-register this component.

Any help much appreciated as the example AppInst provided doesnt
explain very clearly what everything does.

Self-Registering ATL COM by Andy

Andy
Mon Sep 08 08:06:35 CDT 2003

Make sure you have a section like:

[DefaultInstall.Arm 1100 (4K) v3.00]
CopyFiles=Files.Arm 1100 (4K) v3.00
CESelfRegister=The_DLL_Name.dll

in your .INF file
Regards,

>-----Original Message-----
>I have created an ATL Com object which I have packaged up
into a .cab
>file using the cab wizard supplied with eVC++.
>
>The cab package deploys the dll to the appropriate
directory \Windows
>and creates the necessary registry entry based on the
entry in the
>..inf file, however, it does not appear as if the dll is
actually been
>registered on the device.
>
>Do I need to add further code to my dll in the
>DllRegisterServer/DllUnregisterServer functions to
correctly
>self-register this component.
>
>Any help much appreciated as the example AppInst provided
doesnt
>explain very clearly what everything does.
>.
>