From: "Ashod" Newsgroups: comp.os.msdos.djgpp Subject: Malloc,Dpmi,Go32 ?? Date: 12 Nov 1997 04:27:32 GMT Organization: OzEmail Ltd. Lines: 33 Message-ID: <01bcef90$cd92a480$63206ccb@ashod> NNTP-Posting-Host: 203.108.32.99 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Im a borlandC3,1/Tasm programmer ( yeah okay real-mode, but doing flat stuff using Voodoo memory). Ive got Rhide and DJGPP and it looks good. some questions: char [512000]; // is this legal, and is it allocated dos or 32bit memory ??? char*q=malloc(512000); // allocating dos or 32 bit memory ??? >> do I have to free it, or will it auto-free when the app shuts down do I need to use the dpmi functions to allocate memory. How do I get the pure linear address is something i,e char[512000]; and how to a write say an 'x' to byte 0 of it... ( in inline asm )?? How can I make dlls.. How does one 32bit app send messages to another 32bit app, in the same v86 or another v86 ( is there a dif). Can I send messages to win32 apps and vice-versa?? Are win32 the same as DJGPP apps ( less then win32 api i mean ).. Thanks in advance Ashod Apakian.