The .lib is not the problem.
The problem locates in the .INC file.
Replace all "SYSCALL" references in that file with "C" (without quotes).
Also, if you are going to use INVOKE to call a function, you must define the arguments in the prototypes of the functions you are going to use.
Check the attachment for an example.
Attached File ( Number of downloads: 19 )
POWRPROF.zip