Click here to Skip to main content
15,902,189 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Limiting an application to single instance...problem? Pin
Vinod Sankaranarayanan14-Aug-06 2:34
Vinod Sankaranarayanan14-Aug-06 2:34 
GeneralRe: Limiting an application to single instance...problem? Pin
Waldermort14-Aug-06 2:10
Waldermort14-Aug-06 2:10 
GeneralRe: Limiting an application to single instance...problem...solution [modified] Pin
Vinod Sankaranarayanan14-Aug-06 2:36
Vinod Sankaranarayanan14-Aug-06 2:36 
GeneralRe: Limiting an application to single instance...problem? Pin
prasad_som15-Aug-06 18:49
prasad_som15-Aug-06 18:49 
QuestionHow to vopy data pointed by a "Void* " pointer to "CString" object Pin
VCSharp00713-Aug-06 23:15
VCSharp00713-Aug-06 23:15 
AnswerRe: How to vopy data pointed by a "Void* " pointer to "CString" object Pin
Waldermort14-Aug-06 1:59
Waldermort14-Aug-06 1:59 
AnswerRe: How to vopy data pointed by a "Void* " pointer to "CString" object Pin
ajisthekingofpop14-Aug-06 5:45
ajisthekingofpop14-Aug-06 5:45 
AnswerRe: How to vopy data pointed by a "Void* " pointer to "CString" object Pin
Joe Woodbury14-Aug-06 12:32
professionalJoe Woodbury14-Aug-06 12:32 
DO NOT USE THE IMMEDIATE ABOVE SUGGESTION; it will result in a buffer overrun and is VERY poor coding practice.

Two general methods:

1) Cast the void pointer to a char, tchar or wchar_t pointer.

2) Call CString::GetBuffer() with the length of buffer you require. Copy the data in and then call CString::ReleaseBuffer().

You will want to to the latter if your buffer contains multiple zero terminated strings since method one will terminate the copy at the first null.

Anyone who thinks he has a better idea of what's good for people than people do is a swine.
- P.J. O'Rourke

QuestionMulticolumn CListCtrl & custom DrawItem Pin
Martijn van Kleef13-Aug-06 22:30
Martijn van Kleef13-Aug-06 22:30 
AnswerRe: Multicolumn CListCtrl & custom DrawItem Pin
Milton Karimbekallil13-Aug-06 23:52
Milton Karimbekallil13-Aug-06 23:52 
AnswerRe: Multicolumn CListCtrl & custom DrawItem Pin
Hamid_RT14-Aug-06 1:18
Hamid_RT14-Aug-06 1:18 
QuestionAccess to other computer. How to? Pin
thangnvhl13-Aug-06 21:22
thangnvhl13-Aug-06 21:22 
AnswerRe: Access to other computer. How to? Pin
Milton Karimbekallil13-Aug-06 22:55
Milton Karimbekallil13-Aug-06 22:55 
GeneralRe: Access to other computer. How to? Pin
thangnvhl14-Aug-06 0:27
thangnvhl14-Aug-06 0:27 
GeneralRe: Access to other computer. How to? Pin
thangnvhl15-Aug-06 22:46
thangnvhl15-Aug-06 22:46 
GeneralRe: Access to other computer. How to? Pin
thangnvhl15-Aug-06 22:46
thangnvhl15-Aug-06 22:46 
QuestionCListCtrl Please Help ! [modified] Pin
Bravoone_200613-Aug-06 21:00
Bravoone_200613-Aug-06 21:00 
AnswerRe: CListCtrl Please Help ! Pin
Hamid_RT13-Aug-06 21:50
Hamid_RT13-Aug-06 21:50 
AnswerRe: CListCtrl Please Help ! Pin
Bravoone_200613-Aug-06 23:11
Bravoone_200613-Aug-06 23:11 
GeneralRe: CListCtrl Please Help ! Pin
Hamid_RT14-Aug-06 1:19
Hamid_RT14-Aug-06 1:19 
AnswerRe: CListCtrl Please Help ! Pin
prasad_som13-Aug-06 23:51
prasad_som13-Aug-06 23:51 
QuestionUninstall function Pin
cv_k3n13-Aug-06 19:38
cv_k3n13-Aug-06 19:38 
AnswerRe: Uninstall function Pin
Hamid_RT18-Aug-06 8:16
Hamid_RT18-Aug-06 8:16 
QuestionWorking Threads Pin
cv_k3n13-Aug-06 19:37
cv_k3n13-Aug-06 19:37 
AnswerRe: Working Threads Pin
prasad_som13-Aug-06 19:52
prasad_som13-Aug-06 19:52 

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.