PlanetSquires Forums

Support Forums => Other Software and Code => Topic started by: John Messingham on February 18, 2005, 01:37:46 PM

Title: Egrid/FF Problem
Post by: John Messingham on February 18, 2005, 01:37:46 PM
Hi All,

I have installed EGrid pro today in the custom controls area of FF. I seem to have a problem. As I am typing or pasting code, the editor seems to freeze for a moment. I removed the EGrid folder from the custom control area and it is all ok again.

Has anyone else come accross this?
Title: Egrid/FF Problem
Post by: Marc Van Cauwenberghe on February 18, 2005, 03:10:46 PM
Hello John,

sorry this time I have no idea.
Installing egridpro is strait forward as I can remember.
Just made a subdir in the costumcontrols map with name SweetHeartGames and then an other subdir named egrid32.  Then I just copied dll, inc and xml file in there.

Is the editor behaving like this in a new project where you haven't added an egrid control but with the folder in place or after you added the control?

Marc
Title: Egrid/FF Problem
Post by: John Messingham on February 18, 2005, 03:16:30 PM
The problem occurs with the control in the folder even if it is not used in the project. As soon as I delete the folder the problem goes away.
Title: Egrid/FF Problem
Post by: John Messingham on February 18, 2005, 03:18:05 PM
Hi Marc,

I should have asked you what version of the grid are you using? I am using 3.15.7.0
Title: Egrid/FF Problem
Post by: Marc Van Cauwenberghe on February 18, 2005, 06:11:58 PM
John,

strange I just downloaded the new one and the dll said version 3.15.6.0.
I'm used to downloading all versions as soon as they come available so that is probably not the cause.
What version of Firefly are you using?

Marc
Title: Egrid/FF Problem
Post by: John Messingham on February 18, 2005, 07:05:29 PM
Hi Marc,

FireFly version 1.10
EGrid Version 3.15.07

Elias is testing from his end as well.
Title: Egrid/FF Problem
Post by: Elias Montoya on February 18, 2005, 08:38:24 PM
Edited... missunderstood the question. Ill check for that.

Elias :)
Title: Egrid/FF Problem
Post by: John Messingham on February 18, 2005, 08:44:53 PM
Elias,

Thanks for the update.
Title: Egrid/FF Problem
Post by: Elias Montoya on February 18, 2005, 08:56:07 PM
The Egrid32 XML file is huge... maybe Firefly is having a hard time looking
for words to autocomplete what you are typing... im not sure lets ask paul about this...

You say the IDE pauses even if you dont use Egrid32 in your forms, So, a way to test this is... Replace Egrid32PRO.dll with any other dummy DLL, and restart firefly. If the problem still exists, then it does not have anything to do with the EGRID32PRO.DLL, and most likely is Firefly having a hard time handling the XML definitions. Please let me know the results.


Elias :)
Title: Egrid/FF Problem
Post by: John Messingham on February 18, 2005, 09:00:14 PM
Elias and Paul,

1.- Does Firefly crash or something With egrid32?

No.

2.- Does firefly pause while in form design or only in code typing??

   Only in code typing.

3.- Does firefly pause even if you are not typing anything?

   When I go into the code editor FireFly pauses before allowing editing.

If I remove the EGrid folder from the custom control folder, the problem does not occur.

Hope this helps.
Title: Egrid/FF Problem
Post by: Elias Montoya on February 18, 2005, 09:03:13 PM
Yes. That confirms what i was guessing. as a final test, please try the
experiment i posted right before you posted, seems like our posts crossed.

Elias :)
Title: Egrid/FF Problem
Post by: John Messingham on February 18, 2005, 09:11:31 PM
If I replace the EGrid dll with another dll (I used the PBVList dll) the problem does not occur.
Title: Egrid/FF Problem
Post by: Elias Montoya on February 18, 2005, 09:15:04 PM
Maybe Firefly dont load the XML if it dont find the dll, try renaming the dummy dll (PBVLIST.DLL) as Egrid32pro.dll

I need to know what Firefly does with The dll when firefly opens... If no Egrid's are running then i have no idea what is going on in the back ground....

Elias :)
Title: Egrid/FF Problem
Post by: Elias Montoya on February 18, 2005, 09:21:41 PM
I almost have to go... usually at 6pm, if i dont reply anymore, dont think im dead hehehe, i will keep investigating, and i will return tomorrow.

Elias :)
Title: Egrid/FF Problem
Post by: John Messingham on February 19, 2005, 09:05:21 AM
I have tried Egrid( 3.15.07 , 3.08 ) with versions 1.06, 1.09, 1.10 of FireFly, I get the same problem all the way through.

Marc, if you see this can you let me know what version of EGrid/FF you are using, I am starting to think this is a problem only I get. I have tried this all out on XP(home), Win98se and 2000(server) and get the problem on all tests.

Cheers
Title: Egrid/FF Problem
Post by: Marc Van Cauwenberghe on February 19, 2005, 10:34:58 AM
John,

This is indeed a strange problem.  I just downloaded firefly 1.10 and reinstalled it to a different folder.  I added the folder under customs controls but did not get any of the symptoms you get.

Marc
Title: Egrid/FF Problem
Post by: John Messingham on February 19, 2005, 11:06:25 AM
Very strange, I have tried it on three machines with different O/S's and get the same problem on all.
Title: Egrid/FF Problem
Post by: TechSupport on February 19, 2005, 01:31:23 PM
Hi Guys,

Sorry for being late jumping in on this problem. I expect that the problems relates to FireFly attempting to verify its location in the code editor after a key is pressed. When a key is pressed, FireFly will attempt to locate which Sub/Function that it is located in and update the comboboxes if necessary. There is some XML file access that occurs at this point. I assume that because the XML is so big that finding the correct node is a slowdown???? Not sure.

Nonetheless, the XML handling for 3rd party controls is eliminated for the next version of FireFly so I expect that this problem will disappear. Sorry for the problem - I'll try to find an appropriate interium fix for you.
Title: Egrid/FF Problem
Post by: John Messingham on February 19, 2005, 01:55:50 PM
Hi Paul,

Does the fact that this happens even if I have not added the grid to my project throw any spanners into your theory?
Title: Egrid/FF Problem
Post by: TechSupport on February 19, 2005, 06:44:31 PM
Quote from: John MessinghamHi Paul,

Does the fact that this happens even if I have not added the grid to my project throw any spanners into your theory?

Yeah, it sure does! It basically shots my theory down.

FireFly attempts to load the egrid DLL in order to allow it to stay in the FireFly Toolbox. I will have to take a much closer look at the FireFly/EGrid integration - I will coordinate with Elias. It would be a shame if we can't get FireFly and EGRid to play together well.
Title: Egrid/FF Problem
Post by: Elias Montoya on February 19, 2005, 08:03:46 PM
I kinda knew firefly was doing some job in the background related to
XML, the pause was present in slow PC's only, right?

However, as paul says, lets dig on this deeper. Paul, just let me know what i can do to help you and i will try hard.

Elias :)