Thread: Wierd 2005 error.

  1. #1
    Bioport Productions
    Join Date
    Oct 2005
    Posts
    215

    Wierd 2005 error.

    I'm getting a crazy error when I try to run my program on Visual Studio 2005 Pro. It happens when it tries to load a function from a dll:

    Code:
    The Procedure entry point ?GetHostIP@ZeroNet@@blah blah could not be located in the dynamic link 
    library Zero-NetAnalysis.dll
    Everything builds fine, it only happens when I execute the program. Taking out the line that calls that function fixes the problem.

    The DLL was first made with .NET 2003 and they made some crazy changes to 2005 so that might be the problem. Anyone ever heard of this?
    Last edited by durban; 11-09-2005 at 04:04 AM.
    -"What we wish, we readily believe, and what we ourselves think, we imagine others think also."
    PHP Code:
    sadf 

  2. #2
    Unregistered User
    Join Date
    Sep 2005
    Location
    Antarctica
    Posts
    341
    is the DLL in the same directory as the exe? Was the function exported using extern "C"? Are you declaring it for import with extern "C" as well?

  3. #3
    Bioport Productions
    Join Date
    Oct 2005
    Posts
    215
    yea, everything was correct. I got it working by restarting VS.. 2005 bug I guess.. =\
    -"What we wish, we readily believe, and what we ourselves think, we imagine others think also."
    PHP Code:
    sadf 

  4. #4
    Unregistered User
    Join Date
    Sep 2005
    Location
    Antarctica
    Posts
    341
    Is that version still in beta? I hear that one will bring template style programming to C#, have you used that at all yet?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Getting an error with OpenGL: collect2: ld returned 1 exit status
    By Lorgon Jortle in forum C++ Programming
    Replies: 6
    Last Post: 05-08-2009, 08:18 PM
  2. Another syntax error
    By caldeira in forum C Programming
    Replies: 31
    Last Post: 09-05-2008, 01:01 AM
  3. Quantum Random Bit Generator
    By shawnt in forum C++ Programming
    Replies: 62
    Last Post: 06-18-2008, 10:17 AM
  4. Post...
    By maxorator in forum C++ Programming
    Replies: 12
    Last Post: 10-11-2005, 08:39 AM
  5. pointer to array of objects of struct
    By undisputed007 in forum C++ Programming
    Replies: 12
    Last Post: 03-02-2004, 04:49 AM