Thread overview | |||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
March 12, 2002 Compiler works :) | ||||
---|---|---|---|---|
| ||||
Hi, I installed the compiler, I wrote a simple hello world program and I compiled it: sc hello It compile and doesn't return me any error. Then I copied the files of the 32 bit DOS development libraries and the files of the X32 DOS extender, so I tried to compile the same program: sc hello -mx X32.lib It compile, but when I try to run the program, it closes immediamently. Why? Which errors did I make? Please help me... Thanks P.S. I have got Windows XP |
March 12, 2002 Re: Compiler works :) | ||||
---|---|---|---|---|
| ||||
Posted in reply to Paolo | Do you want to create a DOSX or Windows NT/XP program?
I am not sure if DOSX is compatible with WXP
Jan
Paolo wrote:
> Hi, I installed the compiler, I wrote a simple hello world program and I compiled it:
>
> sc hello
>
> It compile and doesn't return me any error.
>
> Then I copied the files of the 32 bit DOS development libraries and the files of the X32 DOS extender, so I tried to compile the same program:
>
> sc hello -mx X32.lib
>
> It compile, but when I try to run the program, it closes immediamently. Why? Which errors did I make? Please help me... Thanks
>
> P.S. I have got Windows XP
|
March 12, 2002 Re: Compiler works :) | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jan Knepper | "Jan Knepper" <jan@smartsoft.cc> ha scritto nel messaggio news:3C8E1C0C.C0BD96D6@smartsoft.cc... > Do you want to create a DOSX or Windows NT/XP program? > I am not sure if DOSX is compatible with WXP > > Jan > > > > Paolo wrote: > > > Hi, I installed the compiler, I wrote a simple hello world program and I compiled it: > > > > sc hello > > > > It compile and doesn't return me any error. > > > > Then I copied the files of the 32 bit DOS development libraries and the files of the X32 DOS extender, so I tried to compile the same program: > > > > sc hello -mx X32.lib > > > > It compile, but when I try to run the program, it closes immediamently. Why? > > Which errors did I make? Please help me... Thanks > > > > P.S. I have got Windows XP And now, How Can I resolve? Please help me... Bye |
March 12, 2002 Re: Compiler works :) | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jan Knepper | "Jan Knepper" <jan@smartsoft.cc> ha scritto nel messaggio news:3C8E1C0C.C0BD96D6@smartsoft.cc... > Do you want to create a DOSX or Windows NT/XP program? > I am not sure if DOSX is compatible with WXP > > Jan > > > > Paolo wrote: > > > Hi, I installed the compiler, I wrote a simple hello world program and I compiled it: > > > > sc hello > > > > It compile and doesn't return me any error. > > > > Then I copied the files of the 32 bit DOS development libraries and the files of the X32 DOS extender, so I tried to compile the same program: > > > > sc hello -mx X32.lib > > > > It compile, but when I try to run the program, it closes immediamently. Why? > > Which errors did I make? Please help me... Thanks > > > > P.S. I have got Windows XP I want to create a DOSX application. bye |
March 12, 2002 Re: Compiler works :) | ||||
---|---|---|---|---|
| ||||
Posted in reply to Paolo | > > > P.S. I have got Windows XP
> I want to create a DOSX application. bye
Well, <g> start a DOS operating system...
Jan
|
March 12, 2002 Re: Compiler works :) | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jan Knepper | What do you mean? I don't understand... "Jan Knepper" <jan@smartsoft.cc> ha scritto nel messaggio news:3C8E2195.C0D88AEE@smartsoft.cc... > > > > P.S. I have got Windows XP > > I want to create a DOSX application. bye > > Well, <g> start a DOS operating system... > > Jan > > |
March 12, 2002 Re: Compiler works :) | ||||
---|---|---|---|---|
| ||||
Posted in reply to Paolo | Well, you're running WXP as operating system, but want to run a
DOSX program.
It would be preferable to run an NT program. You actually could
develop the program as an NT console program and once you're
done recompile it as DOSX program and run it on DOS (W95/98)
Jan
Paolo wrote:
> What do you mean? I don't understand...
>
> "Jan Knepper" <jan@smartsoft.cc> ha scritto nel messaggio news:3C8E2195.C0D88AEE@smartsoft.cc...
> > > > > P.S. I have got Windows XP
> > > I want to create a DOSX application. bye
> >
> > Well, <g> start a DOS operating system...
> >
> > Jan
> >
> >
|
March 12, 2002 Re: Compiler works :) | ||||
---|---|---|---|---|
| ||||
Posted in reply to Paolo | With Windows XP, Microsoft apparently broke 32 bit DOS extenders. X32 works on Windows 95, 98, ME, NT, and 2000. There's no need for a dos extender under XP anyway. Just compile: sc hello to create a win32 program, and run it with: hello which should work. -Walter "Paolo" <no@libero.it> wrote in message news:a6l15h$kv7$1@digitaldaemon.com... > Hi, I installed the compiler, I wrote a simple hello world program and I compiled it: > > sc hello > > It compile and doesn't return me any error. > > Then I copied the files of the 32 bit DOS development libraries and the files of the X32 DOS extender, so I tried to compile the same program: > > sc hello -mx X32.lib > > It compile, but when I try to run the program, it closes immediamently. Why? > Which errors did I make? Please help me... Thanks > > P.S. I have got Windows XP > > |
March 12, 2002 Re: Compiler works :) | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter | Yes, but I want to make a 32 bit DOS program.. I want to program the VGA? How Can I do this? Bye "Walter" <walter@digitalmars.com> ha scritto nel messaggio news:a6leof$qtn$1@digitaldaemon.com... > With Windows XP, Microsoft apparently broke 32 bit DOS extenders. X32 works > on Windows 95, 98, ME, NT, and 2000. > > There's no need for a dos extender under XP anyway. Just compile: > > sc hello > > to create a win32 program, and run it with: > > hello > > which should work. > > -Walter > > "Paolo" <no@libero.it> wrote in message news:a6l15h$kv7$1@digitaldaemon.com... > > Hi, I installed the compiler, I wrote a simple hello world program and I compiled it: > > > > sc hello > > > > It compile and doesn't return me any error. > > > > Then I copied the files of the 32 bit DOS development libraries and the files of the X32 DOS extender, so I tried to compile the same program: > > > > sc hello -mx X32.lib > > > > It compile, but when I try to run the program, it closes immediamently. > Why? > > Which errors did I make? Please help me... Thanks > > > > P.S. I have got Windows XP > > > > > > |
March 12, 2002 Re: Compiler works :) | ||||
---|---|---|---|---|
| ||||
Posted in reply to Paolo | Run Windows 95, 98, NT, 2000 or plain old DOS...
Jan
Paolo wrote:
> Yes, but I want to make a 32 bit DOS program.. I want to program the VGA? How Can I do this? Bye
>
> "Walter" <walter@digitalmars.com> ha scritto nel messaggio news:a6leof$qtn$1@digitaldaemon.com...
> > With Windows XP, Microsoft apparently broke 32 bit DOS extenders. X32
> works
> > on Windows 95, 98, ME, NT, and 2000.
> >
> > There's no need for a dos extender under XP anyway. Just compile:
> >
> > sc hello
> >
> > to create a win32 program, and run it with:
> >
> > hello
> >
> > which should work.
> >
> > -Walter
> >
> > "Paolo" <no@libero.it> wrote in message news:a6l15h$kv7$1@digitaldaemon.com...
> > > Hi, I installed the compiler, I wrote a simple hello world program and I compiled it:
> > >
> > > sc hello
> > >
> > > It compile and doesn't return me any error.
> > >
> > > Then I copied the files of the 32 bit DOS development libraries and the files of the X32 DOS extender, so I tried to compile the same program:
> > >
> > > sc hello -mx X32.lib
> > >
> > > It compile, but when I try to run the program, it closes immediamently.
> > Why?
> > > Which errors did I make? Please help me... Thanks
> > >
> > > P.S. I have got Windows XP
> > >
> > >
> >
> >
|
Copyright © 1999-2021 by the D Language Foundation