You must be registered to post a reply. Click here to register.
T O P I C R E V I E W
XChicken
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^
1 L A T E S T R E P L I E S (Newest First)
feline
Posted - Aug 28 2006 : 11:21:42 AM it is unlikely we will ever try to offer enhanced syntax highlighting for inline assembly, but you can tell the IDE that you want certain words coloured as keywords. you simply have to add them to the "usertype.dat" file