First let me give you a detail of my tasks. I am writing a dll to connect between C++ and Labview. C++ program is a voice regnition engine and LabView is to control Digital Oscillope via GPIB card. Once my C++ program(voice renigtion engine) recongine the command,it needs to send the command( it's simply represented by number only)to Labview interface and perform action.I have sent you a question before for asking what approaches will be the best to deal with this problem and i got the reply is using dll approaches. i have followed the notes and example program to learn it. Now, I have written a test program(which is simply a I/O program),dll ( using C++ too)and labview program. In LabView program, it d0oesnt have problem so far, however, it occ
urs problem in dll and test program. In building dll, i need to include the header file of test program inside "stdafx.h". However, i got compilation error, "unexpected end of file while looking for precompiled header directive" pointed to the last line of my included test program( i made the project as win32 dynamic-link library) .
so what is the problem? my export function in dll and all code in test program is VERY simple. I really dont konw what's going on with it.
I got the other problem is my recognition engine will update the parameter(command to labview) time to time, however I cant rebuild the dll every min, right? so the command (which is in the export function)will not be updated once i build the dll, is that right? then how to deal with this problem? Sorry for my pool engish, but thx for your patient reading my question. I am looking forward to your command and suggestion. Thanks!