I'm using Visual Studio 6 for backward compatibility reasons and I need
to use GetAncestor()
like this to create a dll :
HWND ancestorhandle = GetAncestor(myvar, 2);
I've included these header files:
#include <windows.h>
#include "stdafx.h"
#include "offlinelib.h"
#include <stdio.h>
As per the documentation:
But while compiling, I get an error:
GetAncestor: Undeclared identifier
What am I doing wrong?