Link to home
Start Free TrialLog in
Avatar of thomasschmidt
thomasschmidt

asked on

Using external DLL's

I am quite new to MFC, i usually program in Visual Basic. In VB it is very easy to use external dll's, you just need the dll and you need to know which functions the dll implements. But how do you use external dll's in MFC, do you need the .h and the .lib file for the dll in order to use it in your program?? And does the dll have to be a MFC dll?? I've heard something about LoadLibrary, but wouldn't know exactly how to use it! I mean if you can do it in BV without .h and .lib files surely you can do it MFC without those files! btw, i am using VC++ 6.0!

Of course some sample code would be nice!
ASKER CERTIFIED SOLUTION
Avatar of rwilson032697
rwilson032697

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of thomasschmidt
thomasschmidt

ASKER

That has got to be the weirdest declaration i have ever seen ;-)! Is that the way it works in MFC??? It looks understandable now all i have to do is try it!

Thanks