#C++ &-Referencing
28-Feb-90 07:14:49
Sb: #24291-#C++ &-Referencing
Fm: Chuck Leamon 71551,16
To: John M. Dlugosz 74066,3717
John,
Sorry to butt in here, and this is probably subject for a different
thread, _but_ I am curious. I am using Zortech C++ 2.0 to compile the
multitasking kernal and have run into a couple of problems (haven't look at
it again since but intend to), most important is the MASM call to the
object's method which was unresolved. I understand name mangling somewhat,
but don't know what changed between 1.0? and 2.0. Using 'dumpobj' I can see
that at least one major change took place, which is reversing the class and
member names. (ie. 1.0? uses ClassName_MemberName, 2.0 uses
MemberName_ClassName OR vice versa). Can member functions be declared with
'cdecl'? What if it's virtual and subsequently sub-classed? I have a need
to link to a hardware interrupt routine and just can't seem to resolve this
linkage issue. Can you (or anyone here) help clarify this? Thanks in
advance. C h u c k