News:

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

RadASM and ResEd problem

Started by Shantanu Gadgil, February 08, 2006, 06:16:49 PM

Previous topic - Next topic

Shantanu Gadgil

Hi KetilO,
This is what I want to do:
*) Use RadASM as my IDE. :) (doh!)
*) NOT USE the ".dlg" way of creating dialogs. (So basically keep all the resources in one .rc file!)
*) Use ResEd to edit this .rc file. (why, because ResEd simply rocks !!!)

So far so good...

If I double-click the .rc in the "Project Browser" window, RadASM loads it as plain text. (as expected)

If I use "Externel File Types" and create an association of ".rc" with ResEd.exe, on double-clicking the ".rc" in the "Project Browser" window successfully launches ResEd.exe, but I get a MessgeBox which says: (Ctrl+C of messagebox text below)
--- Ctrl+C ---
---------------------------
Resource editor
---------------------------
Cannot open the file

---------------------------
OK   
---------------------------
--- Ctrl+C ---

So, I figure (most likely !!! :)) what is happening is that the FULL PATH of the ".rc" is not being passed to ResEd.exe! :)

Also could this be done that when ResEd.exe is launched from RadASM, the "current directory", ie from where ResEd.exe is launched is the same as the directory of the ".rc" file? (I don't know whether this is already being done!!!) :)
To ret is human, to jmp divine!

KetilO

shantanu_gadgil

This bugtest of RadASM fixes the problem.

http://www.radasm.com/Upload/RadASM2207.zip

KetilO

Shantanu Gadgil

YES !!! It works. Thanks  :U

Can a feature of STILL making RadASM load the file as plain text be kept?
Say on CTRL+doubleclick it will load as plaintext and on normal double-click load it in the associated externel application.

This (feature? :green ) can be kept for ALL the files!
Say what?
To ret is human, to jmp divine!

KetilO

Thats a good idea.
I have been looking for a nice way to open .bat files.

KetilO

Shantanu Gadgil

just a thought...how about some other (more complex) key combo to launch EXEcutable files (.EXE, .COM, .BAT, .CMD, etc), you know security concerns :bg

or...some irritating MsgBox which will be shown (optionally can be disabled :green) when launching EXEcutable files.
To ret is human, to jmp divine!