Click here to Skip to main content
15,899,314 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: WinSock2 Pin
palbano25-Aug-04 19:32
palbano25-Aug-04 19:32 
GeneralAT command? ===> read sms method Pin
Adrian Soon25-Aug-04 5:11
Adrian Soon25-Aug-04 5:11 
GeneralRe: AT command? ===> read sms method Pin
jmkhael25-Aug-04 5:24
jmkhael25-Aug-04 5:24 
GeneralRe: AT command? ===> read sms method Pin
Adrian Soon26-Aug-04 0:55
Adrian Soon26-Aug-04 0:55 
GeneralRe: AT command? ===> read sms method Pin
jmkhael26-Aug-04 1:00
jmkhael26-Aug-04 1:00 
GeneralRe: AT command? ===> read sms method Pin
Adrian Soon26-Aug-04 2:06
Adrian Soon26-Aug-04 2:06 
GeneralRe: AT command? ===> read sms method Pin
Adrian Soon28-Aug-04 5:18
Adrian Soon28-Aug-04 5:18 
Generalintrinsic _InterlockedIncrement Pin
peterchen25-Aug-04 5:10
peterchen25-Aug-04 5:10 
Just found the following on a mailing list:
extern "C" long_type __cdecl _InterlockedIncrement(long volatile *);
#pragma intrinsic(_InterlockedIncrement)

which gives you an intrinsic increment function (expanding to lock xadd)
(same goes for decrement, of course)

Now this is documented in the current MSDN, and it does work with VC6 but isn't documented in the old MSDN.

Any implications of using it?




we are here to help each other get through this thing, whatever it is Vonnegut jr.

sighist || Agile Programming | doxygen

GeneralRe: intrinsic _InterlockedIncrement Pin
jmkhael25-Aug-04 5:21
jmkhael25-Aug-04 5:21 
GeneralRe: intrinsic _InterlockedIncrement Pin
peterchen25-Aug-04 6:43
peterchen25-Aug-04 6:43 
GeneralRe: intrinsic _InterlockedIncrement Pin
jmkhael25-Aug-04 6:59
jmkhael25-Aug-04 6:59 
GeneralRe: intrinsic _InterlockedIncrement Pin
peterchen25-Aug-04 13:30
peterchen25-Aug-04 13:30 
GeneralCFile - changing bytes Pin
BlackDice25-Aug-04 4:18
BlackDice25-Aug-04 4:18 
GeneralRe: CFile - changing bytes Pin
jmkhael25-Aug-04 4:27
jmkhael25-Aug-04 4:27 
GeneralRe: CFile - changing bytes Pin
David Crow25-Aug-04 5:52
David Crow25-Aug-04 5:52 
GeneralRe: CFile - changing bytes Pin
BlackDice25-Aug-04 12:01
BlackDice25-Aug-04 12:01 
GeneralRe: CFile - changing bytes Pin
David Crow25-Aug-04 12:04
David Crow25-Aug-04 12:04 
GeneralCListCtrl question Pin
Shay Harel25-Aug-04 4:13
Shay Harel25-Aug-04 4:13 
GeneralRe: CListCtrl question Pin
David Crow25-Aug-04 5:49
David Crow25-Aug-04 5:49 
GeneralRe: CListCtrl question Pin
Shay Harel25-Aug-04 5:52
Shay Harel25-Aug-04 5:52 
GeneralRe: CListCtrl question Pin
David Crow26-Aug-04 3:17
David Crow26-Aug-04 3:17 
GeneralWindows XP Theme Colour Scheme Pin
Steve Thresher25-Aug-04 4:07
Steve Thresher25-Aug-04 4:07 
GeneralRe: Windows XP Theme Colour Scheme Pin
Anonymous25-Aug-04 5:21
Anonymous25-Aug-04 5:21 
GeneralCRecordset Record Updating(Debug Assertion Failure) problem Pin
raed25-Aug-04 4:03
raed25-Aug-04 4:03 
GeneralRe: CRecordset Record Updating(Debug Assertion Failure) problem Pin
jmkhael25-Aug-04 4:43
jmkhael25-Aug-04 4:43 

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.