AnsweredAssumed Answered

vrf Calling extension DLL's from VEE

Question asked by VRFuser on Jun 12, 2002
> I would like information, or a pointer to where I can find
> information, about exporting a class to VEE.

(I see Shawn has answered since I started this reply, but I'll forge ahead
anyway)

If what you want to do is to create a new VEE object type from your C++
class, the answer is no, you can't do that. VEE wasn't designed to support
this kind of extendability. What you've probably found in the documentation
about how to link and invoke dlls, along with info on "extern C {" for
unmangling C++ names, that you appear already to know, is about what there
is. But there's no integration.

If you write your classes to be ActiveX controls, you can get a different
kind of integration with VEE, but I'm not sure it's much more satisfying. It
does allow ActiveX Control visual displays to appear "integrated" inside the
VEE workspace. See VEE's "Advanced Programming Techniques", pages 426 - 431.

> On a related topic, how helpful have people found the ADN
> (Agilent Developer's Network)? Is it likely that the
> information I seek would be there?

ADN has some and will have more, information related to this kind of
question in the Knowledge Library. I see that the article I submitted (I
didn't write it), about unmangling C++ names for VEE, has not yet made it
through the pipeline. I'll try to push my articles through again.

The ADN will have lots more of this kind of stuff in it, especially on VEE,
when we get things moving into it more quickly. I have submitted quite a few
fairly meaty articles I've written and verified with R&D on a number of
fairly deep topics (like the famous "why does a formula object not overlap
execution when I feed in the formula via a Control Pin"?). Some of the
articles have already appeared on vrf, some were constructed as individual
support responses.

Note that some articles may be available under a free "ADN Basic" signup,
and others may require that you buy "ADN Pro", $495/year (discounted to
about $430 right now if you buy via the link below), or a product that
includes ADN Pro subscription. Right now, it looks like ADN Pro does not yet
have articles that don't appear in Basic, but that will change over time.

< www.agilent.com/find/adn > to sign up. I recommend signing up for Basic
initially, try it for a while, and if you think the value will be there for
you, maybe buy the Pro version.

Excuse me if I sound like advertising. I don't mean to. It's just that I'm
excited by the thought of writing down answers to questions once and making
them easily available to lots of customers without having to repat them
again (and again and again).

Sincerely,


Scott Bayes
Software Technical Support

Agilent Technologies, Inc.
815 14th Street S.W.
Loveland, CO, U.S.A. 80537

970 679 3799 Tel
970 635 6867 Fax

> -----Original Message-----
> From: keith_olsen@hsgmed.com [mailto:keith_olsen@hsgmed.com]
> Sent: Thursday, June 13, 2002 12:30 PM
> To: vrf@lvld.agilent.com
> Subject: vrf Calling extension DLL's from VEE
>
>
> I would like information, or a pointer to where I can find
> information, about exporting a class to VEE.
>
> The DLL is written in Microsoft's Visual C++ 6.0. Some of the
> classes are MFC derived, some are not.
>
> I've been able to call individual functions from mini test
> applications I wrote by using the C calling convention and
> the extern storage class specifier.
>
> I searched around Agilent's web site and didn't find what I
> was looking for.
>
> Does anyone know if VEE is even capable of what I am asking it to do?
>
> On a related topic, how helpful have people found the ADN
> (Agilent Developer's Network)? Is it likely that the
> information I seek would be there?
>
> Thanks,
> Keith Olsen
> Philips Medical Systems
> ---------------------------------------------------------------------
> This is the "vrf" maillist, managed by Majordomo.  To send messages to
> this maillist, just email to "vrf@lvld.agilent.com". 
> Subscriptions and
> unsubscriptions are done through the address
> "vrf-request@lvld.agilent.com".
> If you need details, just send a message containing the text "help"
> to "vrf-request@lvld.agilent.com".
> ---------------------------------------------------------------------
>
---------------------------------------------------------------------
This is the "vrf" maillist, managed by Majordomo.  To send messages to
this maillist, just email to "vrf@lvld.agilent.com".  Subscriptions and
unsubscriptions are done through the address "vrf-request@lvld.agilent.com".
If you need details, just send a message containing the text "help"
to "vrf-request@lvld.agilent.com".
---------------------------------------------------------------------

Outcomes