Confused about ActiveX/OCX controls

Started by Noble D. Bell, October 06, 2007, 01:59:56 PM

Previous topic - Next topic

Noble D. Bell

Hello,

I am new with FireFly and PowerBasic for Windows. I have an ActiveX control that I would like to try and get to work with FireFly and PowerBasic for Windows. The ActiveX control is for a software protection system called 1Way. It has two ActiveX/OCX controls and I am having trouble with getting them to work in FireFly. I follow the instructions in the FF help document but I keep getting an Error #1236812, releasing TLibAttr. I am running the latest version of PB and the latest version of FF. I am using Windows Vista Home Basic.

Any thoughts or suggestions?

Thanks in advance,
Noble

TechSupport

Hi Noble, there appears to be problems with the TypeLib Browser under Vista. I have sent an email to Jose to see if he knows of a reason for the error. :(

TechSupport

Hi Noble,

Jose has fixed the error problem (that man is amazing). Please download the fixed FireFly TypeLib Browser DLL and copy it over the existing DLL located in the FireFly installation directory.

http://www.planetsquires.com/files/TB_FFCOM.zip


Noble D. Bell

You are not to shabby yourself.  ;)

I will download it tonight and give it a try. Any thing you care to share as to why it was not working with Vista?

nb

TechSupport

I hope that Jose does not mind me quoting his response to me but I do want to give him full credit for fixing this problem. Here is what Jose said:

Quote
"The problem is that there are four Releasexxx functions that in fact are subs. The MSDN documentation wrongly declares them as returning an HRESULT, but in the C headers they are declared as void."