Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win


Toolhelp functions in Windows CE (Visual C++)

Posted on 1998-11-22
Medium Priority
Last Modified: 2013-12-03

I'm working on a Windows CE app and I would like know if anyone knows how to reach the toolhelp functions when making a wce program (in Visual C++ 5.0). In Win95 one has to get a handle for "KERNEL.DLL". What is the CE version of that?
In some documentation it says that the toolhelp functions not are usable in WinCE but newer documentation (in MSDN) says that if you are making a program for WCE version 2.0 or later it works. The question is how.

I would be most greatful for an answer to this question.


Question by:kallekalle
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2

Author Comment

ID: 1416245
Edited text of question
LVL 12

Expert Comment

ID: 1416246
They are declared in TLHelp32.h. Just use them like any other API call.

Author Comment

ID: 1416247
That does not work at all.
I wish it was that easy.

Veeam Task Manager for Hyper-V

Task Manager for Hyper-V provides critical information that allows you to monitor Hyper-V performance by displaying real-time views of CPU and memory at the individual VM-level, so you can quickly identify which VMs are using host resources.


Author Comment

ID: 1416248
Adjusted points to 250

Author Comment

ID: 1416249
Of course you have to include "TLHelp32.h", but one also has to get hold of a handle for "kernel32.dll" or something like that to get the functionality of the functions.

Example of what I want to know in my program: how do I get the current processes running on the machine? How much memory are in use?
LVL 12

Expert Comment

ID: 1416250
I don't understand why you think you need this handle. the API call doesn't need it...

Accepted Solution

ATucker earned 750 total points
ID: 1416251
Windows CE does not have a kernel32.dll, only a coredll.dll.  

Regardless, the ToolHelp functions are implemented in toolhelp.dll, which is included in ROM on some devices and always available from the VCCE toolkit.  Just link against toolhelp.lib or do a LoadLibrary/GetProcAddress for the functions you are interested in.

See my article _Using WinSock with Windows CE_ in the June 1998 issue of Windows Developer Journal (www.wdj.com) for example code that uses CE ToolHelp.


Featured Post

 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This tutorial is about how to put some of your C++ program's functionality into a standard DLL, and how to make working with the EXE and the DLL simple and seamless.   We'll be using Microsoft Visual Studio 2008 and we will cut out the noise; that i…
This article describes how to add a user-defined command button to the Windows 7 Explorer toolbar.  In the previous article (http://www.experts-exchange.com/A_2172.html), we saw how to put the Delete button back there where it belongs.  "Delete" is …
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

609 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question