#include <stdafx.h> #include <windows.h> #include <tchar.h> #include <sddl.h> extern "C" __declspec(dllexport) VOID ExecMe(char* fileName) { MessageBox(NULL,_T(fileName),_T(fileName),MB_ICONINFORMATION); }When I try to execute it - the application crash... when I use hardcoded string
MessageBox(NULL,_T("test"),_T("filename"),MB_ICONINFORMATION);all works fine...