11-17-2014 10:34 AM
i had made the following code:
#include "extcode.h"
#pragma pack(push)
#include "SharedLib.h"
#include <ansi_c.h>
#include <userint.h>
#pragma pack(1)
#include <stdio.h>
#include <cvirte.h>
#include <windows.h>
#ifdef __cplusplus
extern "C" {
#endif
static int panelHandle;
int main (int argc, char *argv[])
{
if (InitCVIRTE (0, argv, 0) == 0)
return -1; /* out of memory */
if ((panelHandle = LoadPanel (0, "IOLOGIC-dll-TCP-IP.uir", PANEL)) < 0)
return -1;
DisplayPanel (panelHandle);
RunUserInterface ();
DiscardPanel (panelHandle);
but when debugging i had always the following errors
why i'm getiing indeclared identifier "PANEL"
11-17-2014 12:02 PM
When you create an user interface this results in two files, the UI file and a corresponding include file which you should include in your code...
#include "IOLOGIC-dll-TCP-IP.h"
11-25-2014 07:12 AM
Hey SASA1,
have you been able to resolve the issue?