"Il y a peu de choses qui me soient impossibles..."
The secret of how to be miserable is to constantly expect things are going to happen the way that they are "supposed" to happen.
You can have faith, which carries the understanding that you may be disappointed. Then there's being a willfully-blind idiot, which virtually guarantees it.
Steffe Wilson wrote:...you have to be aware of specifics like this when linking object modules generated by different language compilers, or even same language compilers from different vendors. Each will have their own algorithm for generating decorations.
"Il y a peu de choses qui me soient impossibles..."
Tim Holloway wrote:...in C++ there was a possibility - I think even a desirability that there be a candidate function whose name translated undecorated. The exact details of why I did this I know longer remember, although I think it was mostly to make it easier to connect C and C++ code.
"Il y a peu de choses qui me soient impossibles..."
The secret of how to be miserable is to constantly expect things are going to happen the way that they are "supposed" to happen.
You can have faith, which carries the understanding that you may be disappointed. Then there's being a willfully-blind idiot, which virtually guarantees it.
Tim Holloway wrote:It also works in the other direction, though, so C code can call C++ code without knowing the specific mangling algorithm of the C++ development system in question.
"Il y a peu de choses qui me soient impossibles..."
The secret of how to be miserable is to constantly expect things are going to happen the way that they are "supposed" to happen.
You can have faith, which carries the understanding that you may be disappointed. Then there's being a willfully-blind idiot, which virtually guarantees it.
Tim Holloway wrote:Actually, a pure DLL doesn't need methods at all - it can be data-only.
But Microsoft didn't invent the 'extern "C"' construct. I was using it to link C++ for the Amiga to the Amiga's Exec and AmigaDOS OS functions before Microsoft even got into the C++ business
"Il y a peu de choses qui me soient impossibles..."
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime. |