Subj : Re: I am using Borland C++4.52 and having a linking issus To : borland.public.cpp.borlandcpp From : "Gisle Vanem" Date : Wed Jul 30 2003 01:34 am "James Kim" wrote: > I do know that 'constructor/new' works with startup codes provided by Borland > C++4.52. > But the thing is that I have to use the one that I have for two reasons: > 1) I don't have an Borland Turbo Assembler > 2) I don't know much about writing a startup code YET! hehe... > > Anyhow... my question is why the startup code that I have would work when not > used with a 'constructor & new'? > Any thought? Give it up. This is obviosly not something for you. Do you really know how complex C++ is at the asm level? An 'operator new(int)' (as seen in the .map-file) is really some obscure named function like ' @$bdla$qnv'. The '$' means it's a C++ mangled name and the last 'qnv' specifies the type of the argument. To make matter worse all C++ compilers use different name mangling schemes. My best advice is stick to C if you really need to make your own startup code. --gv .