Click to See Complete Forum and Search --> : VBScript and COM interface methods


Charles Gamble
December 4th, 1998, 06:08 AM
I am having problems calling COM interface methods from VBScript.

I keep getting type mismatch errors with the parameters.

I am relatively new to VBScript and I have tried the same calls in JavaScipt but I am getting similar errors.

The interfaces were implemented in C++ and have parameter types such as pointers to shorts, shorts, booleans, pointers to booleans, pointers to pointers to interfaces, b-strings, pointers to b-strings, longs, etc. etc.

Is there anywhere I can get info on what types I should be using in VB or JavaScript to call these interface methods? A few offhand hints would also be

useful.


Any help is greatly appreciated.

Charles Gamble.

N. Ireland.