linker -export:po_strstr=pocrt.strstr problem

Started by TimoVJL, September 23, 2015, 02:21:46 PM

Previous topic - Next topic

TimoVJL

This example don't work#define WIN32_LEAN_AND_MEAN
#include <windows.h>
char * po_strstr(const char *string1, const char *string2);
#pragma comment(linker, "-export:po_strstr=pocrt.strstr")
BOOL WINAPI _DllMainCRTStartup(HANDLE hInstDLL, DWORD dwReason, LPVOID lpvReserved)
{
return 1;
}
gives errorPOLINK: error: Unresolved external symbol 'strstr'.so that forwander problem still exist :-\
May the source be with you