PDA

View Full Version : ByRef



bschoen
08-27-2003, 03:50 PM
Probably a dumb question, but I'm no ace in InstallShield (using Pro 6.31 btw).

I have a .NET assembly that is COM-interoped and provides a handful of utility functions related to our product setup. It has all gone well thus far. I am now trying to use a new function in the assembly thas has a single ByRef string array param. Function call succeeds from within InstallShield (success code being returned from the function) but array is not updated within InstallShield. I know I probably need to prototype the function but not sure of the syntax and have tried various things to no avail.

I am using a CreateObject(MyLib.MyClass), so would I need to prototype it using MyLib.MyClass.MyFunction?

Regards,

Bryan Schoening