| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Delphi VBX |
Hi Brenton,
I *love* Delphi!
I'm still stuffing around with Windows comms in Delphi, and in
desperation I went back to VB to see how Appleman did it. It all seems
simple except...
Appleman uses CBK.VBX as a callback object to handle Windows'
messages.
There are only a few comm messages so it ought to be easy - if I
could only work out what the hell he has in there. So... I've been
studying Delphi trying to write my own VBX (VCL component) going
around in circles picking up a little here and there until - I got
sick of jumping back and forth from VB to Delphi and had a go at
installing CBK.VBX in Delphi... and it works!
Bloody keith told me VB VBXs won't work in Delphi but this one does,
and there is more...
The way Delphi installs a VBX is to translate it from a C++ VBX to a
Pascal unit! all the source code is there, in Pascal! I can read it!
Delphi is magic!
But there is more... who cares? CBK.VBX works in Delphi as a
generic event handler. I don't even have to write one. Now all I have
to do is nut out a comms package to run the API and I'll be giggling.
... FX: mad giggles
I thought you said Windows was hard, Grasshopper.
Regards,
Bob
___ Blue Wave/QWK v2.12
@EOT:
---
* Origin: Precision Nonsense, Sydney (3:711/934.12)SEEN-BY: 711/934 712/610 @PATH: 711/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™.