LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Missing prototype

Hi,
when I try to compile my C file, I have the following error mesage : "Missing prototype".
The problem is that CVI doesn't recognize these two functions :
- LaunchExecutableEx
- TerminateExecutable
 
I could use the Recall function panel for these two functions but I can't compile my C file. May I attach a specific file in my project?
 
For your information I already include these header files:
#include <windows.h>
#include <userint.h>  
#include <utility.h>
#include <cvirte.h>
 
Thank for your help.
 
------------------------------------------------------------------
 
Bonjour,
Quand je compile mon fichier C j'obtiens l'erreur suivante:"Missing prototype".
 
CVI n'a pas l'air de comprendre les 2 fonctions suivantes.
- LaunchExecutableEx
- TerminateExecutable
 
Or j'arrive à ouvrir la fonction avec le recall function panel.
Dois-je ajouter un fichier dans mon projet?
 
Pour info j'ai inclu dans mon .C les fichiers suivants:
#include <windows.h>
#include <userint.h>  
#include <utility.h>
#include <cvirte.h>
 
Merci d'avance
0 Kudos
Message 1 of 3
(3,711 Views)

Hello,

The prototypes of these functions are defined in the "utility.h" file (lines 568 and 596 for LabWindows/CVI 8.0). You just have to include this file to your module. You don't have to add any additional file to your project.
The function panels are defined in fp file; there is no reference to the header file. The fact that you can access doesn’t help us.

Verify that the “utility.h” file that is used is the good one (you can do this by right clicking on the "#include <utility.h>" and selecting "Open quoted text" from the LabWindows/CVI text editor). If this is the “utility.h” from LabWindows/CVI, verify that the prototypes of the functions are present in the file.

If these conditions are verified, the compilation should be successful.

 

0 Kudos
Message 2 of 3
(3,681 Views)

Merci.

Effectivement je ne pointait pas sur le bon fichier utility.

J'ai rajouté le path CVI/include dans les include de mon projet

0 Kudos
Message 3 of 3
(3,675 Views)