home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.pascal.borland      Borland Pascal was actually pretty neat      2,978 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 2,211 of 2,978   
   Wolf Behrenhoff to rmatzke@yahoo.com   
   Re: Need help with Pascal   
   25 Jul 06 02:02:29   
   
   From: NoSpamPleaseButThisIsValid3@gmx.net   
      
   rmatzke@yahoo.com schrieb:   
   > Thanks for you comments:   
   >   
   > The program was written in Turbo Pascal (version 7.0). I not only have   
   > the source but I have the original installation floppys and the manuals   
   > used to develop it.   
   >   
   > The program displays 'window' that currently has a drop down menu. The   
   > only option is 'exit'. I found some menu functions using Borland's help   
   > tool which described 'GetMenu', 'InsertMenu', 'AppendMenu', etc.   
   > However I was sure how these functions would do what I needed. This is   
   > where I need some help.   
      
   TP 7 does not support Windows - it can compile to DOS only. It seems you   
   are talking about BP 7 or TPW 1.5.   
      
   If you're talking about programs using WinCrt - forget it! It's   
   worthless to spend time for that. The only useful thing you can do with   
   WinCrt is a "Hello, world!" program.   
      
   If you really want to create Windows applications then use the units   
   WinPocs and WinTypes which give you access to the Win-API. You can   
   create you own Windows with the Ressource Workshop tool.   
      
   Note that you will create 16-bit Windows applications only - state of   
   the art for Windows 3.x! So it is VERY outdated! If you want 32-bit   
   applications, try Lazarus (free) or (much better) Delphi.   
      
   > As for the my win98 problems. This may just be self inflicted. I   
   > installed all disks on an old laptop I had, ( 64M of memory). Just for   
   > a simple test I did a 'hello world' example and get 'RunTime error 105   
   > at 0001:004B'. Not sure what I have set up incorrectly.  Code is as   
   > follows:   
   >   
   > Program Welcome;   
   > uses WinCrt;   
   > begin   
   >          Writeln('hello world');   
   > end.   
      
   Runerror 105 = File not open for output. Very strange! For me, your   
   program works just fine. Are you sure you have WinCrt in the "uses"-clause?   
      
   Wolf   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca