flat assembler
Message board for the users of flat assembler.
Index
> IDE Development > Download Fresh 1.2 pre-alpha Goto page Previous 1, 2 |
Author |
|
decard 19 Nov 2005, 19:33
Thanks, older versions may be useful, you can send them on my email: mtymek at decard dot net (don't waste forum upload quota).
|
|||
19 Nov 2005, 19:33 |
|
kidscracker 22 Nov 2005, 20:43
decard I've just send all the versions I have to your mail,I hope you will fix and continue with Fresh.Good Luck
|
|||
22 Nov 2005, 20:43 |
|
decard 23 Nov 2005, 18:01
I get them all, thanks!
|
|||
23 Nov 2005, 18:01 |
|
decard 26 Nov 2005, 14:17
Yes, NoteIt is an old project
It uses different approach than Fresh. NoteIt uses external DLL, while Fresh is similar to FASMW - AsmEdit's source is compiled together with whole Fresh. Take a look at \source\asmedit directory. |
|||
26 Nov 2005, 14:17 |
|
Crukko 27 Nov 2005, 03:59
Thx decard!
now i know what \source\asmedit dir has....but.... how to include AsmEdit in a my new prj? how to use it? how (eventually) help in improvement? Do you think I have to open a new thread? Thx again |
|||
27 Nov 2005, 03:59 |
|
decard 27 Nov 2005, 08:23
it depends which variant you want to use. You have three options:
i. Standard AsmEdit control, from DLL (easiest ): search this forum for latest AsmEdit control in DLL (may require updating control's core to latest files, but don't worry about it), then in your program: load this DLL, call RegisterAsmEditClass function, and from now you can use AsmEdit in a similar way you use standard Edit (create window of 'ASMEDIT' class). ii. Standard AsmEdit control, compiled with your project (recommended): get latest FASMW, all files from \source\ide directory (but from \source\ide\fasmw copy only asmedit.inc and asmedit.ash). Then include asmedit.ash and asmedit.inc in your source. Add this code in the beginning (initialization part): Code: invoke LoadCursor,0,IDC_IBEAM mov [wc.hCursor],eax mov [wc.style],CS_GLOBALCLASS+CS_DBLCLKS mov [wc.lpfnWndProc],AsmEdit mov eax,[hinstance] mov [wc.hInstance],eax mov [wc.cbWndExtra],4 xor eax,eax mov [wc.hbrBackground],eax mov [wc.cbClsExtra],eax mov [wc.lpszMenuName],eax mov [wc.lpszClassName],_asmedit_class invoke RegisterClass,wc This will register asmedit. Don't forget to define _asmedit_class string. Now you can use this conrol just like in first paragraph. iii. AsmEdit control from Fresh: more difficult, as this control is more complex (has margin, supports bookmarks, themes...). You have to proceed like in ii., but there are more things to do when initializing AsmEdit: you have to provide bookmark and other icons (AEM_SETICONS message), set theme (AEM_SETTHEME)... and it requires Fresh macro library (uglobal macro). Of sourse I didn't described every detail, if you will have any problems then feel free to ask. Proably in each case you would want to set some different font after creating AsmEdit control. I'd recommend starting with ii., you have FASMW source as an example. regards, decard |
|||
27 Nov 2005, 08:23 |
|
Crukko 29 Nov 2005, 16:25
Great!!!!!!!
Let me start some experimental code, then |
|||
29 Nov 2005, 16:25 |
|
Goto page Previous 1, 2 < Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.