|
|
|
#1 |
|
Registered User
Join Date: Jan 2007
Posts: 14
|
ocx app only works if Studio is installed
We have an app that uses an ocx control - last changed 2 yrs ago. We made some changes and re-built the "standalone .exe" for the app. It works fine on machines with swf studio installed. It fails silently if it is not. We have the .swf and .exe from 2 years ago. The old .exe works on all machines (with the .ocx registered of course). I rebuild the .exe from the old .swf and it only works if studio is installed on the machine. I suspect we upgraded to rel. 3.8. in the last 2 years. Did I forget to set something up?
checking for registation works. Code:
var r = ssCore.ActiveX.isRegistered({progId:ax});
if (r.success)
{
if (r.result != "TRUE")
{
phoneLogDebug("ActiveX control is not registered: "+ax)
ssCore.App.showMsgBox({prompt:"A required ActiveX control is not registered", icon:"critical"});
// ssCore.App.quit({});
}else{
phoneLogDebug("ActiveX control is registered: "+ax)
}
}
else
{
ssCore.App.showMsgBox({prompt:"Unexpected error", icon:"critical"});
}
}
Code:
ssCore.GTSIPAPI1.CFGSetValue({sKey:"gtsrv.sip.reg1.domain", sVal:cfg.$_sip_reg1_domain})
var r = ssCore.GTSIPAPI1.CFGGetValue({sKey:"gtsrv.sip.reg1.domain", sDef:""})
|
|
|
|
|
|
#2 |
|
Tim
Join Date: May 2001
Location: Ottawa
Posts: 11,873
|
Does this happen with every OCX you try or just one particular OCX?
I know someone (you?) reported this before here or by email and I believe that the problem disappeared with 3.9. 3.9 will be released very shortly but if you want to try it right now, just send your serial number to support@northcode.com. |
|
|
|
|
|
#3 |
|
Registered User
Join Date: Jun 2011
Posts: 25
|
hi,
I reported this problem several months ago. It occured with all OCX I tried with 3.8. So, 3.9 is the only issue. |
|
|
|
|
|
#4 |
|
Registered User
Join Date: Jan 2007
Posts: 14
|
I've sent my License. I'll can try 3.9.
We don't have an app running another .ocx. We will be starting a project that will need to display .pdf's. Before quoting, I did try a close approximation to your sample in the diocumentation. It seems to work. It does sets but doesn't do any gets. The gets seem to cause the problem in our other .ocx. oops.. I'm sorry, by mistake I tested the .pdf ocx on the same machine I installed studio on to test our other .ocx. The pdf .ocx does not work if swf studio is not installed either. Last edited by cdprod; 2012-07-05 at 12:13 PM. Reason: correction - .pdf ocx not working either |
|
|
|