Custom Resources when creating component

  • Thread starter Thread starter ms
  • Start date Start date
M

ms

Hi,

When does one know what custom resources to add to say a third party
application that is
being made into a component. I would use the resource monitoring tools
InCtrl5, filemon
regmon and depends to get all my file and registry entries but how do i
know if need to
add FBA DLL/COM registration, Service data FBA Generic command. Any advice
on this
would be appreciated.

Regards
ms
 
ms,

This is easy. You obviously want to use FBA DLL/COM registration on com server Dlls (the ones you would registrer with
regsvr32.exe).
To know whether a dll is a COM server or not, explore its export. If it has functions like "DllCanUnloadNow, DllGetClassObject,
DllRegisterServer, DllUnregisterServer", it is a COM object implemetation that needs to be register in registry (either manually, or
with regsvr32). For those you can certainly use FBA DLL/COM resource.
 
Hi KM,

Thanks for this, how do i explore the export of a DLL though?

Regards
ms
KM said:
ms,

This is easy. You obviously want to use FBA DLL/COM registration on com
server Dlls (the ones you would registrer with
regsvr32.exe).
To know whether a dll is a COM server or not, explore its export. If it
has functions like "DllCanUnloadNow, DllGetClassObject,
DllRegisterServer, DllUnregisterServer", it is a COM object implemetation
that needs to be register in registry (either manually, or
 
Hi Km,

Just one other thing, how do i know if i require Service data for my
component.

Regards
ms
 
ms,

That would be required if your component includes a Win32 service (e.g., ServiceMain, ServiceEntry entrypoint there, but not
required for exe services) or a software driver service (you must know if your have a driver in your software).
Basically, if you see any registry setting from your software under [HKLM\SYSTEM\CurrentControlSet\Services] you have probably got a
service.
 
Back
Top