Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
End Users
Pocket PCActiveSyncMultimediaEBooksWirelessSmartPhones
Developers
Windows MobileSmartPhonesWinCE ProgrammingVB for WinCEVC++ for WinCEPlatform BuilderTest Tools
PocketPC DirectoryFree SoftwareWeb Resources
Related Topics
PalmMobile PhonesMore Topics ...

Pocket PC Forum / Developers / Test Tools / February 2010

Tip: Looking for answers? Try searching our database.

Toolhelp32 on OMAP 3530

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
macgrr - 02 Feb 2010 18:20 GMT
I created an application on an ATMEL device that uses Toolhelp32 to
print out the running processes and their threads. This code should be
platform independent, because it uses the Toolhelp32 tools and is not
dependent on the ATMEL platform in any way.

When compiling the code and running on the OMAP 3530, I get good
output for all the processes, but the thread output is garbage. All
the thread IDs are the same, and all the owner processes are wrong.
Further investigation shows that an ERROR_INVALID_PARAMETER occurs
when calling Thread32First() and Thread32Next(). All my parameters for
this function are valid, I'm 100% sure on this.

Is there code in the OAL which is required to support the
ThreadEntry32 structs? It seems that when taking a snapshot of the
system, that I am not getting any valid thread information back.

Thanks in advance for any help.
Bruce Eitman [eMVP] - 03 Feb 2010 13:39 GMT
> All my parameters for
> this function are valid, I'm 100% sure on this.

While you may be correct, such certainty which ignores the evedence facing
you sometimes is the problem.

You don't tell us anything about the OS versions for the two devices.  You
don't say that you included ToolHelpAPI in your OS for both projects.

Signature

Bruce Eitman (eMVP)
Senior Engineer
Bruce.Eitman AT Eurotech DOT com
My BLOG http://geekswithblogs.net/bruceeitman

Eurotech Inc.
www.Eurotech.com

>I created an application on an ATMEL device that uses Toolhelp32 to
> print out the running processes and their threads. This code should be
[quoted text clipped - 13 lines]
>
> Thanks in advance for any help.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2010 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.