![]() |
#9 |
Участник
|
Цитата:
Сообщение от DmitryK
![]() client static int _iOpen(str fileName, int readWrite)
{ DLL _dll = new DLL("Kernel32.dll"); DLLFunction _iOpen = new DLLFunction(_dll, "_iOpen"); ; _iOpen.arg(ExtTypes::WString, ExtTypes: ![]() _iOpen.returns(ExtTypes:: DWORD); return _iOpen.call(fileName, readWrite); } client static int _lRead(int fHandle, Binary buff, int bytes) { DLL _dll = new DLL("Kernel32.dll"); DLLFunction _lRead = new DLLFunction(_dll, "_lRead"); ; _lRead.arg(ExtTypes: ![]() ![]() _lRead.returns(ExtTypes::Word); return _lRead.call(fHandle, buff, bytes); } Как то так. К сожалению, проверить сейчас не могу. С уважением, Дмитрий. |
|