TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Gary Chambers
from: Gerard Gerritsen
date: 1996-02-21 19:18:30
subject: Visual Pascal COM routin

Hello Gary!

Saturday February 17 1996, Gary Chambers writes to Gerard Gerritsen:

 GC> certainly more suited to the latter because of it's flexibility (the
 GC> ease with which typecasting can be accomplished comes to mind), not
 GC> to mention the obvious calling convention differences (easily
 GC> hurdled, though).

But why should it be difficult ?  There are lots of inline macros that can
do the same thing as a typecast in C ( it works for me... )

So porting Presentation Manager C code to (Virtual) Pascal is not that difficult.

 GC>   Additionally, I have discovered that C,
 GC> overall, is syntactically easier to use, *ESPECIALLY* in PM
 GC> programming.

Well, I can almost use C code without conversion in Virtual Pascal
(WinSetWindowText(Hwnd,'Hello'+#0);     { not much to port here... })

I'm not that good in C to start using it for OS/2 programs, I can read C
but I cannot write it ( not as good as I can write in Pascal)...


==> Gerard/2   - member of team os/2 -  1000521{at}ibk.fnt.hvu.nl

--- Fmail/2 1.02 Registered
* Origin: Yet another forgotten area! (2:283/203.18)
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: 283/203 2 512 280/801 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™.