если вот так то работает
DLL _DLL = new DLL("Comdlg32");
DLLFunction _getPrintDlg = new DLLFunction(_DLL, "PrintDlgA");
_getPrintDlg.returns(ExtTypes:: DWord);
_getPrintDlg.arg(ExtTypes::Pointer);
struct.dWord (#offset0,66 ); //lStructSize = sizeof(PRINTDLGEX);
struct.dWord (#offset4, _hwnd );
Не знаю устроит ли это вас
|