VB-script multiple return or reference type?
From: Thomas Sedlaczek (ThomasSedlaczek_at_discussions.microsoft.com)
Date: 12/01/04
- Next message: Thomas Sedlaczek: "RE: Talking to USB"
- Previous message: Jeff Johnson [MVP: VB]: "Re: controlling a change event"
- Next in thread: Thomas Sedlaczek: "RE: VB-script multiple return or reference type?"
- Reply: Thomas Sedlaczek: "RE: VB-script multiple return or reference type?"
- Reply: Thomas Sedlaczek: "Problem solved! ;-)"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 1 Dec 2004 04:41:12 -0800
Hello all,
I want to bring VB scripting support to my MFC aplication. Therfore I need
to provide COM interface to my C++ functions. Now the problem seams that VB
script does not provide reference types or pointers. But how can I have a
function in VB-script that modifies more than one variable and retuns it to
the calling function?
Like C++ function:
void MyFunction(int iValue, int &iWillModifyA, long & lWillModifyB);
How can I express this in VB-script?
Best Regards
Thomas
- Next message: Thomas Sedlaczek: "RE: Talking to USB"
- Previous message: Jeff Johnson [MVP: VB]: "Re: controlling a change event"
- Next in thread: Thomas Sedlaczek: "RE: VB-script multiple return or reference type?"
- Reply: Thomas Sedlaczek: "RE: VB-script multiple return or reference type?"
- Reply: Thomas Sedlaczek: "Problem solved! ;-)"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|