LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Source code file getting over written after editing uir

I have a standalone exe project using the user interface LabWindows CVI 6.0.

 

Lately when I edit the UIR file, my .c file gets overwritten with the following data.

 

#pragma pack(4)
typedef struct {char *name; void *address; unsigned long isFunction:1; unsigned long reserved:31;} ExeSymbol;
int __cdecl EditTableDataEvent (int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int __cdecl FileCancel (int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int __cdecl GetFileStat (int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int __cdecl aboutCompanyInit (int panel, int event, void *callbackData, int eventData1, int eventData2);
int __cdecl aboutExit (int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
void __cdecl calLoad (int menuBar, int menuItem, void *callbackData, int panel);

.

.

.

 

In my project, my source code file is the same name as my UIR, i.e., fileName.prj, fileName.c, fileName.uir.

 

I have had to change my source code name to avoid loseing data.  This only started happening recently.

0 Kudos
Message 1 of 2
(2,818 Views)

This kind of content is usually found in the file generated for external compiler support of the .uir.

You can change this behaviour in selecting Build/External compiler support in CVI IDE.

 

Best regards,

Nicolas

Message Edité par NicoLeach le 09-04-2008 11:18 AM
0 Kudos
Message 2 of 2
(2,797 Views)