Nigel Sedgley
1-Jun-2009, 10:21 AM
I know this is not really a VDF or CJ Framework issue, but the documentation/help for CodeJock itself is pretty sketchy so I am posting this here in case anyone has any suggestions.
I have re-written one of my apps to use some of the CJ Framework classes and all works well on my dev machine, so I delivered it to the customer. I first installed it on the machine where the VDF app sits, and all is fine, on the other machine, (which looks at the first one as a networked drive), after registering the new CodeJock .ocxs, it gives the dreaded 'unable to instantiate com object' error when trying to create the CommandBars object. Because I can't get this to work, I can't test all the other CodeJock components, but I have changed the program so that on startup it loads a view that uses both the CodeJock calendar & Message Box controls and they both work fine, so it seems that the issue is with the CommandBars ocx. (The one supplied with VDF14.0 as part of the DAW toolkit worked fine in the previous incarnation of the app). I have registered the control using regsvr32 and it says it is registered (but who believes anything Microsoft tells them!). I have unregistered 'old' copy of CommandBars, have tried new (v13) ones on Network and local machine (re-registering each time) -still no luck.
VDF is 14.1, CodeJock is 13.0.0, O/S is XP, SP3
Anyone got any ideas please?
I have re-written one of my apps to use some of the CJ Framework classes and all works well on my dev machine, so I delivered it to the customer. I first installed it on the machine where the VDF app sits, and all is fine, on the other machine, (which looks at the first one as a networked drive), after registering the new CodeJock .ocxs, it gives the dreaded 'unable to instantiate com object' error when trying to create the CommandBars object. Because I can't get this to work, I can't test all the other CodeJock components, but I have changed the program so that on startup it loads a view that uses both the CodeJock calendar & Message Box controls and they both work fine, so it seems that the issue is with the CommandBars ocx. (The one supplied with VDF14.0 as part of the DAW toolkit worked fine in the previous incarnation of the app). I have registered the control using regsvr32 and it says it is registered (but who believes anything Microsoft tells them!). I have unregistered 'old' copy of CommandBars, have tried new (v13) ones on Network and local machine (re-registering each time) -still no luck.
VDF is 14.1, CodeJock is 13.0.0, O/S is XP, SP3
Anyone got any ideas please?