DLL Register Error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mafaisal
    New Member
    • Sep 2007
    • 142

    DLL Register Error

    Hello Experts,

    I am Creating DLL using VB.net2005. When we register that DLL the Following Error is Coming

    " FaisalDLL.Dll was Loaded, but the DLLregister server Entry Point was not Loaded"

    [IMG]C:\Documents and Settings\SOFTWA RE\My Documents\My Pictures\DLLErr or.bmp[/IMG]

    Plz

    Faisal
  • Shashi Sadasivan
    Recognized Expert Top Contributor
    • Aug 2007
    • 1435

    #2
    Originally posted by mafaisal
    Hello Experts,

    I am Creating DLL using VB.net2005. When we register that DLL the Following Error is Coming

    " FaisalDLL.Dll was Loaded, but the DLLregister server Entry Point was not Loaded"
    Faisal
    Hi Faisal,
    Is your DLL file copied into your bin folder?
    In this case try to delete the reference and copy it into your bin folder and register it from that location

    Comment

    • mafaisal
      New Member
      • Sep 2007
      • 142

      #3
      Hi shashi

      I try That Before, But same Error is Coming
      I also try to register by copy into system32 and in run Regsvr32 but same

      when we create using vb6 no problem, that is register successfully
      i don't know why this error is coming in .net

      Another is if we create a dll using vb6, is any problem that dll use in vb.net2005
      i did not try but just ask...?

      Faisal


      Originally posted by Shashi Sadasivan
      Hi Faisal,
      Is your DLL file copied into your bin folder?
      In this case try to delete the reference and copy it into your bin folder and register it from that location

      Comment

      • Plater
        Recognized Expert Expert
        • Apr 2007
        • 7872

        #4
        .NET DLLs are much different then COM DLLs.
        Have you gone through all the COMVisible stuff for your DLL?
        Do you have the DLL Entry Points all set up inside your DLL code?

        Comment

        • mafaisal
          New Member
          • Sep 2007
          • 142

          #5
          Hello Plater,

          Thanx for reply
          Wat is the DLL Entry point, I dont Understand That,
          How to set that
          I Create DLL in .net as open the Project Class Library, and I code in that Classe
          some commonly used functions and Procedures. How to set in code DLL entry point, Plz Give me an eg:

          Faisal

          Originally posted by Plater
          .NET DLLs are much different then COM DLLs.
          Have you gone through all the COMVisible stuff for your DLL?
          Do you have the DLL Entry Points all set up inside your DLL code?

          Comment

          • Plater
            Recognized Expert Expert
            • Apr 2007
            • 7872

            #6
            Hmm, it seems that the entry point is for making COM DLLs usable in .NET.


            I am not sure you register your .NET dlls like COM dlls. I think you register them with that global assembly cache thing (gacutil.exe ?)

            Comment

            Working...