CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 6 of 6
  1. #1
    Join Date
    May 1999
    Posts
    2

    Trouble registring my dll

    I have trouble to register my dll in an NT-server. With regsvr32 i get an error message.

    How do I do?

    Regards Mike


  2. #2
    Join Date
    May 1999
    Posts
    12

    Re: Trouble registring my dll

    Check out whether you have implemented and exported the DllRegisterServer() in your dll if so
    check out the version of the mfc dlls in the system if the version in which you built your dll and the one
    present in the system then the dll won't register. so put all the mfc dlls in which you built your dll
    and also your dll in that directory itself and then register it.




  3. #3
    Join Date
    May 1999
    Posts
    35

    Re: Trouble registring my dll

    Did you unregister previous version of DLL.Some time it happened.Your registry entry still pointing to old dll location.And if that dll got deleted you may found some trouble.
    Hope this will help you.

    ksheeraj

    39639,Leslie St.
    Apt #157
    Fremont USA 94538

  4. #4
    Join Date
    May 1999
    Location
    Seattle, WA USA
    Posts
    423

    Re: Trouble registring my dll

    what is the error message? If it just gives you an error number, use the error lookup tool in the Visual Studio IDE to get the associated error text. The error messages are actually useful sometimes ;-)

    --michael


  5. #5
    Join Date
    May 1999
    Location
    Toronto, Ontario, Canada
    Posts
    155

    Re: Trouble registring my dll

    1) Make sure you export DllRegisterServer (in the .DEF file)
    2) DllRegisterServer returns NOERROR
    3) Check that all your 'statically' linked libraries are in the system

    -Safai

  6. #6
    Join Date
    May 1999
    Posts
    2

    Re: Trouble registring my dll

    hi,

    i had some problem in win95 before,

    at my case,
    i just find out mfcrt.dll
    is not compatiable version

    result:
    the latest copy *.dll may not backward compatiable when i use win98.
    regards



    Mobile Gundam Suit

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured