XChicken
Junior Member
China
11 Posts |
Posted - Aug 27 2006 : 9:47:47 PM
|
eg: if (GetOpenFileName(&ofn) != FALSE ) { __asm { pushad lea esi, EXE push esi push esi call dword ptr lstrlen add esi, eax pop eax dec esi redo: cmp byte ptr [esi], 0x5C je ok dec esi jmp redo ok: SUB ESI, EAX MOV ECX, ESI inc ecx lea edi, lpDirectory lea esi, EXE rep movsb xor eax,eax stosb popad } If I embedded a assembly code section in VC,the color of this section can't work very well,maybe ur guys could make it better ^o^ |
|