|
-
Apr 23rd, 2001, 01:16 PM
#1
Thread Starter
Frenzied Member
Okay, I've learned all of this in the wrong order. I learned C++ (or GNU C++ for those of you who care), then I dove into VB (like that was hard) and now someone has asked me to port a VB DLL to VC++.
Now that's fun.
Anyway... I've been poring through MSDN's web site all morning looking for one thing or another. My question now is... what is the syntax for calling a DLL from VC++.
In VB I could do the following:
Code:
' InternetSetStatusCallback
Public Declare Function InternetSetStatusCallback Lib "wininet.dll" _
(ByVal hInternet As Long, ByVal lpfnInternetCallback As Long) As Long
Function DoWork
InternetSetStatusCallback(lngVar, lngVar2)
end function
How do I do that in VC++.
Travis, Kung Foo Journeyman
As always, RTFM.
WWW Standards: HTML 4.01, CSS Level 2, ECMA 262 Bindings to DOM Level 1, JavaScript 1.3 Guide and Reference
Perl: Learn Perl, Llama, Camel, Cookbook, Perl Monks, Perl Mongers, O'Reilly's Perl.com, ActiveState, CPAN, TPJ, and use Perl;
YBMS, but Mozilla doesn't.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|