flat assembler
Message board for the users of flat assembler.

Index > IDE Development > FreshWork 1.1.A uploaded

Author
Thread Post new topic Reply to topic
JohnFound



Joined: 16 Jun 2003
Posts: 3499
Location: Bulgaria
JohnFound 23 Nov 2004, 21:23
I just uploaded new work version (1.1.A) at the Fresh download page.
The most important things are:
1. Removed bug, that caused the color theme not to be loaded properly.
2. First version (very dirty) of the TDataGrid control: Look at "projects\TDataGrid" for simple demo application. I used some kind of different approach for this control - instead of "message driven" control, it is "procedure driven" - something like pseudo OOP. Maybe it is better, maybe not - I simply can't determine now. The prototype uploaded is not finished at all - it is read-only and still have not finished keyboard and mouse user interface.

Regards.
Post 23 Nov 2004, 21:23
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
M!kro$



Joined: 11 Nov 2004
Posts: 19
M!kro$ 24 Nov 2004, 11:43
Forgive, but under win 2000 example TDataGrid does not work: (
Post 24 Nov 2004, 11:43
View user's profile Send private message MSN Messenger ICQ Number Reply with quote
decard



Joined: 11 Sep 2003
Posts: 1092
Location: Poland
decard 24 Nov 2004, 16:11
On XP it crashes too... at address 0x77d3626b, that is somewhere in USER32.DLL.
Post 24 Nov 2004, 16:11
View user's profile Send private message Visit poster's website Reply with quote
Tommy



Joined: 17 Jun 2003
Posts: 489
Location: Norway
Tommy 24 Nov 2004, 16:22
John: Could you please fix the bug shown in the screenshot? (Thought you said you had fixed it!?)

Regards,
Tommy


Description: Screenshot of bug
Filesize: 4.24 KB
Viewed: 11849 Time(s)

screen.jpg


Post 24 Nov 2004, 16:22
View user's profile Send private message Visit poster's website Reply with quote
Tommy



Joined: 17 Jun 2003
Posts: 489
Location: Norway
Tommy 24 Nov 2004, 16:27
Another thing: The debugging process automatically terminates after a DLL-call... Any idea why? :S

BTW: TDataGrid example crashed on my WinXP too... "Access violation at $77D5E176" Sad (MenuEditor example also crashes)
Post 24 Nov 2004, 16:27
View user's profile Send private message Visit poster's website Reply with quote
decard



Joined: 11 Sep 2003
Posts: 1092
Location: Poland
decard 24 Nov 2004, 21:51
I have met a really stupid thing (not only related to Fresh, so it may be a bit off-topic...). When I imported something from ADVAPI32.DLL in Fresh source (or in any bigger program), WinXP just won t run such program. Sad Does anybody know why it can happen?
Post 24 Nov 2004, 21:51
View user's profile Send private message Visit poster's website Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3499
Location: Bulgaria
JohnFound 26 Nov 2004, 10:15
Hi, guys. Just now I am in Austria in short business trip, so I can't fix the bugs just now. I will fix them immediately after I come back to Bulgaria.
Tommy, what actually bug shows this screenshot? Please give me some description.

Regards
Post 26 Nov 2004, 10:15
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3499
Location: Bulgaria
JohnFound 26 Nov 2004, 11:05
OK, I managed to find out what is the problem win TDataGrid.
Here is the fixed version attached. Please check it under Win2000 and XP

Regards

[edit]Wrong attachement removed[/edit]


Last edited by JohnFound on 28 Nov 2004, 08:41; edited 1 time in total
Post 26 Nov 2004, 11:05
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
Tommy



Joined: 17 Jun 2003
Posts: 489
Location: Norway
Tommy 26 Nov 2004, 11:31
The editor window doesn't update when the debugging process is finished. So the area where the right column editor (showing the sub-steps of macros) is during debugging, is empty 'cause the main AsmEdit control doesn't resize...
Post 26 Nov 2004, 11:31
View user's profile Send private message Visit poster's website Reply with quote
decard



Joined: 11 Sep 2003
Posts: 1092
Location: Poland
decard 28 Nov 2004, 08:23
Hi John,
The TDataGrid example works on XP when I run attached EXE file, but it doesn't when I compile it myself. Have you included fixed sources? Confused
Post 28 Nov 2004, 08:23
View user's profile Send private message Visit poster's website Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3499
Location: Bulgaria
JohnFound 28 Nov 2004, 08:40
decard wrote:
Hi John,
The TDataGrid example works on XP when I run attached EXE file, but it doesn't when I compile it myself. Have you included fixed sources? Confused


Ah, I am simply stupid...Embarassed The changes was in "libs\TDataGrid.asm" but I attached only the demo project.... Never mind, today or tomorow I will update the whole package. Until then, you can try to fix your source manually. The problem is in the procedure OnDrawStringCell. It simply needs check if the string in the cell is NULL:
Code:
        stdcall [edi+TDataGrid.OnGetString], [.Col], [.Row], [.ptrData], [.flags], [.fFixed]
        test    eax, eax
        jz      .drawok

        mov     ebx, eax
        and     [.flags], $00ffffff
        stdcall StrPtr, ebx
        invoke  DrawTextEx, [.hdc], eax, -1, [.ptrRect], [.flags], NULL
        stdcall StrDel, ebx

.drawok:
        pop     ebx esi
    


Regards.
Post 28 Nov 2004, 08:40
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
polygon7



Joined: 14 Aug 2003
Posts: 62
Location: Poznan, Poland
polygon7 29 Nov 2004, 14:07
Hi, i try to run examples but i get errors:

CharCount - when i try to type some text -
"unknown software exception (0x80000003) at address 0x00401c76"
and Groupbox wasn't repaint correctly.

Render - When closing app - Instruction from 0x00401f4d try to write to address 0x00000000.

Simple - When i try to run "unknown software exception (0x80000003) at address 0x00401000"

Menu Editor - When i try to run "unknown software exception (0x80000003) at 0x00401916"

Win32 Template - I cant compile it -
"Error: Illegal instructions << Window frmMain,2,0,'TForm','Win32 GUI application',$16CB0000,$0,0,225,220,320,240,winprocMain >> frmMain.frm [2]"

Win98 Fix - I cant compile it -
"Error: undefined symbol << pushd SPI_SETFOREGROUNDLOCKTIMEOUT >> Fix.asm [18]" and "StdCallEx.inc [275]"

Oh, i have request - fresh "messages" window (that at the bottom of
project window) should have "copy" enabled.

Fresh v1.1.A - pre-alpha
Win2k with lastest SP
Path to fasm includes was added.

_________________
best regards
p7
Post 29 Nov 2004, 14:07
View user's profile Send private message Visit poster's website Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3499
Location: Bulgaria
JohnFound 29 Nov 2004, 14:23
polygon7 wrote:
Hi, i try to run examples but i get errors:


All that errors are because of latest changes to the standard libraries. Simply the demos are not fixed. I am sure you can create new application from available templates (file|New application) and it have to work.
Of course I will fix the demos as soon as possible.
Also I hope with every next version, the changes to the libraries will become more smaller and more compatible, but in today stage of the project it is fairly impossible. I simply try to make needed changes as easy as possible.

Quote:
Oh, i have request - fresh "messages" window (that at the bottom of project window) should have "copy" enabled.


Yes, you are right of course. btw: It is in my To-Do list. Unfortunately with low priority. If someone want to implement this function, I will be happy.

Regards
Post 29 Nov 2004, 14:23
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.