The MASM Forum Archive 2004 to 2012

Project Support Forums => IDE Development and Support => RadAsm Support Forum => Topic started by: Shantanu Gadgil on February 08, 2006, 06:16:49 PM

Title: RadASM and ResEd problem
Post by: Shantanu Gadgil on February 08, 2006, 06:16:49 PM
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!!!) :)
Title: Re: RadASM and ResEd problem
Post by: KetilO on February 08, 2006, 09:54:03 PM
shantanu_gadgil

This bugtest of RadASM fixes the problem.

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

KetilO
Title: Re: RadASM and ResEd problem
Post by: Shantanu Gadgil on February 09, 2006, 03:47:31 PM
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?
Title: Re: RadASM and ResEd problem
Post by: KetilO on February 09, 2006, 07:19:52 PM
Thats a good idea.
I have been looking for a nice way to open .bat files.

KetilO
Title: Re: RadASM and ResEd problem
Post by: Shantanu Gadgil on February 09, 2006, 07:43:41 PM
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.