NO

Author Topic: linker -export:po_strstr=pocrt.strstr problem  (Read 3828 times)

Offline TimoVJL

  • Global Moderator
  • Member
  • *****
  • Posts: 2115
linker -export:po_strstr=pocrt.strstr problem
« on: September 23, 2015, 02:21:46 PM »
This example don't work
Code: [Select]
#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 error
Code: [Select]
POLINK: error: Unresolved external symbol 'strstr'.so that forwander problem still exist :-\
May the source be with you