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

PauloH

#30
Hi, KetilO

When I try to add an existing file to a project, RadAsm 3.0 doesn't like it! I have to shutdown RadAsm and start it again. So it accepts the new (or existing file) in to the new project. Is this a bug or am I missing something?
Thanks for this new release. As soon as I can, I will send you some templates.

Thanks,

PauloH.

PS: The external debugger in the make options menu doesn't open any box to select the debugger.

Gunner

Here is a screen shot of olly
~Rob (Gunner)
- IE Zone Editor
- Gunners File Type Editor
http://www.gunnerinc.com

jcfuller

I too need a bit of hand holding on getting bcc to compile anything?
I really want MinGW g++ but  bcc is ok for now; and if I get that going maybe I can figure out how to add g++

James

donkey

Hi Ketil,

Very nice ! The make options for GoLink should be just $C $M $R, GFL.txt and /entry are no longer necessary when using the header project. Hope to convert some projects on the weekend.
"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

KetilO

Hi Shantanu Gadgil

QuoteQuick question: how do we edit the values of "A", "B"
I am guessing you mean the acronymes $A $C $D $M $O and $R
None are editable.

KetilO

KetilO

Hi PauloH

If the file is open you cant use add existing.
Use current open file or all open files. All open files will only add files that are not in the project.

This behaviour will be changed as it is confusing.

You select an external debugger with Options / Make Options

KetilO

KetilO

Hi Gunner

It seem like the project contains non existing files.
It would be very interesting to have a look at the complete project.

KetilO

KetilO

Hi jcfuller

You dont give mush information. What is the problem?
The important thing is to have Options / Environment correctly set up.

KetilO

KetilO

Hi Donkey

Thanks, I hope you will be able to create more build options, tempales, sniplets and examples for GoAsm.

KetilO

jcfuller

Quote from: KetilO on June 12, 2010, 09:21:35 AM
Hi jcfuller

You dont give mush information. What is the problem?
The important thing is to have Options / Environment correctly set up.

KetilO

I did, so I figured there must be something I was missing. I have path,include, and lib set in the Environment options.

I don't know how Radasm uses these (set them as OS Environment var?) as it does not pass them on the commend line.
If I drop down to a command prompt and use -I and -L with the paths the sample compiles and runs fine?

What am I missing?

result from Radasm:


BCC32 /c /tW "TestWin.cpp"
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
TestWin.cpp:
Error E2209 TestWin.cpp 1: Unable to open include file 'windows.h'
Error E2141 TestWin.cpp 4: Declaration syntax error
Error E2141 TestWin.cpp 6: Declaration syntax error
Error E2141 TestWin.cpp 9: Declaration syntax error
*** 4 errors in Compile ***

Error(s) occured.



James

jcfuller

DUH....
Never mind (I think) RTFM!!! (Bcc & RadAsm)
I have configured everything now so the compiler linker finds everything
I'm still getting a bad build though maybe I messed with the compiler options in the bcc.ini?



BRCC32 /v /32 "TestWin.rc"
Borland Resource Compiler  Version 5.40
Copyright (c) 1990, 1999 Inprise Corporation.  All rights reserved.
Lines: Current 0, Total 0
New File: TestWin.rc
Lines: Current 1, Total 0
New File: D:\RadAsm\Bcc\Projects\TestWin\TestWin.rc
Lines: Current 1, Total 0
Defining IDI_MAINICO
Lines: Current 2, Total 1
Compiling ICON: IDI_MAINICO
Lines: Current 0, Total 2
New File:

BCC32 /c /tW "TestWin.cpp"
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
TestWin.cpp:
Warning W8057 TestWin.cpp 52: Parameter 'hPrevInstance' is never used in function __stdcall WinMain(HINSTANCE__ *,HINSTANCE__ *,char *,int)
Warning W8057 TestWin.cpp 52: Parameter 'szCmdLine' is never used in function __stdcall WinMain(HINSTANCE__ *,HINSTANCE__ *,char *,int)

ILINK32 /aa /c /x /Gn /Tpe c0w32.obj "TestWin.obj" ,"TestWin.exe",,@D:\RadAsm\Bcc\GFL.txt,,"TestWin.res"
Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
Fatal: Unable to open file 'C0W32.OBJ'

Error(s) occured.



James

KetilO

Hi jcfuller

Borland uses .cfg files and does not care about include and lib environment variables.
You need to create bcc32.cfg and ilink32.cfg in the bin folder.

bcc32.cfg
-I"D:\Borland\BCC55\Include"
ilink32.cfg
Quote-L"D:\Borland\BCC55\Lib"

KetilO

jcfuller

Ok got that and am almost in business.

For another language I need to pass just the file name (no extension)
Is there an Acronym used in Commandline switches for just the file name . If not can we get one? I know $C for output is just the name but I need it for the command line also.

James

jcfuller

Is it possible to add another language or is all the info hard coded in RadAsm?
If not a little info on [Parse] and [CodeBlock] might be helpful.

James


donkey

Hi Ketil,

When I convert a project using the convert addin and add the RC files using "Project-Add Items-Existing Files" the changes I make are not always saved to the PRRA file, the same happens when I move a file to another group using drag and drop.

Also any idea when the help file for add ins will be available ? I really would like to build an addin for Help2 viewer so I can have access to the PSDK docs from V3.

Edgar

Edit> Also really miss CTRL-ALT-O to open the file at the cursor.
"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