1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
| #include "conio.h"
#include <stdlib.h>
#include <stdio.h>
#include "bgapi.hpp"
int main()
{
//DECLARATION
int system_count = 0;
int camera_count = 0;
BGAPI::System * pSystem = NULL;
BGAPI::Camera * pCamera = NULL;
BGAPI::Image * pImage[20];
BGAPI::TraceObject * traceObj = NULL;
BGAPI_RESULT res = BGAPI_RESULT_FAIL;
res = createImage( &pImage[i] );
if( res != BGAPI_RESULT_OK )
{
printf("BGAPI::createImage for Image %d returned with errorcode %d\n", i, res );
break;
}
}
printf("4.1.8. Images created successful!\n");
return 0;
} |
Partager