TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Paul West
from: Keith Thomson
date: 1996-04-03 15:09:44
subject: Speed Pascal

Hello Paul!

Sunday March 31 1996 21:35, Paul West wrote to Allan Mertner:

 AM>> Text-mode apps written in SP require a 27kB DLL KBDVIO32.DLL to
 AM>> run. This is because SP not supports thunking calls to 16-bit API
 AM>> functions - and all of the text-mode Vio, Mou and Kbd calls are 16
 AM>> bit.  The DLL is written in C and cannot be written in
 AM>> Speed-Pascal. If you want to access other 16-bit API calls, you
 AM>> need to write another thunking DLL for it - but not in SP...

 PW> Now that could be a real problem.  If I have to write stuff in C to
 PW> get Speed up and running, I may as well write C in the first place.

 PW> I guess I'll have to take another look at VP.  I was hoping SP would
 PW> be the answer.

Well...  There's almost nothing which needs to thunk to 16 bit anymore. The
only ones that are still thunked to on an average basis are already taken
care of in the KBDVIO32.DLL..

Thunking could be supported in a future version.. I'll ask blake & rene
about it..

As for the {$I-} and {$I+} stuff..  I don't use it, There's always better
ways :) (and much FASTER ways)

Just move the {$I+} before the EXit command! :)

Keith

... I think so brain, But if we didn't have ears, We'd look like WEASELS!
--- GED/2 2.50 UNREG
* Origin: StarCraft/2, Warped and Waitin to be Merlined! (1:15/42)
SEEN-BY: 50/99 78/0 270/101 620/243 711/401 409 410 413 430 808 809 934 955
SEEN-BY: 712/407 515 517 628 713/888 800/1 7877/2809
@PATH: 15/42 114/186 262 214 396/1 270/101 712/515 711/808 809 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™.