|
|||
|
Hi,
I know I have to be doing something wrong, but I just can't figure it out. I am trying to include an ActiveX DLL created in VB6. The DLL has one function that is public that does nothing except return a string. (mainly testing to make sure I can pass it in before I start coding anything heavier). I have the following on my init script in SWFKit: ActiveXObject.addObjectInfo(getAdditionalFile("Tes ting.dll"), "Testing.MainFunctions", "{D18D158E-C1D1-4CB1-BCA7-555EFFACDCFC}", "{E3B6E19F-81E2-4E01-91E7-B565C7661195}"); var lc = new ActiveXObject("Testing.MainFunctions"); Dialogs.msgBox("hello " + lc.Hi()); The lc.Hi() returns as undefined even though there's a hard coded string being returned. If I trace the addObjectInfo line it returns false. I can email the DLL if necessary. Just trying to get to a point where I'm not beating my head against the wall. Thanks for your help in advance. |
|
|||
|
Are you sure that when the "new ActiveXObject" clause returns, lc holds an activex component instance? If you cannot solve the problem, please send the dll to support@swfkit.com. Thanks.
|
![]() |
Was this information helpful? Yes No
| Thread Tools | |
| Display Modes | |
|
|