Re: Bizzare error following change of _export to __declspec(dllexport)

Tech-Archive recommends: Fix windows errors by optimizing your registry



Ta,

Have entered it in and going to try and debug it.

Thanks for your help,

Martin

"David Lowndes" <DavidL@xxxxxxxxxxxxxxx> wrote in message
news:atmd02pm9hk6bmu7fie879cja561vkdtc2@xxxxxxxxxx
Any ideas where I can find out how to debug the registration process of
the
dll?

Martin,

Assuming this is a normal COM registration you're talking about, all
that happens to register it is that it's run like this:

regsvr32 yourdll.dll

Enter that as the command line/parameter in the debugger settings of
the project, and set a breakpoint on your DLL's DllRegisterServer
function - or let it run till it crashes and see if you can determine
why it crashes.

Dave


.



Relevant Pages

  • Re: Creating and using a Windows DLL
    ... > in another Project (Win32 console) in the same solution. ... If it crashes, ... Make your DLL project "active" and ... Build the Debug version, then press F5 and see where it crashes. ...
    (microsoft.public.vc.ide_general)
  • Re: Release build crashes when creating dialog from DLL
    ... the release build crashes when creating a dialog. ... You're not mixing a release build of the EXE with a debug DLL (or ...
    (microsoft.public.vc.mfc)
  • Re: How to connect to children process
    ... Main problem is amount of manual operations required per debug cycle. ... connection to DLL with debugger takes sensible amount of time and manual ... Is the main problem that the debugger keeps symbols file loaded ... AFAIK that's how VS2003 debugger works, but WinDbg should usually ...
    (microsoft.public.vsnet.debugging)
  • Re: running a service/driver/application upon startup
    ... Would it be possible for you to drop a debug services.exe and debug nk.exe ... > I ran dumpbin/exports on the finger dll and saw the required function ... >> theories as to why it's not getting loaded but just doing 'services load ...
    (microsoft.public.windowsce.embedded)
  • Re: technical/OS problem (windows xp?)
    ... Build a debug version of the ISAPI DLL. ... Create a virtual root with execute permissions in the IIS Management ... Add your ISAPI extension or filter DLL to the list. ...
    (alt.marketing.online.ebay)