Extracting Proto from libcp.lib

Started by ToutEnMasm, June 18, 2006, 07:02:36 PM

Previous topic - Next topic

ToutEnMasm


I have made a tool to extract the proto from lib.The C library put me on the trouble.
Functions exist but seem to be use indirectly like that.

COMDAT; sym= "struct std::_Smanip<int> __cdecl std::setiosflags(int)" (?setiosflags@std@@YA?AU?$_Smanip@H@1@H@Z)

COMDAT is COM DATA
This is extract from libcp.lib in the SDK

If someone can help me understand this line ?
setiosflags seem to be the common name to call (?setiosflags@std@@YA... a COM function

Was it True ?
                                                  ToutEnMasm





Vortex

Looking at the decoration style, I can say that it's probably a C++ function. Why would you like to create a prototype for that function? Dealing with that C++ decoration convention is not an easy job.

ToutEnMasm


So you think that is not usable in masm ?
                                   ToutEnMasm

Vortex

I cannot say if it's usable or not. What is clear is that those decorated C++ functions are not easy to use with Masm.