Re: Memory
- Posted by Jacques Deschenes <desja at QUEBECTEL.COM> Jan 05, 1997
- 1009 views
> >Hi Sam, > >There are 16 bytes reserved in the BIOS data area at address #4F0 to #4FF. This >is for "Inter Application Communication" but I don't think any one uses it, you >might store your password data there. > >Regards - Peter > I tested it. It works if it's done in pure dos environment. But under windows 95, it work only if the 2 dos programs are run in the same dos virtual machine. That mean if you launch the first program from windows and come back to windows closing this dos box. then the second program is launch. It wouldn't find the password. The reason is that windows create a virtual dos machine different for each dos session (for both program it seem to be the same address, but in fact it is not.) Someone mention the idea of writing to the environment. If so you have to write to the parent process environment. As each program has its own copy of the environment which is destroyed when then program end. To preserve the information you have to write to master environment. Under windows the same limitations as above apply. Jacques Deschenes Baie-Comeau, Quebec Canada desja at quebectel.com