I built a DLL to program a board by JTAG (through EPP with zlport.sys)
When my CVI application call the function in the DLL, the application crash with the following error:
FATAL RUN-TIME ERROR:
"Jtag.c", line 239, col 9, thread id 0x00000504:
The program has caused a 'Privileged Instruction' fault at 001B:7801BA81.
This problem happens only on a Win 2000 machine, on a Win XP my application doesn’t crash.
Configurations:
Win 2000 machine
SW: LabWindows CVI 7.1 Evaluation
PS: Windows 2000 service pack 4
HW: Pentium III
Win XP machine
SW: LabWindows CVI 7.1
PS: Windows XP
HW: Pentium 4
On both machines I’m logged as Administrator, and on the Win2000 machine I rebuilt the DLL.
Thanks,
MGava