Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Simple DLL
Message
De
02/06/2009 13:01:20
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Titre:
Simple DLL
Divers
Thread ID:
01403213
Message ID:
01403213
Vues:
97
Hi,
Sorry, the question will about C++ (maybe its a shortest way to get an answer)

I try to write a very simple DLL
#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...

any help please! :)
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform