Answer the question
In order to leave comments, you need to log in
The compiler loses the implementation of the method in the library
I write a class in a static library:
class IMercatorMap : public BaseGLObject
{
public:
IMercatorMap() : BaseGLObject(BT_NOTHING){};
virtual ~IMercatorMap(){};
virtual void SetParameters(int Zoom, const iPoint &LeftBottomIndex, const iPoint &TopRightIndex) = 0;
static IMercatorMap *Create(bool SmoothZoom);
};
IMercatorMap *IMercatorMap::Create(bool SmoothZoom)
{
return new MercatorMap(SmoothZoom);
}
Answer the question
In order to leave comments, you need to log in
Too little data in the question, but I'll try to guess. I'm worried about __stdcall in the linker error output. It looks like the method with __cdecl is implemented and the calling code has built in a call with __stdcall calling convention.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question