Page 1 of 6
FWH Resources Editor - Speed test
Posted: Mon Dec 03, 2007 11:54 am
by Antonio Linares
This is just a speed test to check how fast we can open a RC file.
Please download this very early prototype and open the largest RC that you may have:
http://rapidshare.com/files/73981103/re.zip.htmlNow we just need to know if we are fast enough opening and parsing a very large RC file, thanks!
![Smile :-)](./images/smilies/icon_smile.gif)
Posted: Mon Dec 03, 2007 12:39 pm
by Otto
Speed is realtime!
Re: FWH Resources Editor - Speed test
Posted: Mon Dec 03, 2007 12:42 pm
by Enrico Maria Giordano
Is instantaneous with a 370 KB RC file here.
EMG
Posted: Mon Dec 03, 2007 1:01 pm
by driessen
Antonio,
The biggest RC-file I have is as big as 2.2 MB.
It contains :
- 644 Dialog boxes
- 106 Bitmaps
- 8 Icons
Your prototype opens my RC-file in approx. 1 min.
But I'm looking forward to the evolution of your resource editor.
Good luck.
Posted: Mon Dec 03, 2007 1:11 pm
by Enrico Maria Giordano
You should test removing bitmaps and icons from the RC.
EMG
Posted: Mon Dec 03, 2007 10:02 pm
by Robert Frank
Antonio, your application doesn't open strings like:
STRINGTABLE LOADONCALL MOVEABLE DISCARDABLE
{
8100, "sekcja bazy danych RR - buttonbar"
.......
8110, "Przyporz\271dkowanie numeru zlecenia F11"
}
Speed is realtime.
Posted: Mon Dec 03, 2007 10:19 pm
by Antonio Linares
Robert,
Thank you!
![Smile :-)](./images/smilies/icon_smile.gif)
Speed
Posted: Mon Dec 03, 2007 10:59 pm
by TimStone
Yes, it loads it fast and opens as text ....
Posted: Tue Dec 04, 2007 3:44 am
by jose_murugosa
Antonio me parece excelente que se desarrolle un resource editor de Fivewin!!!!!!!!!!
ups se me escápó en español
With a 560K RC with dialogs bitmaps and icons it takes 7 seconds in a Standard P4 3GHz.
Posted: Tue Dec 04, 2007 12:33 pm
by Antonio Linares
The FWH resources editor early-prototype is already opening some dialogs
![Smile :-)](./images/smilies/icon_smile.gif)
It uses dynamically built in memory resources (without using an external RC compiler) and not using @ ..., .... See how it looks:
![Image](http://img90.imageshack.us/img90/8013/reop8.png)
Posted: Tue Dec 04, 2007 1:16 pm
by driessen
Antonio,
Great work. It looks very good.
Maybe, you could reload the program for some more testing.
Thank you very much.
Posted: Tue Dec 04, 2007 1:52 pm
by Antonio Linares
Posted: Tue Dec 04, 2007 2:02 pm
by Antonio Linares
Michel,
Here it is, with full source code and two tested and working RCs:
http://www.hotshare.net/file/20427-79991842b4.htmlPlease note that Borland support is not available yet, so you will get an error if you try to open a dialog with Borland controls. Also, not all controls and styles are supported yet, so be patient with errors
![Smile :-)](./images/smilies/icon_smile.gif)
In case that you want to rebuild RE.prg yourself, you do need new FWH libraries. FWH 7.12 users may request them by email to me, thanks!
Posted: Tue Dec 04, 2007 2:11 pm
by Antonio Linares
Please download it again to avoid a nasty popup MsgInfo()
![Smile :-)](./images/smilies/icon_smile.gif)
If you try to build it with your current FWH build, it will _not_ work, as we have changed several used C functions.
I forgot to mention this: double click on the dialog tree item to open it!
![Smile :-)](./images/smilies/icon_smile.gif)
Finally: You, all, are welcome to participate in its development
![Wink ;-)](./images/smilies/icon_wink.gif)
Thanks,
Posted: Tue Dec 04, 2007 2:30 pm
by Antonio Linares
Please download it again:
http://www.hotshare.net/file/20432-128346049f.htmlThere was a "confusion" with nTop and nLeft
![Smile :-)](./images/smilies/icon_smile.gif)
Thanks!