PlanetSquires Forums

Support Forums => Other Software and Code => Topic started by: Marco Ruiz on July 11, 2007, 06:02:38 PM

Title: Error of memory when I use an OCX / ActiveX
Post by: Marco Ruiz on July 11, 2007, 06:02:38 PM
I have created a Form with a control OCX/ActiveX in FireFly.
SO : Windows XP

The Control OCX is the FlexCell ActiveX Grid that can download from http://www.grid2000.com/download/flexcell.zip

In OCX_PROGID: FlexCell. Grid
I have compiled and executed the program without writing nothing line of code.

The Form with the Grid output on screen, but on having closed the form the following error message:

Project1.exe - Error of application The instruction in "Ox11146c70" refers to the memory in "Ox11146c70". The memory cannot "read".


What is the problem?

Title: Re: Error of memory when I use an OCX / ActiveX
Post by: TechSupport on July 13, 2007, 12:56:34 PM
Hi Marco, I am having trouble with FireFly/OCX on my Vista computer. I need to rebuild a Win2K or XP laptop this weekend. Sorry for the delay.

Title: Re: Error of memory when I use an OCX / ActiveX
Post by: Marco Ruiz on August 01, 2007, 12:18:54 PM
 :(
Title: Re: Error of memory when I use an OCX / ActiveX
Post by: TechSupport on August 01, 2007, 07:22:59 PM
Hi Marco,

Sorry about that :(   I have WinXP installed now on an old Compaq laptop. I downloaded the flexcell trial and created a simple FireFly project with one Grid control. It GPF's when the compiled program exits (same as is happening for you). I will look to see if I can track down the source of the problem.
Title: Re: Error of memory when I use an OCX / ActiveX
Post by: TechSupport on August 01, 2007, 07:36:57 PM
FlexCell is a Visual Basic written control so it uses the visual basic runtime (MSVBVM60.DLL). I remember Jose saying something about these types of controls being a problem....... I am searching for the post/email.
Title: Re: Error of memory when I use an OCX / ActiveX
Post by: TechSupport on August 02, 2007, 09:14:45 AM
Hi Marco,

Jose and Dominic posted some information about VB created controls. Please read: http://www.jose.it-berater.org/smfforum/index.php?topic=1134.0 It appears that these types of controls and FireFly's use of the ATL container could be the problem. Having said that, Dominic indicates that his Phoenix Designer can handle the control okay. Maybe you can test it with Phoenix to see if it satisfies your need.