c++.dos.32-bits - Newbie needs help
- wcount12 aol.com (14/14) Jul 30 2003 Hello, I have the digital mars CD.
- Walter (6/20) Jul 30 2003 Use the x (-mx switch) memory model. You'll also need to download the
- Paul Warren (7/34) Aug 01 2003 To make them Win32 programs, do I just need to build/compile
- Arjan Knepper (5/53) Aug 01 2003 Yes and you need to convert all "legacy dos api calls" to win32
- Walter (7/46) Aug 01 2003 Yes, as long as you convert any DOS specific calls to win32 calls.
Hello, I have the digital mars CD. I have about 8 programs written using DJGPP (before my hd crashed!) and now want to run these programs in DM. The programs were written in plain 'C'. Im running Windows ME at present, and want to compile and ammend these programs. What target do I need to use, so that I can use the debugger to step through the code etc. Also the programs dynamically allocate large amounts of memory, should this cause a problem with some targets? Kind regards Paul Warren
Jul 30 2003
Use the x (-mx switch) memory model. You'll also need to download the dosextender from www.dosextender.com. Unfortunately, there isn't a debugger for it. I recommend debugging it first as a win32 console program, and then porting it to dos32. Or, why not just make them win32 programs? <wcount12 aol.com> wrote in message news:bg943o$1u9f$1 digitaldaemon.com...Hello, I have the digital mars CD. I have about 8 programs written using DJGPP (before my hd crashed!) and now want to run these programs in DM. The programs were written in plain 'C'. Im running Windows ME at present, and want to compile and ammend these programs. What target do I need to use, so that I can use the debugger to step through the code etc. Also the programs dynamically allocate large amounts of memory, should this cause a problem with some targets? Kind regards Paul Warren
Jul 30 2003
To make them Win32 programs, do I just need to build/compile them with a Win32 as the target? Also I used commands like gotoxy(10,20); where do I find alternatives for this? Thanks for your help Paul Warren In article <bg9ib6$2dgf$2 digitaldaemon.com>, Walter says...Use the x (-mx switch) memory model. You'll also need to download the dosextender from www.dosextender.com. Unfortunately, there isn't a debugger for it. I recommend debugging it first as a win32 console program, and then porting it to dos32. Or, why not just make them win32 programs? <wcount12 aol.com> wrote in message news:bg943o$1u9f$1 digitaldaemon.com...Hello, I have the digital mars CD. I have about 8 programs written using DJGPP (before my hd crashed!) and now want to run these programs in DM. The programs were written in plain 'C'. Im running Windows ME at present, and want to compile and ammend these programs. What target do I need to use, so that I can use the debugger to step through the code etc. Also the programs dynamically allocate large amounts of memory, should this cause a problem with some targets? Kind regards Paul Warren
Aug 01 2003
Yes and you need to convert all "legacy dos api calls" to win32 equivalent api calls. Or write some adaptor layer for it. Information is in de MSDN (also online). Search for "Console" applications or Charater-mode applications. Paul Warren wrote:To make them Win32 programs, do I just need to build/compile them with a Win32 as the target? Also I used commands like gotoxy(10,20); where do I find alternatives for this? Thanks for your help Paul Warren In article <bg9ib6$2dgf$2 digitaldaemon.com>, Walter says...Use the x (-mx switch) memory model. You'll also need to download the dosextender from www.dosextender.com. Unfortunately, there isn't a debugger for it. I recommend debugging it first as a win32 console program, and then porting it to dos32. Or, why not just make them win32 programs? <wcount12 aol.com> wrote in message news:bg943o$1u9f$1 digitaldaemon.com...Hello, I have the digital mars CD. I have about 8 programs written using DJGPP (before my hd crashed!) and now want to run these programs in DM. The programs were written in plain 'C'. Im running Windows ME at present, and want to compile and ammend these programs. What target do I need to use, so that I can use the debugger to step through the code etc. Also the programs dynamically allocate large amounts of memory, should this cause a problem with some targets? Kind regards Paul Warren
Aug 01 2003
"Paul Warren" <Paul_member pathlink.com> wrote in message news:bgdqpk$em1$1 digitaldaemon.com...To make them Win32 programs, do I just need to build/compile them with a Win32 as the target?Yes, as long as you convert any DOS specific calls to win32 calls.Also I used commands like gotoxy(10,20); where do I find alternatives for this?www.digitalmars.com/rtl/disp.htmlThanks for your help Paul Warren In article <bg9ib6$2dgf$2 digitaldaemon.com>, Walter says...debuggerUse the x (-mx switch) memory model. You'll also need to download the dosextender from www.dosextender.com. Unfortunately, there isn't athenfor it. I recommend debugging it first as a win32 console program, andnews:bg943o$1u9f$1 digitaldaemon.com...porting it to dos32. Or, why not just make them win32 programs? <wcount12 aol.com> wrote in messageHello, I have the digital mars CD. I have about 8 programs written using DJGPP (before my hd crashed!) and now want to run these programs in DM. The programs were written in plain 'C'. Im running Windows ME at present, and want to compile and ammend these programs. What target do I need to use, so that I can use the debugger to step through the code etc. Also the programs dynamically allocate large amounts of memory, should this cause a problem with some targets? Kind regards Paul Warren
Aug 01 2003