0

I have the following problem: I've created client DLL with all needed callback functions (DriverOpen, DriverClose etc.). But they are not called, and I, actually, don't know why. Test dll vdping is working fine. May be the thing is I use VS2010 to build that DLL? Or should I use any specific compiler or link flags?

Gilles 'SO- stop being evil'
  • 104,111
  • 38
  • 209
  • 254
Ov3r1oad
  • 1,057
  • 1
  • 12
  • 25
  • what does it mean 'they are not called'? Did you export those functions from the dll? Use __declspec(dllexport) – dousin Dec 26 '13 at 16:27
  • @dousin Is it equivalent of .def files? – Ov3r1oad Dec 27 '13 at 12:19
  • in general yes, but note, it is possible to export 'extern "C"{}' methods, since exact match is needed between method name and the name in def file. So, useless for mangeled names. Check this: http://stackoverflow.com/questions/366228/def-files-c-c-dlls – dousin Dec 27 '13 at 13:43

0 Answers0