News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

RadASM 3.0 bugtest

Started by KetilO, May 31, 2010, 12:28:11 PM

Previous topic - Next topic

KetilO

Hi Edgar

Calling lpOpenTheFile should work. As the file type you can use 0 or ID_PROJECT (6). If 0 then RadASM will check the file extention.
RadASM will close the current project and open the new project.

KetilO

KetilO

Hi GregL

You could try:
"C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\VCExpress.exe /debugexe"
or
"C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\VCExpress.exe" "/debugexe"

RadASM will add the exe filename, no need to include that.

KetilO

donkey

#152
Hi Ketil,

A bit of a strange one while updating the favorites addin for v3. Is there anything in version 3 that would affect the data attached to a menu item ? I use Set/GetMenuItemInfo to attach the address of a buffer to each favorite in the menu. This part of the program works fine in version 2 and I left it unaltered for v3 but it doesn't work. The value that is originally attached when the item is created changes by the time the menu item is selected. If you are using the MENUITEMINFO.dwItemData member for something I will find another way to attach the number but I would rather not as its such a convenient way to do it.
"Ahhh, what an awful dream. Ones and zeroes everywhere...[shudder] and I thought I saw a two." -- Bender
"It was just a dream, Bender. There's no such thing as two". -- Fry
-- Futurama

Donkey's Stable

donkey

#153
Well, I decided to avoid using dwItemData since I could not identify what was changing the data and without being absolutely sure it would be risky even if I could have found a way to make it work. Instead I went with a buffer that is parallel to the item IDs, it contains the pointers to the buffers that hold the file names. This seems to work well enough and is pretty quick. I had to modify quite a bit of the code to be able to accommodate the change so I will need people to bug test it:

Note that you will need the latest version of the headers to build this project:

"Ahhh, what an awful dream. Ones and zeroes everywhere...[shudder] and I thought I saw a two." -- Bender
"It was just a dream, Bender. There's no such thing as two". -- Fry
-- Futurama

Donkey's Stable

donkey

Cleaned up the code and modified it to support the latest header files uploaded today. Also added description to the project summary though I kind of used a kludge to get it, it should be fine for uncomplicated project descriptions. I also took care of a couple of minor bugs that I found over the course of using it for a full day. There is a new upload in the post above this one.
"Ahhh, what an awful dream. Ones and zeroes everywhere...[shudder] and I thought I saw a two." -- Bender
"It was just a dream, Bender. There's no such thing as two". -- Fry
-- Futurama

Donkey's Stable

GregL

KetilO,

Neither of those worked. Oh well.

Thanks.


KetilO

Thanks Edgar

Your addin has been included in the download.

KetilO

ragdog

Hi

If i open Radasm and close it without a project have i this bug

Quote
Module name: RadFavs.dll (RadASM version 3.0.0.7)
Windows version 6.1
Exception code: C0000005h
EXCEPTION_ACCESS_VIOLATION
Instruction pointer: 01851369h

Registers:
eax=FFFF63B9h ebx=00000003h ecx=018541A0h
edx=00000057h esi=00000003h edi=004B841Ch
ebp=0012E9A0h esp=0012E99Ch eip=01851369h

Segment registers:
CS=001Bh DS=0023h SS=0023h
ES=0023h FS=003Bh GS=0000h

Flags: SF IF

Stack:
FFFFFFFF 00000010 00000000 0012E9E4
018512FB 006C0497 00000000 012800B0
00000000 00000001 00000000 00000000
0012E988 0000029E 0012EB38 775162E3

donkey

Quote from: ragdog on October 30, 2010, 10:17:09 AM
Hi

If i open Radasm and close it without a project have i this bug

Hi ragdog,

The first version of radfavs I uploaded had this bug, there was only one download when I corrected it and uploaded a correction. Could you download the version in my post above and replace the Radasm\addins\radfavs.dll file with the one in that archive. It should solve your problem.

Edgar
"Ahhh, what an awful dream. Ones and zeroes everywhere...[shudder] and I thought I saw a two." -- Bender
"It was just a dream, Bender. There's no such thing as two". -- Fry
-- Futurama

Donkey's Stable

ragdog

No i have this same problem by a not opening project

you can test it open radasm without any project and close it with the X button on the Sysmenu

I use Win7

donkey

#160
Hi ragdog,

Seems that I was checking for 0 when I should have been checking for -1, this was a problem introduced when I changed a bunch of the code for Radasm 3. This should take care of it:

"Ahhh, what an awful dream. Ones and zeroes everywhere...[shudder] and I thought I saw a two." -- Bender
"It was just a dream, Bender. There's no such thing as two". -- Fry
-- Futurama

Donkey's Stable

ragdog

Yes it works now thanks :U

cookj

Hi Ketilo

Thanks for the following fixes!

"o Fixed dialogs where labels was too small to show all text."
"o Fixed a menu bug if a large menu font was used."

I reported the problem back in September 2010 and you
fixed it promptly.  I am late replying because I had to
go to the hospital the same day and spent 6 weeks in
the hospital.  It is good to be out.

I have a couple more problems if you do not mind.

If I set the color scheme to Visual Studio but make the
fonts in the code editopr bold it reverts back to plain
once I exit out and load the file up again.  Is this the
way it is supposed to work?

How do I copy my color scheme over from radasm 2?

I really like the way I have it set up.  Are the numbers
representing the colors in Radasm 2 in the same order
as the numbers in Radasm 3?

I noticed that you do not have labels anymore in menu.ini
in Radasm 3.  I am just looking for an easy way to transfer
the color scheme and if there is not then no big deal.

Thankis again for all of your hard work.  I have a major
project to work on and your IDE will help me speed things
along.


John









obj2010

Hello everyone,
I'm new to RadASM, I'm trying 3.0.0.7e version but can not find the toolbar creator (I tried the 2.2.2.0 and it works)?!?
Can you tell me if there is and in what menu?

Regards.

Sorry for the google translation.  :red

donkey

Quote from: obj2010 on November 03, 2010, 10:20:02 PM
Hello everyone,
I'm new to RadASM, I'm trying 3.0.0.7e version but can not find the toolbar creator (I tried the 2.2.2.0 and it works)?!?
Can you tell me if there is and in what menu?

Regards.

Sorry for the google translation.  :red

It looks as if the addin has been only partially translated, the menu item is never inserted since the UpdateMenu proc has been commented out. Funny that it would be included with the distribution even though it is not complete. At worst you could finish it up yourself

Uncomment UpdateMenu proc
Uncomment the AIM_MENUUPDATE message handler in AddinProc

No MASM on this laptop so I can't check this but it might work

Edgar
"Ahhh, what an awful dream. Ones and zeroes everywhere...[shudder] and I thought I saw a two." -- Bender
"It was just a dream, Bender. There's no such thing as two". -- Fry
-- Futurama

Donkey's Stable