Windows XP X86 Problem with CL-Eye-Platform-SDK-1.0.0.1229
Posted: 30 December 2009 03:39 AM   [ Ignore ]
Jr. Member
Avatar
RankRank
Total Posts:  40
Joined  2009-12-28

Hi Alex,

I am really excited about the release of your new SDK at Code Laboratories, this will mean so much to many people.

I have installed both the new CL-Eye-Driver-4.0.0.1223 and CL-Eye-Platform-SDK-1.0.0.1229 on the Latest version of Windows 7 x86. I am happy to report that both the CLEye Test and the CLEyeMulticamTest work perfectly without any problems.

However when I try install on Windows XP x86 the CLEye Test program works, but the CLEyeMulticamTest programs will not work. I keep getting the error “The procedure entry point GetThreadId could not be located in the dynamic link library KERNEL32.dll”.
Attached is a screenshot of the error.

I am no expert in programming and I was trying to locate some information on the problem before contacting you….I noticed at the Windows Dev Center that the “GetThreadId” function was only supported by Windows Vista and Higher. Here is the link:
MSDN Library

I am not sure exactly if this has anything to do with the problem ( maybe it is my XP Setup) but I thought it might help you in some way. I have tried Installation on 2 fully updated Windows XP X86 machines with no success.

Thanks for your help,
Alan

Image Attachments
error-screenshot.jpg
 Signature 

“Strive for perfection in everything you do. Take the best that exists and make it better. When it doesn’t exist, design it, build it and Open Source it!” http://www.alangunning.com

Profile
 
 
Posted: 30 December 2009 04:23 AM   [ Ignore ]   [ # 1 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  585
Joined  2009-09-17

Gunning,

Thank you for the information. Good catch… Lol… No wonder, even Microsoft doesn’t want to support XP anymore.
In any case, this error due to GetThreadId() function use in the C++ Multicam sample.
I used it to randomize srand even more since it has to be called per thread instance.
Take a look at the file CLEyeMulticamTest.cpp on the line 96 and simply change it from this:
  srand(GetTickCount()+GetThreadId(GetCurrentThread()));
to this:
  srand(GetTickCount());

Recompile the program and should work fine on your XP system.

AlexP

Profile
 
 
Posted: 30 December 2009 05:34 AM   [ Ignore ]   [ # 2 ]
Jr. Member
Avatar
RankRank
Total Posts:  40
Joined  2009-12-28

Hi Alex,

Thanks for your fast reply!

I changed line 96 exactly as you said….I’m happy to report back that the C++ Multicam sample program is now working perfectly!!! grin

I hope others with the same problem will be able to learn from this thread wink

Thanks again!!!
Alan

 Signature 

“Strive for perfection in everything you do. Take the best that exists and make it better. When it doesn’t exist, design it, build it and Open Source it!” http://www.alangunning.com

Profile
 
 
Posted: 30 December 2009 07:56 PM   [ Ignore ]   [ # 3 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  585
Joined  2009-09-17
Gunning - 30 December 2009 05:34 AM

Hi Alex,

Thanks for your fast reply!

I changed line 96 exactly as you said….I’m happy to report back that the C++ Multicam sample program is now working perfectly!!! grin

I hope others with the same problem will be able to learn from this thread wink

Thanks again!!!
Alan

We will update the next version of the SDK to address this issue. Thanks again.

AlexP

Profile
 
 
Posted: 20 December 2011 02:43 PM   [ Ignore ]   [ # 4 ]
New Member
Rank
Total Posts:  1
Joined  2011-12-20

i downloaded CL and continues to pop up as error and says to report to windows i report but it still does not work please reply back

Profile
 
 
 
 


RSS 2.0     Atom Feed