Re: problem: DllImport a C function returning opaque pointer

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Kurt Ng (hsng_at_excite.com)
Date: 02/04/04


Date: Wed, 4 Feb 2004 11:06:25 -0800

Great! This advice really helped. Dumpbin showed that the function at
fault had no entry point. that function was actually wrapping a different
function; the documentation that I have did not mention this. I have the
correct function imported now. Thanks very much. :)

Kurt

"Justin Rogers" <Justin@games4dotnet.com> wrote in message
news:%23AbMkps6DHA.1556@tk2msftngp13.phx.gbl...
> You should use your DumpBin /exports to find out if your function names
properly
> match with those
> in the dll and make sure the function prototypes really do match.
>
>
> --
> Justin Rogers
> DigiTec Web Consultants, LLC.
> Blog: http://weblogs.asp.net/justin_rogers



Relevant Pages

  • Re: Forcing A Symbol Into A DLL
    ... symbols, search for the symbol of interest with a text editor, and you'll ... Dumpbin is in C:\Program Files\Microsoft Visual ... In VC6, you can embed the link parameter in one of your source files, like ... > briefly explained in the MS documentation, however, true to the typical MS ...
    (microsoft.public.vc.language)
  • Re: Coupling Fortran Code with Simulink
    ... or "Dependency Walker" GUI application. ... The use of dumpbin seems to give me poor results: ... File Type: EXECUTABLE IMAGE ... I hope this group could help me, because I looked for documentation on ...
    (comp.lang.fortran)
  • Re: objdump tool?
    ... I looked at some of the CE documentation and stumbled across this list of ... utilities (that includes dumpbin), which might come in handy later on. ... "Silver" wrote: ...
    (microsoft.public.windowsce.embedded)
  • Re: Unsigned 32 bit
    ... I'm using dumpbin to look at a VB compiled ActiveX ... It has nothing at all in it, just a SAMPLE class ... and a bunch of JMPs all over everywhere. ... export entry, each file information position, etc. ...
    (microsoft.public.vb.general.discussion)
  • getaddrinfo in XP,9x,etc - how?
    ... states that the function is compatible on client OS's all the way back to Win95. ... dumpbin on ws2_32.dll in an XP system shows that the function's entry point is ... Is there a way to make getaddrinfo work on systems that precede ...
    (microsoft.public.win32.programmer.networks)