I've a PCI card (PISO Encoder 600/300) in which reads data from a sensor. In computers that the PCI card is not connected, the code crashes and I've tried to handle the exception by using try/catch but the exception didn't caught:
try {
ENC6_REGISTRATION(0,0);
} catch (...){}
this is not working! How can I handle this exception?