Re: Simple question about dllimport
- From: "Victor Bazarov" <v.Abazarov@xxxxxxxxxxxx>
- Date: Fri, 28 Apr 2006 10:09:28 -0400
Michael C wrote:
I've got a h file for a usb device that has definitions
declarations
of function
exported
imported (apparently)
from a dll. An example would be (with #defines translated):
extern "C" __declspec(dllimport) int __stdcall FT_Open(int
deviceNumber, int *pHandle);
but where is the actual dll filename specified so my program knows
where to find it?
That should be resolved during linking. Your project needs to have
the "export library" of that DLL supplied in the linker inputs.
V
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask
.
- Follow-Ups:
- Re: Simple question about dllimport
- From: Michael C
- Re: Simple question about dllimport
- References:
- Simple question about dllimport
- From: Michael C
- Simple question about dllimport
- Prev by Date: Simple question about dllimport
- Next by Date: Re: Simple question about dllimport
- Previous by thread: Simple question about dllimport
- Next by thread: Re: Simple question about dllimport
- Index(es):
Relevant Pages
|