LPTSTR DLLPath = new TCHAR[_MAX_PATH]; ::GetModuleFileName((HINSTANCE)&__ImageBase, DLLPath, _MAX_PATH);
I was using the above function to get the isapi dll physical path. it works fine in debug mode.When i try to build it in release mode it says __ImageBase unidentified . can anyone suggest me an alternative to this.
thanks