News:

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

MASM32: RadASM 2.x to RadASM 3.x problem

Started by Shooter, December 14, 2010, 05:51:37 PM

Previous topic - Next topic

Shooter

I tried to compile this RadASM 2.x demo project in RadASM 3.x, but when I try to compile it, I receive the following errors:



rc /v "TabDemo.Rc"
Microsoft (R) Windows (R) Resource Compiler Version 5.2.3690.0

Copyright (C) Microsoft Corporation.  All rights reserved.


Creating TabDemo.RES

Using codepage 1252 as default
RC: RCPP -CP 1252 -f E:\Program Files\RadASM\GoAsm\Projects\TabDemo\Original\TabDemo\RCa02444 -g E:\Program Files\RadASM\GoAsm\Projects\TabDemo\Original\TabDemo\RDa02444 -DRC_INVOKED -D_WIN32 -pc\:/ -E -I. -I . -I E:\Program Files\RadASM\masm\include

TabDemo.Rc.
Writing DIALOG:1000, lang:0x409, size 224.
Writing DIALOG:2000, lang:0x409, size 142.
Writing DIALOG:3000, lang:0x409, size 176.
Writing DIALOG:4000, lang:0x409, size 208

ml /c /coff /Cp "TabDemo.Asm"
Assembling: TabDemo.Asm
Microsoft (R) Macro Assembler Version 10.00.30319.01
Copyright (C) Microsoft Corporation.  All rights reserved.


link /SUBSYSTEM:WINDOWS /RELEASE /VERSION:4.0 /OUT:"TabDemo.exe" "TabDemo.obj"  "TabDemo.res"
Microsoft (R) Incremental Linker Version 10.00.30319.01
Copyright (C) Microsoft Corporation.  All rights reserved.

LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt

Error(s) occured.



Upon opening RadASM 3.x, I selected 'Tools | Convert Project', selected the appropriate .RAP file, then clicked OK. Got out of that dialog and navigated to the new .PRRA file, launched it, Opened the .RC file, and in the IDD_TAB1 Dialog I shortened the width of the textbox, then I attempted to build the project, which gave me the error above. I changed nothing in the code.

I'm not sure what I'm doing wrong.

-Shooter
Never use direct references to anything ever. Bury everything in
macros. Bury the macros in include files. Reference those include
files indirectly from other include files. Use macros to reference
those include files.