Click here to Skip to main content
15,893,814 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Inline Assembler Macros? Pin
Aidman14-Jul-03 22:36
Aidman14-Jul-03 22:36 
AnswerRe: Inline Assembler Macros? Pin
Toni7814-Jul-03 19:22
Toni7814-Jul-03 19:22 
GeneralRe: Inline Assembler Macros? Pin
Aidman14-Jul-03 22:56
Aidman14-Jul-03 22:56 
GeneralRe: Inline Assembler Macros? Pin
Toni7814-Jul-03 23:39
Toni7814-Jul-03 23:39 
GeneralRe: Inline Assembler Macros? Pin
Ryan Binns14-Jul-03 23:18
Ryan Binns14-Jul-03 23:18 
GeneralRe: Inline Assembler Macros? Pin
Toni7814-Jul-03 23:36
Toni7814-Jul-03 23:36 
GeneralRe: Inline Assembler Macros? Pin
Ryan Binns15-Jul-03 0:48
Ryan Binns15-Jul-03 0:48 
AnswerRe: Inline Assembler Macros? Pin
TheSurrealist15-Jul-03 0:00
TheSurrealist15-Jul-03 0:00 
Hi,

Did you try:

#define TestMacro2(x) { _asm mov eax, 0 _asm mov ebx, 0 }

or even

#define TestMacro2(x) { \
_asm mov eax, 0 \
_asm mov ebx, 0 \
}

Both of the above should work - note the surrounding braces {} are not necessary but are there to make the code look prettier. Smile | :)

HTH


--------------------------------------------

"The mere act of drinking beer in an attempt to measure your tolerance is likely to affect your impression of how many beers you've drunk."

-- The Heineken uncertainty principle.
Generalabout using OpenDriver() Pin
gdzfy14-Jul-03 16:27
gdzfy14-Jul-03 16:27 
GeneralCPropertySheet Apply button disabled Pin
haritadala14-Jul-03 13:55
haritadala14-Jul-03 13:55 
GeneralRe: CPropertySheet Apply button disabled Pin
Andrew Walker14-Jul-03 15:03
Andrew Walker14-Jul-03 15:03 
GeneralRe: CPropertySheet Apply button disabled Pin
haritadala15-Jul-03 2:30
haritadala15-Jul-03 2:30 
GeneralRe: CPropertySheet Apply button disabled Pin
Andrew Walker15-Jul-03 2:32
Andrew Walker15-Jul-03 2:32 
GeneralCAsyncSocket usage Pin
caustiK14-Jul-03 11:50
caustiK14-Jul-03 11:50 
GeneralRe: CAsyncSocket usage Pin
User 665814-Jul-03 12:41
User 665814-Jul-03 12:41 
GeneralRe: CAsyncSocket usage Pin
caustiK15-Jul-03 3:02
caustiK15-Jul-03 3:02 
GeneralRe: Another Question Pin
caustiK15-Jul-03 10:56
caustiK15-Jul-03 10:56 
GeneralA dll question Pin
dzenan14-Jul-03 11:35
dzenan14-Jul-03 11:35 
GeneralRe: A dll question Pin
Cambalindo14-Jul-03 17:52
Cambalindo14-Jul-03 17:52 
GeneralRe: A dll question Pin
dzenan14-Jul-03 23:35
dzenan14-Jul-03 23:35 
GeneralWaitForSingleObject Pin
act_x14-Jul-03 9:59
act_x14-Jul-03 9:59 
GeneralRe: WaitForSingleObject Pin
Joaquín M López Muñoz14-Jul-03 10:14
Joaquín M López Muñoz14-Jul-03 10:14 
GeneralRe: WaitForSingleObject Pin
act_x14-Jul-03 10:29
act_x14-Jul-03 10:29 
GeneralRe: WaitForSingleObject Pin
Joaquín M López Muñoz14-Jul-03 11:22
Joaquín M López Muñoz14-Jul-03 11:22 
GeneralRe: WaitForSingleObject Pin
JT Anderson15-Jul-03 7:54
JT Anderson15-Jul-03 7:54 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.