LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Print 2 panels with one comfirm?

Solved!
Go to solution

Thanks for reply.

Already tried that function.

It causes GPF/fatal runtime error.

 

 

George Zou
0 Kudos
Message 11 of 12
(911 Views)

EnumPrinters worked for over a month now.

Don't know why it stops working.

needed returns 0.

GetLastError() returns 1780: A null reference pointer was passed to the stub.

 

The problem is pcReturned.  Instead of using NULL, use a variable solved the problem.

Don't know why it worked in the first place.

 

George Zou
0 Kudos
Message 12 of 12
(874 Views)