Click here to Skip to main content
15,891,748 members
Home / Discussions / COM
   

COM

 
QuestionVST host in C# Pin
newtownz23-Oct-07 4:32
newtownz23-Oct-07 4:32 
AnswerRe: VST host in C# [modified] Pin
Baltoro25-Oct-07 10:39
Baltoro25-Oct-07 10:39 
AnswerRe: VST host in C# Pin
Obiwan Jacobi6-Sep-09 19:17
Obiwan Jacobi6-Sep-09 19:17 
QuestionCOM Component Pin
Shaileshvb23-Oct-07 0:02
Shaileshvb23-Oct-07 0:02 
AnswerRe: COM Component Pin
charlieg23-Oct-07 4:48
charlieg23-Oct-07 4:48 
GeneralRe: COM Component Pin
Prasann Mayekar24-Oct-07 2:22
Prasann Mayekar24-Oct-07 2:22 
AnswerRe: COM Component Pin
Arindam Tewary26-Oct-07 23:57
professionalArindam Tewary26-Oct-07 23:57 
QuestionVBScript to activeX to VBScript example needed - earn some beer Pin
charlieg22-Oct-07 11:40
charlieg22-Oct-07 11:40 
Name your price... as God is my witness, I hate anything to do with the web...

I have an activeX control in VC++. I want to call it from VBScript. This activeX control
has properties (they work fine). It also as get/set methods. The set's work fine. I cannot seem
to find the right mojo to return a value from the activeX control... I know VBScript's calling convention is VARIANTs only. Fine.

So, what arguments do I pick for my method so that I can return a value? In straight C++, I would pass by reference or by pointer.

If I call from VBScript:

DIM myInteger

call myCtrl.getValue(myInteger)

I want my C++ code to drop something into a data structure such that VBScript actually receives the results. Anyone willing to trade a code snippet for a case of beer? Flowers in the event you're a lady? Not to be sexist, but if you want the beer, I'm good with that too Smile | :)


Charlie Gilley
Will program for food...


AnswerRe: VBScript to activeX to VBScript example needed - earn some beer Pin
CPallini22-Oct-07 21:46
mveCPallini22-Oct-07 21:46 
GeneralRe: VBScript to activeX to VBScript example needed - earn some beer Pin
charlieg23-Oct-07 4:56
charlieg23-Oct-07 4:56 
GeneralRe: VBScript to activeX to VBScript example needed - earn some beer Pin
CPallini23-Oct-07 8:11
mveCPallini23-Oct-07 8:11 
AnswerRe: VBScript to activeX to VBScript example needed - earn some beer Pin
Vi229-Oct-07 18:44
Vi229-Oct-07 18:44 
GeneralRe: VBScript to activeX to VBScript example needed - earn some beer Pin
charlieg1-Nov-07 1:06
charlieg1-Nov-07 1:06 
GeneralRe: VBScript to activeX to VBScript example needed - earn some beer Pin
Vi21-Nov-07 5:50
Vi21-Nov-07 5:50 
QuestionDocumentComplete and reload Pin
conman11022-Oct-07 8:04
conman11022-Oct-07 8:04 
AnswerRe: DocumentComplete and reload Pin
conman11022-Oct-07 8:23
conman11022-Oct-07 8:23 
QuestionRe: DocumentComplete and reload Pin
shivditya22-Oct-07 19:56
shivditya22-Oct-07 19:56 
AnswerRe: DocumentComplete and reload Pin
conman11023-Oct-07 20:57
conman11023-Oct-07 20:57 
Questiondisplaying the ActiveX Composite control Pin
theCPkid22-Oct-07 7:48
theCPkid22-Oct-07 7:48 
AnswerRe: displaying the ActiveX Composite control Pin
theCPkid28-Oct-07 6:42
theCPkid28-Oct-07 6:42 
GeneralRe: displaying the ActiveX Composite control Pin
manish.patel25-Mar-08 22:28
manish.patel25-Mar-08 22:28 
GeneralRe: displaying the ActiveX Composite control Pin
theCPkid25-Mar-08 23:03
theCPkid25-Mar-08 23:03 
GeneralRe: displaying the ActiveX Composite control Pin
manish.patel25-Mar-08 23:08
manish.patel25-Mar-08 23:08 
Questionembedding WMP and changing it's skin Pin
H.R21-Oct-07 10:07
H.R21-Oct-07 10:07 
QuestionRegister browser helper object Pin
conman11019-Oct-07 5:28
conman11019-Oct-07 5:28 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.