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?