Original Post
I have the following code:
InitialScale)(void)" (?pInitialScale@ImageScaler@@0P6AXXZA)
Debug/V0P01.exe : fatal error LNK1120: 1 unresolved externals
Why the compiler looks for a body of a function of the pointer to function member?
class ImageScaler {
static void InitialScale ();
static void (*pInitialScale)();
};
void
ImageScaler::InitialScale ()
{
ImageScaler:
InitialScale();
}
But I get the following errors for the last line:
unresolved external symbol "private: static void (__cdecl* ImageScaler: