I have written a couple of ActiveX controls in VB5 and 6, but no REAL
problems....ofcourse, you have the VB runtime DLL installed onthe machine
you are working on don't you...???!!
I forget this quite often....
P.s. VB is NOT...I repeat NOT a good thing to write OCX's or COM DLL's
in....Activex controls tend to be "User Controls" and dont always work THAT
well...
Thanks,
Jeremy Coulter
Application Developer
Application Development Centre
Compaq Computer New Zealand Ltd.
Phone: 64 3 371 5724
Fax: 64 3 371 5724
Mobile: 64 0212533214
E-mail: [EMAIL PROTECTED]
Personal Email: [EMAIL PROTECTED]
-----Original Message-----
From: Mark Vrankovich [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 14, 2000 10:31 AM
To: Multiple recipients of list delphi
Subject: [DUG]: "Interesting" problem...
Hi Guys & Gals
I've been given a little project which involves calling a ActiveX DLL from
Delphi 5.
The suspect thing is that the ActiveX DLL is written in, wait for it, Visual
Basic 5.
Ok, once you have wiped the vomit off your screens please continue
reading...
The question I have is does anyone know of any issues involved with such a
venture?
Has anyone ever done such a thing?
At the moment when I try to import the type library (from "Import Type
Library" under the Project menu) the Classes in the DLL appear correctly in
the "Class Names" list box, however I get this error when I click the
"Create Unit" button...
"An error while referencing a user defined type. This may be caused by a
missing or unregistered type library"
Now there could be two reasons for this,
1) The error message could be true and I simply need to get the missing
libraries off my client. I'm currently asking them if there is anything else
they may have forgotten to give me. (And yes I have registered the DLL)
2) Or something is screwy with VB ActiveX DLLs. There are rumours on the net
of VB DLL's not being true DLL's, and only callable from VB itself. But who
knows? I wouldn't be surprised.
Does anyone have any wise advice?
Thanks In Advance.
Mark Vrankovich
"WorldSecure <sovereign.co.nz>" made the following
annotations on 01/14/00 10:27:29
----------------------------------------------------------------------------
--
[INFO] -- Content Manager:
This e-mail message and any attachments are confidential to Sovereign
Limited and subsidiaries and subject to legal privilege. If you have
received this e-mail in error, please advise the sender immediately and
destroy the message and any attachments. If you are not the intended
recipient you are notified that any use, distribution, amendment, copying or
any action taken or omitted to be taken in reliance of this message or
attachments is prohibited.
============================================================================
==
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz