Enter Keywords:
1 - 10 of 48(0.011 seconds)
Sort By:
 
So far I used to load dlls at load-time therefore compiled my programs with .lib file that linker made when building a dll. Now I've come to a situation when I would like to execute a function in a...
Zones: C++Date Answered: 10/09/1998 Rating: 9.0 Views: 0
I have a DLL with next function exported: __declspec(dllexport) void MainDataPipe(SOCKET ServerSock, SOCKET ClientSock){ In the program I try (with no success): FARPROC temp; temp = GetProcAd...
Zones: Windows ProgrammingDate Answered: 09/05/1999 Rating: 9.0 Views: 0
I fail load proc addresses... I've never used index to load them before, but this time I need it. Win32 SDK say's that the I must specify the number in a low order value, and the high part shoul...
Zones: Delphi ProgrammingDate Answered: 11/18/1999 Rating: 8.2 Views: 0
I want to execute a function from a DLL via Loadlibrary and GetProcAddress.  LoadLibrary works fine but GetProcAddress returns NULL.  Here is my code:       HINSTANCE hLib = LoadLibrary("hotkey.dll")...
Zones: Windows MFCDate Answered: 10/22/2000 Rating: 7.2 Views: 0
I know usually it's the other way around to use VB as an interface and to write the dll in C...  But my situation is reversed...  Is it possible to load a VB ActiveX dll in C? I use LoadLibrary ...
Zones: CDate Answered: 12/23/2003 Rating: 8.0 Views: 0
Hello all; Sorry about the lack of points. All I can say is that I will provide more later. I probably need to purchase some. I always grant "A" for working answers though. I am trying to use...
Zones: C++Date Answered: 01/13/2004 Rating: 8.2 Views: 4
I'm trying to dynamically load a DLL. I call LoadLibrary to get my handle, then I typically use GetProcAddress to assign the function to a variable. However, I need to be able to do it using the kn...
Zones: Delphi ProgrammingDate Answered: 09/24/2004 Rating: 6.0 Views: 0
GetProcAddress is returning null... I am using the latest C++ Builder from CodeGear. There is an API.h and file1.cpp - then I show my output...  no compiling problems - just keep getting nul...
Zones: C++, C++ BuilderDate Answered: 09/17/2009 Rating: 7.2 Views: 49
I'm trying to use up to 3 dll's in an vc6 application. On the end-user's system, not all the dll's will necessarily be installed. I'm using LoadLibrary so the program can proceed as long as at leas...
Zones: Windows MFCDate Answered: 05/26/2006 Rating: 8.2 Views: 480
I know how to load the DLL with LoadLibrary.  The problem is, Visual C++ 4.0 gives me an error no matter what syntax I use to declare the function pointer and to assign the address returned by GetP...
Zones: Windows ProgrammingDate Answered: 02/09/1997 Rating: 8.2 Views: 0