ImageGear for C and C++ on Windows v20.5 - Updated
Work with IG_ISIS_drv_load in Special Cases
User Guide > How to Work with ... > Common Operations > Viewing > Scanning > ISIS Scanning > More ISIS Characteristics > Work with IG_ISIS_drv_load in Special Cases

The PIXMISIS and FROMPIXM drivers will not work with the default parameters passed to them during the initialization routine used by IG_ISIS_drv_load_init_pipe(), and so they cannot be loaded, initialized, and linked by using this function. You must use separate
IG_ISIS_drv_load(), IG_ISIS_drv_init(), and IG_ISIS_drv_link() calls.

Unloading Drivers without Unlinking

It is not safe to unload drivers without first unlinking them, and it is bad programming practice to do so. If a linked driver remains in memory and is used after its child or sibling is gone, the pipe is in an unstable state. The driver will forward its data to an undetermined location, causing unpredictable results. You unlink drivers by linking the first driver with a null or 0.

Don't unload your drivers without first unlinking them!

 
Copy Code
// Unlink the two drivers by linking the hScan driver with a 0.
IG_ISIS_drv_link(hScan, 0);
IG_ISIS_drv_unload(hFileWriter);
IG_ISIS_drv_unload(hScan);
Is this page helpful?
Yes No
Thanks for your feedback.