🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.ms.programmer
Article #226

GetProcAddress problem

#226
From: Paul B Hill
Date: Wed, 08 Apr 1992 15:19
12 lines
1180 bytes
I'm having a problem using GetProcAddress. I have some callback functions which
use GetProcAddress to obtain the entry point for some functions in a DLL. The
first time I make the call I am able to get the entry point. A short time later I
use the call again, to the same DLL but for a different function within it. This
time GetProcAddress returns NULL. Both functions seem to be properly exported in
the DLL, looking at the def module and using newexe.exe on the DLL. Also the
callback functions are exported. I have tried changing the order of the export
statements to no avail.

The code only fails under Windows 3.0, it works under Windows 3.1 final beta.

Any hints on what errors I should be looking for or a possible workaround?
Technical Details
Message-ID: <1992Apr8.151901.12182@athena.mit.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!snorkelwacker.mit.edu!bloom-picayune.mit.edu!athena.mit.edu!pbh

Show Full Headers
Complete Article Headers
Newsgroups: comp.windows.ms.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!snorkelwacker.mit.edu!bloom-picayune.mit.edu!athena.mit.edu!pbh
From: pbh@athena.mit.edu (Paul B Hill)
Subject: GetProcAddress problem
Message-ID: <1992Apr8.151901.12182@athena.mit.edu>
Sender: news@athena.mit.edu (News system)
Nntp-Posting-Host: finn.mit.edu
Organization: Massachusetts Institute of Technology
Date: Wed, 8 Apr 1992 15:19:01 GMT
Lines: 12