Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Problem with using COM object in InstallShield


1 reply to this topic

jiekang007

jiekang007
  • Members
  • 5 posts

Posted 02 October 2002 - 20:56

Hi,
I'm using InstallShield 6.3.1.
I use CreateObject to create a COM object (the COM component is written in VB) in setup.rul, and then call a method of this COM object, passing several strings as parameters. It seems that the InstallShiled strings I passed to the method are not the type of string that the COM object is expecting. Anyone knows what's going on here?
Thank you very much!

-Jie

prozacrefugee

prozacrefugee
  • Members
  • 38 posts

Posted 07 October 2002 - 20:35

Could it be that your COM object expects a pass by reference, not value?  Try adding BYREF to the parameters, and see if that works.