was wondering...
- Posted by Monty King <boot_me at GEOCITIES.COM> Jul 17, 1998
- 555 views
Hi to all reading this, I was wanting to share data between a windows program and a dos program, using peek and poke, such as was described in this posting by Kevin Sieger: >...made a small program to allocate >100 bytes of memory and I allowed for input of a string. The program >then poked this string into memory at the allocated position. I then >had it pass the address and number of bytes to a file, and ended the >program with wait_key (so program would not end, will have something >better later ;}!). I then created another program that read the memory >location and number of bytes from the created file, and peeked at that >location with the info, and WALA!! It displayed the string I inputted. >This was done under win95... I was wondering, does anyone know what a good memmory address to do this at would be? I have a general knowledge of how to do it, such as directed above, and was planning on using it to talk from a dos game I am working on to another dos game or server through a windows tcp program written with Eusock. Thanks in advance... Monty