04-29-2004 05:36 PM
05-11-2004 07:37 AM
http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/c6e2279078deabdc86256896005d8f02?OpenDocument
You didn't say that you was trying to use callbacks or anything, so the application note might be a little over the top.
Essentially, you need your dllmain as per the Insert Construct -> dllmain one
and make sure you export the appropriate functions (I normally use the include header file method. THen when you make the .dll, you have the .h you can use in c++ and the .lib file (make sure it's made the Microsoft C++ compatible one).
That should be all you really need.
Thanks
Sacha Emery
National Instruments (UK)