PlanetSquires Forums

Support Forums => Other Software and Code => Topic started by: Noble D. Bell on October 06, 2007, 01:59:56 PM

Title: Confused about ActiveX/OCX controls
Post by: Noble D. Bell on October 06, 2007, 01:59:56 PM
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
Title: Re: Confused about ActiveX/OCX controls
Post by: TechSupport on October 07, 2007, 02:03:54 PM
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. :(
Title: Re: Confused about ActiveX/OCX controls
Post by: TechSupport on October 08, 2007, 11:47:05 AM
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

Title: Re: Confused about ActiveX/OCX controls
Post by: Noble D. Bell on October 08, 2007, 12:09:21 PM
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
Title: Re: Confused about ActiveX/OCX controls
Post by: TechSupport on October 08, 2007, 12:31:23 PM
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."