is it possible for VB to send a function pointer to a C++ DLL and have the DLL call that function?
the VB function is in a standard module and i used this typedef in C++
typedef void (__stdcall *FUNC_PTR)(long);
and i suppose it passes the value right but when i call the function like this
(*callback)(i);
where i have this in the DLL function arguement list
FUNC_PTR callback
is gives one of those illegal operation errors from windows




Reply With Quote