The last error code in the BiAdvPrn.ocx can be retrieved by the BlackIce_GetLastError method.
Please note that each OCX has a different Error code method and Error String method.
The BiAdvPrn.ocx interface will return the following error codes:
Error Code number |
|
|
-1000 |
Devmode is NULL |
|
-2000 |
Devmode is not Black Ice specific |
|
-3000 |
Devmode conversion error |
|
-4000 |
Incorrect devmode |
|
-5000 |
The function uses wide characters |