@josaga
Out of interest - how do you want to program drivers, if you don't know even Delphi not talking about pascal?
IntToStr undeclared? Cannot be accessed through SysUtils? Write your own! (translate this from C to pascal http://www.daniweb.com/software-develop ... ads/112738)
there will be
Out of interest - how do you want to program drivers, if you don't know even Delphi not talking about pascal?
IntToStr undeclared? Cannot be accessed through SysUtils? Write your own! (translate this from C to pascal http://www.daniweb.com/software-develop ... ads/112738)
there will be
Code: Select all
and thenprocedure IntToStr(value: integer; outbuf: PAnsiChar);
Code: Select all
Writing drivers on Delphi is some sort of greatest perversion even exists in programming world. Stop using that crap and move to C world, Pascal language has no future especially in case of drivers programming.type
abuf = array[0..MAX_PATH - 1] of char;
//others declarations
var
tmp: abuf;
dwDataSize: DWORD;
//others declarations
begin
RtlZeroMemory(tmp, sizeof(tmp));
IntToStr(1234, @tmp);
dwDataSize := strlen(tmp);
//other operators
RtlCopyMemory(pReadDataBuffer, tmp, dwDataSize);
Ring0 - the source of inspiration