Application to Kernel Comm.
Posted: Wed Oct 16, 2002 11:00 pm
Application to Kernel Comm:
I was planing on using stucts and pointers to memory. ie:
(This is more of and advanced shell so DOS is present)
I. Kernel Startup..etc etc etc
II. The Kernel gets the command from user\script to load an app\driver
III. The Kernal calls the the .exe (ie PrntSrv.exe /0x1b2c0ffe *)
*Now here is where the problem comes in. How can I take that cstring (which is the pointer to the kernels process communication area) and and turn is back to a pointer? it can be made numeral value via stdlibs atol() funtion but how can i give that value to a pointer (dumb type checking makes it hard)?
Plz Help -VoidLogic
I was planing on using stucts and pointers to memory. ie:
(This is more of and advanced shell so DOS is present)
I. Kernel Startup..etc etc etc
II. The Kernel gets the command from user\script to load an app\driver
III. The Kernal calls the the .exe (ie PrntSrv.exe /0x1b2c0ffe *)
*Now here is where the problem comes in. How can I take that cstring (which is the pointer to the kernels process communication area) and and turn is back to a pointer? it can be made numeral value via stdlibs atol() funtion but how can i give that value to a pointer (dumb type checking makes it hard)?
Plz Help -VoidLogic