XPost: comp.lang.pascal.misc   
   From: "@comcast.net   
      
   guzzy wrote:   
   >   
   > Femme Verbeek ( at dot ) wrote:   
   > > "Hanford Carr @lmcinvestments.com>" <"hwcarr schreef in   
   > bericht   
   > > news:41C1F420.C02C5D97@lmcinvestments.com...   
   > > > guzzy wrote:   
   > > > >   
   > > > > Marco van de Voort wrote:   
   > > > > > On 2004-12-16, Femme Verbeek wrote:   
   > > > > > >   
   > > > > > > schreef in bericht   
   > > > > > > news:1103152490.610016.212460@f14g2000cwb.googlegroups.com...   
   > > > > > >> I'm trying to recompile the DOS.TPU used by TP7 for real   
   > mode   
   > > > > > > programs.   
   > > > > > >> I have the DOS.PAS file, but when I compile, it errors on:   
   > > cannot   
   > > > > file   
   > > > > > >> file 'VERS.OBJ' I cannot find any such file, anywhere, but   
   > I   
   > > do   
   > > > > have   
   > > > > > >> VERS.ASM. Can I convert this to the file I need? What can   
   > I   
   > > do?   
   > > > > > >> Thanks   
   > > > > > >>   
   > > > > > > Considering your previous posts, that you are probably   
   > working   
   > > in   
   > > > > FP,   
   > > > > > > the compiled dos.unit is already somewhere in the units   
   > > directory   
   > > > > of   
   > > > > > > your FP installation.   
   > > > > >   
   > > > > > Yes.   
   > > > > >   
   > > > > > > It is not a good idea to compile the old Borland source in   
   > FP.   
   > > > > >   
   > > > > > Not possible comes closer.   
   > > > >   
   > > > > Thank You both Femme and Marco, for noticing the compiler   
   > > difference.   
   > > > > I was having too much trouble with FP, so I had the client email   
   > me   
   > > > > their BP7 files, so I could complete the project (not realizing   
   > that   
   > > > > you couldn't use Units from BP in FP.)   
   > > > >   
   > > > > So, now when I try to compile the my program, I get a DOS.TPU not   
   > > found   
   > > > > error. The client does not have this file anywhere on there   
   > system,   
   > > > > but they do have DOS.pas, so I tried to compile it, and got the   
   > > message   
   > > > > above. I wonder if this has something to do with my XP machine   
   > and   
   > > the   
   > > > > Client Win98 machine, since XP doesn't have DOS in it like 98   
   > did?   
   > > > > Anyway, what do I need to do?   
   > > > >   
   > > > > Dan   
   > > >   
   > > > Dos.tpu is located in one of the borland library files TURBO.TPL,   
   > > > TPP.TPL or TPW.TPL, all located in the BIN subdirectory. It can be   
   > > > extracted by using TPUMOVER.EXE, however I don't think this is   
   > going   
   > > > to be helpful if your using FP.   
   > > >   
   > >   
   > > Normally if you compile with BP, it will find the TPL library   
   > > automatically. As Hanford states the compiled dos unit is in that   
   > > library as part of the BP product. Unless you are going to modify the   
   > > DOS unit itself, it is never needed to re-compile the unit. There is   
   > > probably something wrong with the path settings.   
   > > The default installation directory was originally C:\BP. Perhaps you   
   > > should copy that too.   
   > >   
   > > The C:\BP\BIN directory has to be in the path. So perhaps you should   
   > > make a little batch file to start BP.EXE with or find another way of   
   > > doing this.   
   > > If you are in the IDE, look in Options / directories.   
   > > I have the unit and the resourcedirectories set to C:\BP\UNITS   
   > >   
   > > Further setting the compile / target to protected mode gives you more   
   > > than 640 kB memory. (compile extensions will be TPP instead of TPU)   
   > > Also be aware of the Runtime error 200 bug. Read the MiniFAQ in   
   > > Comp.lang.pascal posted by Robert Prins and look for the RTE 200 bug   
   > > fixes.   
   > >   
   > > --   
   > > Femme   
   >   
   > TPUMOVER did the trick. It compiles now. thanks everyone. Do I still   
   > need to worry about RTE 200 bug if I stay in real mode? The original   
   > project was compiled in real mode, so if I don't have a reason to   
   > change it, it won't.   
   >   
   > Dan   
      
   Only if you use the crt unit.   
      
   Hanford   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|