1 pièce(s) jointe(s)
projet utilisant .asm muet
Bonjour,
J'ai un projet de visual studio 2005 avec un fichier .asm.
La compilation se passe bien.
Pouvez-vous m'aider SVP :
Le projet s'execute mais en aucun cas la fonction _tmain est appeller,
je ne vois rien , la chaine "essai" n'est même pas afficher.
Merci de m'aider , j'ai joint le projet incriminer.
tm2.cpp
Code:
1 2 3 4 5 6 7 8 9 10 11
| #include "stdafx.h"
extern "C" int __stdcall detwmare();
int _tmain(int argc, _TCHAR* argv[])
{
printf("essai\n");
printf("%d\n",detwmare());
return 0;
} |
td.asm
Code:
1 2 3 4 5 6 7 8 9 10 11 12
| .586
.model flat,stdcall
option casemap :none
.code
start:
detwmare PROC
xor eax,eax
mov eax,1
ret
detwmare endp
end start |
Incompétent pour résoudre le probléme.