- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
For some reason the PXC3DScan scan object, runs successfully only inside a windows thread.
// This does not work:
//do_real_sense();
//This does work:
int data = 0;
HANDLE h = CreateThread(0, 0, do_real_sense, NULL, 0, 0);
HANDLE Array_Of_Thread_Handles[1];
Array_Of_Thread_Handles[0] = h;
WaitForMultipleObjects(1, Array_Of_Thread_Handles, TRUE, INFINITE);
CloseHandle(h);
This has to be a windows thread, standard C++ threads don't work. In addition the scan quality in C++ is not as good as the C# code (identical pieces of code). Any one has an idea why?
Kind regards,
Elias.
Link Copied
0 Replies

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page