| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Re: Speed Pascal |
Hej Robert! Sunday July 28 1996, Robert Deed writes to Allan Mertner: RD> The Port[] array is horrible... we are in OS/2 we shouldn't be RD> access comports directly... and the DOSDEVIOCTL is what I am using in RD> Speed, There is nothing wring with using the Port[] array, even under OS/2. After all, it is just a wrapper to access I/O ports, that still goes through OS/2 protection mechanisms. It certainly is both easier and faster than issuing DosDevIOCtl calls. RD> the problem is the line used in speed and virtual is diffrent... RD> and I cannot get it to work in virtual.. which is beside the point RD> because i cannot find a functional demonstration that will acually RD> compile anything correctly without saying that END. is an error. In other words, you have never succeeded in getting VP to compile any program for you at all? Which version do you use? Which error message does it give at the "end."? The DosDevIOCtl functions in VP and SP differ, because C header files can be translated to a number of different Pascal headers. SpeedSoft have decided to pass VAR parameters instead of pointers, whereas the VP version expects pointers instead - it produces the same code and is really comes down to the judgment of the person converting the header files. If you are interested, I will post you some source code doing what you want, provided you tell me what that is :-) Yours, Allan Mertner --- GoldED 2.50+* Origin: Gravity is a myth: Earth Sucks! (2:254/283) SEEN-BY: 50/99 270/101 620/243 625/100 711/401 409 410 413 430 808 809 934 SEEN-BY: 711/955 712/407 515 624 628 713/888 800/1 @PATH: 254/283 259 442/403 255/1 440/4 141/209 270/101 712/515 711/808 934 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.