In C++, I can call a function in dll like this:
hModule = LoadLibrary(szDllName);
pfnProc = (FARPROC*)GetProcAddress(hModule, szProcName)
pfnProc();


But in vb, can I call a function like above.(through a function pointer from a GetProcAddress call.)