Results 1 to 3 of 3

Thread: [RESOLVED] How do I use kernel32 on the PPC platform?

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    May 2006
    Posts
    612

    Resolved [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?

  2. #2
    King of sapila
    Join Date
    Oct 2006
    Location
    Greece
    Posts
    6,763

    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.

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    May 2006
    Posts
    612

    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
  •  



Click Here to Expand Forum to Full Width