Hi, a revised version of createproject.dll

Bug fix: The bug that caused RadASM to GPF still remained if option=2 in RadAsm.ini. It is fixed now.

There is still a bug. If you after startup of RadAsm open a project with no
file activated, the menuitem "Create Project" is enabled thus,
you can create a project file in spite of an exixting project file.

This bug vill not cause RadASM to GPF, as far as I know.

Here is the current code snippet.

; Always return FALSE
;Find out if a file is activated
mov eax,[lpDStruct]
assume eax:ptr ADDINDATA

mov eax,dword ptr [eax].lpFile
mov lpTemp,eax
mov eax,dword ptr [eax]
.if eax!=0
;A file is active
mov eax,lParam
.if eax==1 ;File popup menu =1 when file is loaded else ==0
;Find out if there is a project file in folder
invoke lstrlen,lpTemp
.if eax!=0
invoke FindRap,lpTemp
mov eax,TRUE
.if eax==TRUE
;Yes, there is a project file but not loaded
invoke EnableMenuItem,hMnu,IDCreateProject,MF_GRAYED
;No, there is no project file in folder
invoke EnableMenuItem,hMnu,IDCreateProject,MF_ENABLED
Posted on 2003-06-10 14:30:56 by minor28
Hi donkey

There is a problem with link error messages. I will fix it.

Posted on 2003-06-10 16:05:46 by KetilO
Hi. Ketil, you forgot to put the new buttonchanger.dll
Posted on 2003-06-12 15:23:11 by Milos
Hi KetilO,

In fasm.ini,


i think this is more suitable for users.

Posted on 2003-06-12 17:41:23 by cakmak
Hi milos


New upload of

Posted on 2003-06-13 03:51:19 by KetilO
Hi cakmak


I will add it.

Posted on 2003-06-13 03:52:33 by KetilO
Hi KetilO,

In Fasm,

1. If an error exist, output window closing immediately and caret is not setting focus in output window.

2. In output window double_click on error line is not going to relevant line.

Posted on 2003-06-14 10:06:26 by cakmak
Hi cakmak


I will fix the bug.

Posted on 2003-06-15 04:22:07 by KetilO

Hi Ketil,

I can't get Melt 2.0.10 to work with RadASM

Can you send to me program Melt 2.0.10 ??? I don't download not link.
Posted on 2003-06-15 10:36:44 by NetStaVi
Hi all

RadASM is uploaded to my website.

Whats new:
- Fixed a few bugs in RAEdit
- Added support for enviroment variables read from assembler.ini.
..See RadASMini.rtf section for more info.
- Made several changes to fasm.ini, hla.ini and goasm.ini
- Added addinmessage AIM_COMMAND and AIM_COMMANDDONE to properties context menu.

Posted on 2003-06-16 08:34:49 by KetilO
Hi all

With RadASM you now have the option to start a debugger with the run command.

Change the project option run command from:




The logical thing would be to do this on debug build only.

Posted on 2003-06-17 03:30:48 by KetilO
Hi KetilO,

Did you fixed the output error for Fasm? Or, i am doing something wrong? Still output closing and dbl-click doesn't go to relevant line.

Posted on 2003-06-17 18:45:40 by cakmak
Hi cakmak

My guess is that the assemble command is wrong so that RadASM does not detect that an error occured.





Posted on 2003-06-18 00:57:24 by KetilO
Thanks KetilO,

Now output working correctly. And a little suggestion, if user Set assembler from project menu then new project wizard first dialog automatically sets(combobox) to current assembler.

Posted on 2003-06-18 15:04:32 by cakmak
Hi Ketil.
Can you make the autocomplete list box's border non sizable and maybe it will look better with WS_BORDER ?

BTW, how can I change the font style in the output window?
Posted on 2003-06-18 16:06:50 by Milos
I never had problem with the list box size. I always type the name by hand untill I'm sure its the one I want, before I make RadASM autocomplete it. Saving the size would be nice.

I made a change to FlipCase.dll

I have a huge problem with output window popping up when I miss the line numbering or procedure collapsing buttons (the 3 little ones on the bottom of edit windows), so I made it not to popup if mouse is below these. What i did is just to move the left border 44 pixels to the right :tongue: I also removed 2 nonessential "pop eax" in front of invoke <something>, eax by substituting the invoke with simple call <something>...and maybe a few similar things :) It was stronger then me, I couldn't resist. :tongue:
Posted on 2003-06-19 16:04:55 by Milos
Hi Milos

It has driven me nutz too. Didnt think of that simple solution.

Posted on 2003-06-20 09:08:31 by KetilO
Hello Ketil,
I just found a bug in RadASM.

I opened a project and a few pages long source file and then split the screen. I had the top part on the .DATA section and the bottom part was somewhere close to the bottom of the file. When I tried to add a structure to .DATA like this: SomeStructure STRUCTURENAME <NULL, NULL>, using autocomplete to type in "NULL" for me, the bottom half of the edit window didn't change it's scroll position but it drew text from the very top of the source. It ramained like this until I slided the scroll bar a little.

Another bug:
add this to the top of your file:

similar. If you want to inject a structure between struct A and B

A structure "similar." will be inserted in the structure list and when you double click it RadASM crashes.

BTW. How come date with the type being some structure isn't added to the .DATA list in properties?

This is all.I am going to a holiday now. See you all in about a month.
Posted on 2003-06-20 14:04:53 by Milos
And speaking of double clicking in the properties window ...

I had assumed that procs in the list had the following format


But if I put that into my new export list (i.e. copy it directly from the .code list) RadASM crashes when it is double clicked. Is there something I'm missing ?

One other question...

Is the current list of procs displayed in the .code list available when it is not being displayed? I am trying to copy it to an array when it is refreshed but there is no way to reliably do this because the procs may not be displayed when refresh is pressed.
Posted on 2003-06-20 14:31:25 by donkey
Hi donkey

I had assumed that procs in the list had the following format


But if I put that into my new export list (i.e. copy it directly from the .code list) RadASM crashes when it is double clicked. Is there something I'm missing ?

The problem is that RadASM uses the property combo list index in the search.

1. Download RadASM 2027 from here
2. Set the ItemData of your combo item to 0. RadASM sets ItemData to 6 so you might get some trouble keeping the 0.

List of procs is lost if not .code is selected.

Posted on 2003-06-20 15:44:17 by KetilO