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++.