Mombu the Programming Forum sponsored links

Go Back   Mombu the Programming Forum > Programming > Access violation.link terminated.
User Name
Password
REGISTER NOW! Mark Forums Read

sponsored links


Reply
 
1 20th April 04:38
touya-akira
External User
 
Posts: 1
Default Access violation.link terminated.



I write a Packae in BCB5.5, one of *.cpp include "inline asm" , and I add
"#parama inline" in the header ;In this situation, the help do***ent of bcb
say:
first, *.cpp->*.asm,then *.asm->*obj ;

but I met some questions, first, when I compile, the *.cpp with "inline asm"
can be converted to *.asm, but can produce *.obj ;
second, I found a tasm32.exe of Tasm v5.2 and replace the tasm32.exe of
bcb5.5 ;then,*.obj can be produced ,but get error "access violation,link
terminated"

somebody can tell me why?? very appreciate!
(sorry for no any code, I think, it should be a compiler problem~thanks)
  Reply With Quote


  sponsored links


2 20th April 04:38
edriano
External User
 
Posts: 1
Default how can i use BRC32?



Hello all.

could anyone point me in the right way?
i did a program and compiled it this way...

BCC32 -WC- MYPROG

then i an resource file

BRC32 MYPROG.RC

My question is is it all that i have to do? should my program work fine
after this?

becouse it is not.

thanks in advance
  Reply With Quote
3 20th April 04:39
ed mulroy [teamb]
External User
 
Posts: 1
Default how can i use BRC32?


The -WC- is wrong. For a GUI program use -W or -tW. For a console
mode program use -WC or -tWC.

For information on how to use the compiler
-Start the help
-Click on the Index tab
-Type BCC32 into the edit control
-Click the Display button

For help on the linker repeat the above but with ILINK32 in the edit
control


That appears to be correct.

You now have myprog.exe and myprog.res but have arranged to not have
the resource file liinked into the executable.

Run the compiler with the -c option to cause it to stop after
compiling. Then link the object file and resource file into an
executable.

A command to link might be

If it is a console mode program
ilink32 /Tpe/ap/Gn/c/x/v c0x32 myprog,myprog,,import32 cw32,myprog

If it is a gui program
ilink32 /Tpe/aa/Gn/c/x/v c0w32 myprog,myprog,,import32 cw32,myprog

Note that in the commands above the linker assumes the file extensions
unless you give a different one. In order as given above the those
files are:
c0x32.obj or c0w32.obj
myprog.obj
myprog.exe
import32.lib
cw32.lib
myprog.res

.. Ed
  Reply With Quote
4 20th April 04:39
touya-akira
External User
 
Posts: 1
Default how can i use BRC32?


i use tasm32.exe in bcb6 to replace tasm32.exe in bcb5, it's ok~
hehe..
  Reply With Quote
Reply


Thread Tools
Display Modes




Copyright © 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666