Search found 1 match

by ymaksyuta
Fri Dec 22, 2006 6:00 am
Forum: OptiTrack SDK
Topic: Minimal necessary C++ code for using device.
Replies: 5
Views: 11776

Re: Minimal necessary C++ code for using device.

minimal code using connection points. but infinite message loop! #include <windows.h> #include <atlbase.h> #include <atlcom.h> #include <conio.h> #import "optitrack.tlb" #include "optitrack.h" #define CALL( x ) _cprintf("%s: "#x"\n", ((x)==S_OK) ? "passed" : "FAILED"); // --- ATL initialization --- ...