Single instance now works on NT/2k/XP.

The zip contains RadASM.exe only.

KetilO

Attachment deleted.
Posted on 2002-03-11 17:38:43 by KetilO
Hi!KetilO:

Ur program in the aspects of detecting one instance have some mini bug when it is not active window, code should like below:


invoke FindWindow,addr MdiClassName,NULL
.if eax
mov hWnd,eax
invoke IsIconic,hWnd
.IF eax == 0
invoke SetForegroundWindow, hWnd <==this line should be added
.ELSE
invoke ShowWindow, hWnd, SW_RESTORE
.ENDIF
invoke SendMessage,hWnd,WM_USER+998,0,CommandLine

in addition, the way you check single instance is not the best method, but what I want to tell u is somewhat complicated, I don't know how to express it, maybe show some code to illustrate it!

dREAMtHEATER
Posted on 2002-03-12 04:25:53 by dREAMtHEATER
Ur program in the aspects of detecting one instance have some mini bug when it is not active window

You must have meant "minimized" ?
Posted on 2002-03-12 05:22:34 by The Svin
Hi dREAMtHEATER

My descition to not make RadASM topmost stands. I would guess you use explorer to open several files at the same time. The explorer would fall behind RadASM all the time and would be more anoying than having to click on RadASM window when you are done.

KetilO
Posted on 2002-03-12 05:43:45 by KetilO
Hi KetilO
Having to click on RadASM window when you are done, I think it would be more anoying!

dREAMtHEATER
Posted on 2002-03-12 08:08:15 by dREAMtHEATER
Hi dREAMtHEATER

One of the really nice things about creating your own IDE: Your the boss. :grin:

KetilO
Posted on 2002-03-12 08:12:17 by KetilO
Hi KetilO

seems to be a great tool!

But when I want to open a asm file I get a message about Riched20.dll version 2.0 an that RadASM will propably not work.

It does work but I see the code two times in the same window. One time in grey and one time colored.

edit: It's only when I use the scrollbar to scroll. With mousewheel or key scroll the colored text matches excactly the grey one and it looks even better. :grin:

... uh, it doesn't match! the colored text is aligned to the left side.
Posted on 2002-03-12 09:20:35 by TCT
Hi TCT

RadASM needs riched20.dll version 3. Try searching for it on the internet. It should have a size about 430k.

KetilO
Posted on 2002-03-12 19:55:05 by KetilO
I get GPF (Memory access violations) sometimes.
Happens when openning files.

Something funny also happens with locale characters displayng
sometimes.
They periodically is shown right way, then after some operation -
wrong way, then ???? symbols, then again normal.

NT 4 WS SP 4.
Posted on 2002-03-13 03:05:06 by The Svin
Hi The Svin

BTW Svin = Pig in Norwegian. :grin:

I get GPF (Memory access violations) sometimes.

This problem should have been solved in 1.1.0. It happend when you have a code window with no scrollbars and then opened a window with scrollbars. This caused a stack overflow. Bugs in asm can be really weird.

Something funny also happens with locale characters displayng
sometimes.
They periodically is shown right way, then after some operation -
wrong way, then ???? symbols, then again normal.

I guess you are talking about Russian charset. Does the text display normally when in a selection? I would guess it is caused by the syntax hiliting not using the correct font. I currently have no idea on how to solve this problem.

Look here

KetilO
Posted on 2002-03-13 03:54:50 by KetilO
BTW Svin = Pig in Norwegian


In Russian too. The Svin is kinda title as with The Knight.

GPF occuring when opening file.
Posted on 2002-03-13 03:59:16 by The Svin
Hmm, I can't find the riched20.dll .
Why not include it in RadASM?
Posted on 2002-03-14 05:09:58 by TCT
Hi TCT

Look here

KetilO
Posted on 2002-03-14 07:49:07 by KetilO
Hi,

is it possible to download RadASM source code ?
Thanks.

Manu.
Posted on 2002-03-15 01:52:57 by manubee
Hi manubee

Some of the source can be found Here

The complete source has not been released yet.

KetilO
Posted on 2002-03-15 02:24:14 by KetilO
Hi,
and thanks a lot for the source code.
I'm very interested in IDEs development in general, and RadASM is a very good IDE i think.
It makes me regret to be more a C++ coder than an ASM one.
(I'm not so good in programming to code in ASM. :) )

I'm also working on an IDE project, but for C++.
http://visual-mingw.sourceforge.net/

By the way, i have another question, do you wish to make RadASM an Open Source project ?
I think a RadASM project at SourceForge would be excellent.

Best regards,
Manu.
Posted on 2002-03-15 06:18:51 by manubee
Hi manubee

Open source, I don't know. Someone still has to administer and that person is not me. When I release the complete source it will be because I want to pull out of the project.

KetilO
Posted on 2002-03-15 14:02:44 by KetilO
Hi all

First part of ReallyRad.

Unzip to temp folder and read the ReadMe.txt file.

Note: You need RadASM 1.1.0

KetilO
Posted on 2002-03-25 17:21:04 by KetilO