Click here to Skip to main content
15,915,611 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionAdding ATL Support to MFC DLL Pin
a_kiani16-Feb-06 4:25
a_kiani16-Feb-06 4:25 
AnswerRe: Adding ATL Support to MFC DLL Pin
Michael Dunn16-Feb-06 7:40
sitebuilderMichael Dunn16-Feb-06 7:40 
GeneralRe: Adding ATL Support to MFC DLL Pin
a_kiani20-Feb-06 1:10
a_kiani20-Feb-06 1:10 
AnswerRe: Adding ATL Support to MFC DLL Pin
ThatsAlok17-Feb-06 3:13
ThatsAlok17-Feb-06 3:13 
GeneralRe: Adding ATL Support to MFC DLL Pin
zahedeh19-Feb-06 21:16
zahedeh19-Feb-06 21:16 
QuestionCopy large amount of data to clipboard Pin
t2x16-Feb-06 3:38
t2x16-Feb-06 3:38 
AnswerRe: Copy large amount of data to clipboard Pin
Tim Smith16-Feb-06 3:45
Tim Smith16-Feb-06 3:45 
AnswerRe: Copy large amount of data to clipboard Pin
James R. Twine16-Feb-06 4:19
James R. Twine16-Feb-06 4:19 
   I think you are seeing (or going to see) two problems.  First, CString is not designed to do what you are trying to do with acceptable performance.  Second, putting that much data on the clipboard might not be a good idea.

   Using "Delayed rendering" of the clipboard data may help the clipboard performance.

   Calculating how much space you will need for the completed string and/or optimizing the data transfer format, and then allocating a single buffer for the data should help performance a bit.  For example, if you add up all of the characters required for all of the data, you can then do a single allocation for that size and copy the data into it.  That in itself will improve performance over CString.

   Peace!

-=- James
If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong!
Avoid driving a vehicle taller than you and remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road!
DeleteFXPFiles & CheckFavorites
(Please rate this post!)
AnswerRe: Copy large amount of data to clipboard Pin
ThatsAlok17-Feb-06 3:11
ThatsAlok17-Feb-06 3:11 
Questionfast code Pin
Waldermort16-Feb-06 1:39
Waldermort16-Feb-06 1:39 
AnswerRe: fast code Pin
James R. Twine16-Feb-06 1:58
James R. Twine16-Feb-06 1:58 
JokeRe: fast code Pin
Ryan Binns16-Feb-06 17:21
Ryan Binns16-Feb-06 17:21 
AnswerRe: fast code Pin
David Crow16-Feb-06 3:13
David Crow16-Feb-06 3:13 
JokeRe: fast code Pin
James R. Twine16-Feb-06 3:17
James R. Twine16-Feb-06 3:17 
Questionunicode to char? Pin
9ine16-Feb-06 1:36
9ine16-Feb-06 1:36 
AnswerRe: unicode to char? Pin
9ine16-Feb-06 1:37
9ine16-Feb-06 1:37 
GeneralRe: unicode to char? Pin
ThatsAlok16-Feb-06 3:05
ThatsAlok16-Feb-06 3:05 
AnswerRe: unicode to char? Pin
James R. Twine16-Feb-06 1:51
James R. Twine16-Feb-06 1:51 
GeneralRe: unicode to char? Pin
PJ Arends16-Feb-06 7:24
professionalPJ Arends16-Feb-06 7:24 
JokeRe: unicode to char? Pin
James R. Twine16-Feb-06 8:08
James R. Twine16-Feb-06 8:08 
QuestionParameters idenfying a system particularly windows Pin
cpp_prgmer16-Feb-06 0:52
cpp_prgmer16-Feb-06 0:52 
AnswerRe: Parameters idenfying a system particularly windows Pin
James R. Twine16-Feb-06 1:01
James R. Twine16-Feb-06 1:01 
Questionpurpose of undef in the code Pin
arunperi15-Feb-06 22:42
arunperi15-Feb-06 22:42 
AnswerRe: purpose of undef in the code Pin
toxcct15-Feb-06 23:02
toxcct15-Feb-06 23:02 
GeneralRe: purpose of undef in the code Pin
arunperi15-Feb-06 23:32
arunperi15-Feb-06 23: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.