The ReadCAD function returns DIB. We do not recommend to use this function. It is used for compatibility with IrfanView/XnView only.
Note: use ReadCADW for Unicode.
Syntax:
HANDLE ReadCAD(
LPCSTR FileName,
LPCSTR ErrorText
);
Parameters:
FileName |
Points to a string containing a file name. |
ErrorText |
Receives text of the error message if the function fails. |
Return Value:
Returns the handle of the memory region which contains the bitmap information. It can get the bitmap using this handle.
See Also
© 2003-2024 CADSoftTools
Go to CAD DLL