I built a dll with different functions that communicate with the EPP (i don't use accessHW.dll).
When i launch a vi that use the call library functions, a labview.exe application occured:
The exception Privileged instruction.
(0xc0000096) occured in the application at location 0x1022ac4b.
If i dissambly,a message appears:
Unhandled exception in labview.exe(MSVCRT.DLL):0xc0000096:privileged instruction.
They show me the statement:
out dx,al
I verify the calling conventions and all the data types.Could you tell where does it come from?
thank you.