|
-
Apr 30th, 2001, 04:17 PM
#1
Thread Starter
PowerPoster
I don't know what is happening here
I want to get the time since my computer was started. I use this function in vb
GetTickCount()
Now, in C++, I used this code to get the time since I started my computer.
long int ticktime;
ticktime = GetTickCount();
Until now, it works fine but now I want to show a messageBox like this:
MessageBox(NULL, ticktime, "The title", MB_OK);
It gives me an error on the variable "ticktime". What is the problem??
Last edited by abdul; Apr 30th, 2001 at 04:30 PM.
Baaaaaaaaah
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|