"Harry Whitehouse" <ha***@envmgr.com> wrote in message
news:uR**************@tk2msftngp13.phx.gbl...
I just wanted to confirm this for WIN32 projects in VC++ 2003.
It looks like you need to reference functions in 3rd party DLL's (C-based)
by building a LIB file as described here:
http://support.microsoft.com/default...;EN-US;q131313
Am I wrong in my assumption?
Well, that's not strictly true.
Certainly, when developing unmanaged components that is the easiest way to
go. But, there is nothing to stop you from calling the target functions
through a pointer by means of an explicit load of the 3rd party DLL with
LoadLibrary(), and finding the entry points of the functions with
GetProcAddress(), and calling the functions through the returned pointer,
and finally finishing some time later with FreeLibrary(). This can get
tedious in a hurry.
If you are developing managed components, you can use the services provide
by Platform Invoke. I'd explain, but I don't think that's what you are up
to. If so, just holler.
Regards,
Will