TIP: Click on subject to list as thread! ANSI
echo: locuser
to: Bob Lawrence
from: Brenton Vettoretti
date: 1996-07-05 19:59:12
subject: Delphi VBX

Hi Bob,

BL>              I *love* Delphi!

Really. I'm very happy for you.

BL>  I'm still stuffing around with Windows comms in Delphi, and in
BL> desperation I went back to VB to see how Appleman did it. It all seems
BL> simple except...

BL>  Appleman uses CBK.VBX as a callback object to handle Windows'
BL> messages.

Yep. I only just got to that message a little while ago.

BL>  There are only a few comm messages so it ought to be easy - if I
BL> could only work out what the hell he has in there. So... I've been
BL> studying Delphi trying to write my own VBX (VCL component) going
BL> around in circles picking up a little here and there until - I got
BL> sick of jumping back and forth from VB to Delphi and had a go at
BL> installing CBK.VBX in Delphi... and it works!

ROFL...I would have suggested that you give it a whirl.

BL>  Bloody keith told me VB VBXs won't work in Delphi but this one does,
BL> and there is more...

I thought that VBX's DID work in Delphi.

BL>  The way Delphi installs a VBX is to translate it from a C++ VBX to a
BL> Pascal unit! all the source code is there, in Pascal! I can read it!
BL> Delphi is magic!

BL>  But there is more... who cares? CBK.VBX works in Delphi as a
BL> generic event handler. I don't even have to write one. Now all I have
BL> to do is nut out a comms package to run the API and I'll be giggling.
BL> ... FX: mad giggles
BL>  I thought you said Windows was hard, Grasshopper.

Just wait a while. There WILL be a wall ahead. ... Trust me.
You'll hit it soon. :)

Cheers, Brenton
@EOT:

---
* Origin: TestPoint (3:711/934.7)
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™.