Click here to Skip to main content
16,011,680 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalis there any api that tell the name of currently Pin
imran_rafique6-Nov-02 10:18
imran_rafique6-Nov-02 10:18 
GeneralRe: is there any api that tell the name of currently Pin
Gary Kirkham6-Nov-02 10:38
Gary Kirkham6-Nov-02 10:38 
Questionhow to process active window hwnd ? Pin
imran_rafique6-Nov-02 10:04
imran_rafique6-Nov-02 10:04 
AnswerRe: how to process active window hwnd ? Pin
Christian Graus6-Nov-02 10:50
protectorChristian Graus6-Nov-02 10:50 
GeneralCPropertyPage doesn't get the focus! Pin
Daniel Strigl6-Nov-02 10:04
Daniel Strigl6-Nov-02 10:04 
GeneralRe: CPropertyPage doesn't get the focus! Pin
Anonymous6-Nov-02 13:20
Anonymous6-Nov-02 13:20 
GeneralRe: CPropertyPage doesn't get the focus! Pin
Daniel Strigl6-Nov-02 20:18
Daniel Strigl6-Nov-02 20:18 
Generalstrchr() performance versus for loop Pin
alex.barylski6-Nov-02 9:54
alex.barylski6-Nov-02 9:54 
I can assume CRT functions would probably out perform my own for loop functions...?

The idea is this:

I have a buffer[0xFFFF] I wish to iterate the buffer looking for sequences of characters (carriage returns).

Currently I have something like:
for(int i=0; i<MAX_BUFF_SIZE && m_nLines < iLine; i++)
{  if(buffer[i] == 13) m_nLines++;  }


It occurred to me that this can also be accomplished using CRT functions, which I thought are probably tweaked as tweaked can get...so I should probably use that implementation instead of the above...???

If you know if the CRT would out perform lemme know and if you wanna profile for me or check out the assembly dump and compare instructions, by all means please do so... Poke tongue | ;-P

Save me alot of time...or if your just damn sure that CRT would be faster...lemme know...

Thanx a million

Cheers! Smile | :)

"An expert is someone who has made all the mistakes in his or her field" - Niels Bohr
GeneralRe: strchr() performance versus for loop Pin
Tim Smith6-Nov-02 10:09
Tim Smith6-Nov-02 10:09 
GeneralRe: strchr() performance versus for loop Pin
Daniel Turini6-Nov-02 10:06
Daniel Turini6-Nov-02 10:06 
GeneralRe: strchr() performance versus for loop Pin
Paul M Watt6-Nov-02 10:07
mentorPaul M Watt6-Nov-02 10:07 
GeneralRe: strchr() performance versus for loop Pin
Tim Smith6-Nov-02 10:44
Tim Smith6-Nov-02 10:44 
GeneralRe: strchr() performance versus for loop Pin
alex.barylski6-Nov-02 12:02
alex.barylski6-Nov-02 12:02 
GeneralRe: strchr() performance versus for loop Pin
alex.barylski6-Nov-02 11:52
alex.barylski6-Nov-02 11:52 
GeneralRe: strchr() performance versus for loop Pin
Tim Smith6-Nov-02 12:24
Tim Smith6-Nov-02 12:24 
GeneralRe: strchr() performance versus for loop Pin
alex.barylski6-Nov-02 13:27
alex.barylski6-Nov-02 13:27 
GeneralRe: strchr() performance versus for loop Pin
alex.barylski6-Nov-02 12:05
alex.barylski6-Nov-02 12:05 
GeneralwaveInOpen - Unresolved External Symbol ! Pin
Paddy6-Nov-02 9:41
Paddy6-Nov-02 9:41 
GeneralRe: waveInOpen - Unresolved External Symbol ! Pin
BlackSmith6-Nov-02 10:01
BlackSmith6-Nov-02 10:01 
GeneralRe: waveInOpen - Unresolved External Symbol ! Pin
Paddy6-Nov-02 10:38
Paddy6-Nov-02 10:38 
GeneralRe: waveInOpen - Unresolved External Symbol ! Pin
User 66586-Nov-02 11:22
User 66586-Nov-02 11:22 
GeneralRe: waveInOpen - Unresolved External Symbol ! Pin
Paddy6-Nov-02 12:12
Paddy6-Nov-02 12:12 
GeneralICLocate causes user breakpoint when opening a driver for drawing. Pin
Redeemer-dk6-Nov-02 9:30
Redeemer-dk6-Nov-02 9:30 
GeneralCRecordset Alternatives Pin
slacker6-Nov-02 8:44
slacker6-Nov-02 8:44 
GeneralRe: CRecordset Alternatives Pin
Pyt6-Nov-02 9:32
Pyt6-Nov-02 9:32 

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.