Is there a way to Load the kernel32.dll library in the Android NDK?
I'm trying to extract the GetTickCount and GetTickCount64 functions out of it, and I get this error when trying to run the LoadLibrary("KERNEL32.DLL"):
Function 'LoadLibrary' could not be resolved
Any suggestions to get the GetTickCount and GetTickCount64?
Android is Linux, not Windows. You need to use Linux APIs. Use clock_gettime
instead of GetTickCount
( example ).
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.