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

    Question Registering and Using the DLL

    Hi,

    I have a DLL file. When i try to add a reference of it through Project -> Add REference, it says "Can't add a reference to the specified file". and when i try to register it through regsvr32, it displays an error

    "CHPSL.Dll was loaded, but hte DLLRegisterServer entry point was not found. DLLregsiterServer may not be exported, or a corrupt version of CHPSL.dll may be in memory. Consider using PView to detect and remove it."

    I have all the dependent files register on my computer which this DLL requires.

    Pls let me know how can i use this DLL.


    Thanks
    Sangeet

  2. #2
    Join Date
    Feb 2000
    Posts
    440
    First of all, are you sure that this is a COM dll.
    use the dependency walker to see if it really exports the DLLRegisterServer function.

  3. #3
    Join Date
    Oct 2003
    Posts
    2
    Hi,

    I dont think that it is a COM Dll. Becuase it really dont export the DLLREgisterServer Method. But now how can i use that dll in my VB program i.e NON COM dll


    Sangeet

  4. #4
    Join Date
    Jan 2003
    Location
    7,107 Islands
    Posts
    2,487
    Check the Declare statement. But I'm afraid that you should know the author's documentation for the function that you are going to use.
    Busy

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