Custom Resources when creating component

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
 
K

KM

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.
 
M

ms

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
 
M

ms

Hi Km,

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

Regards
ms
 
K

KM

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top