ActiveX with WCCOA COM library

Discussions about product bugs & problems!
Note: This is no replacement for the Official ETM Support!
2 posts • Page 1 of 1
jeroen.vanos
Posts:6
Joined: Wed May 30, 2012 3:17 pm

ActiveX with WCCOA COM library

Post by jeroen.vanos »

I've made an ActiveX object using C# .NET.
In this object i'm using the WCCOCOMLib.dll and calling some standard methods as isConnected(), dpSet() an dpGet().

Now I want to place this object on panel, but i get this error:

Code: Select all

WCCOAui1:WCCOAui      (1), 2013.01.18 11:32:33.751,WORK,Panel::mouseButtonEvent:2 Button:1
WCCOAui      (1), 2013.01.18 11:32:34.813, SYS,  WARNING,    15/uim, 
    Module: Gedi_1
    Panel: D:\\Projecten\\HHNK\\BOASysteem\\panels\\newPanel.pnl []
    Object: 0 named: "" of type: Reports_AquaReports
, Could not initialize ActiveX Object "Reports.AquaReports"
WCCOAui1:WCCOAui      (1), 2013.01.18 11:32:34.807,WORK,Panel::mouseButtonEvent:3 Button:1
WCCOAui1:(UNSYNCED!) WCCOAui      (1), 2013.01.18 11:32:34.812 CPVSS::isConnected()
WCCOAui1:(UNSYNCED!) WCCOAui      (1), 2013.01.18 11:32:34.812 CPVSS::dpNames()
Is there any way to get to finding the specific reason for the object not working? This error doesn't get me any further.
Are there any special methods, or settings that I need to include in the code?

If there is more information needed, i'm willing to post this. Just let me know what you need.

Image Thanks
Attachments
ActiveX.png

fmulder
Posts:330
Joined: Wed Feb 03, 2010 9:46 am

Re: ActiveX with WCCOA COM library

Post by fmulder »

Jeroen,

Try the Dependancy Walker. It could show you that certain DLL's are missing.
http://www.dependencywalker.com/
Run this tool, locate your ActiveX.

Also, try running the GUI from your debugger.

- Setup PVSS00UI as the program to run when debugging
- add the arguments '-currentproj -m gedi'

Good luck

Frenk Mulder

p.s.
If you want to learn real programming, then try to develop in Qt. It has many advantages and will integrate much better in PVSS.

2 posts • Page 1 of 1