|
-
Jul 13th, 2007, 06:58 AM
#1
Thread Starter
Fanatic Member
[RESOLVED] How do I use kernel32 on the PPC platform?
I am trying to get at the PPC devices clock so I can use its lapsed time as the timer control is not accurate enough for my needs. In the declarations section of my form a have
Private Declare Function QueryPerformanceFrequency Lib "kernel32" (ByVal lpFrequency As Double) As Long
Private Declare Function QueryPerformanceCounter Lib "kernel32" (ByVal lpPerformanceCount As Double) As Long
But this gets me an error “missing method” can’t find Pinvoke dll “ kernal32” can I import this functionality?
If so How do I go about it?
-
Jul 13th, 2007, 07:07 AM
#2
Re: How do I use kernel32 on the PPC platform?
I don't think you can use kernel32.
You must use coredll.dll but you have no problem cuz them methods QueryPerformanceCounter and QueryPerformanceFrequency are also in that dll.
-
Jul 13th, 2007, 08:30 AM
#3
Thread Starter
Fanatic Member
Re: How do I use kernel32 on the PPC platform?
Thanks for that
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
|