Click here to Skip to main content
15,903,175 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionassertion faliure Pin
Parinay Bansal8-Feb-09 0:16
Parinay Bansal8-Feb-09 0:16 
AnswerRe: assertion faliure Pin
Stuart Dootson8-Feb-09 0:29
professionalStuart Dootson8-Feb-09 0:29 
GeneralRe: assertion faliure Pin
Parinay Bansal8-Feb-09 0:41
Parinay Bansal8-Feb-09 0:41 
GeneralRe: assertion faliure Pin
Stuart Dootson8-Feb-09 1:09
professionalStuart Dootson8-Feb-09 1:09 
GeneralRe: assertion faliure Pin
Parinay Bansal8-Feb-09 1:38
Parinay Bansal8-Feb-09 1:38 
GeneralRe: assertion faliure Pin
Cedric Moonen8-Feb-09 2:26
Cedric Moonen8-Feb-09 2:26 
GeneralRe: assertion faliure Pin
Parinay Bansal8-Feb-09 4:25
Parinay Bansal8-Feb-09 4:25 
QuestionHow to embed WMP plugin in MFC application? Pin
alizey khan8-Feb-09 0:10
alizey khan8-Feb-09 0:10 
AnswerRe: How to embed WMP plugin in MFC application? Pin
Stuart Dootson8-Feb-09 0:19
professionalStuart Dootson8-Feb-09 0:19 
GeneralRe: How to embed WMP plugin in MFC application? Pin
alizey khan8-Feb-09 0:25
alizey khan8-Feb-09 0:25 
GeneralRe: How to embed WMP plugin in MFC application? Pin
Stuart Dootson8-Feb-09 1:12
professionalStuart Dootson8-Feb-09 1:12 
GeneralRe: How to embed WMP plugin in MFC application? Pin
alizey khan8-Feb-09 1:50
alizey khan8-Feb-09 1:50 
GeneralRe: How to embed WMP plugin in MFC application? Pin
Stuart Dootson8-Feb-09 2:35
professionalStuart Dootson8-Feb-09 2:35 
QuestionBuffer overrun, Strsafe.h compiler options..... Pin
ForNow7-Feb-09 23:41
ForNow7-Feb-09 23:41 
AnswerRe: Buffer overrun, Strsafe.h compiler options..... Pin
Cedric Moonen7-Feb-09 23:54
Cedric Moonen7-Feb-09 23:54 
GeneralRe: Buffer overrun, Strsafe.h compiler options..... Pin
ForNow8-Feb-09 1:22
ForNow8-Feb-09 1:22 
AnswerRe: Buffer overrun, Strsafe.h compiler options..... Pin
Jonathan Davies7-Feb-09 23:55
Jonathan Davies7-Feb-09 23:55 
GeneralRe: Buffer overrun, Strsafe.h compiler options..... Pin
ForNow8-Feb-09 1:20
ForNow8-Feb-09 1:20 
AnswerRe: Buffer overrun, Strsafe.h compiler options..... Pin
Stephen Hewitt8-Feb-09 4:44
Stephen Hewitt8-Feb-09 4:44 
GeneralRe: Buffer overrun, Strsafe.h compiler options..... Pin
ForNow8-Feb-09 7:16
ForNow8-Feb-09 7:16 
AnswerRe: Buffer overrun, Strsafe.h compiler options..... Pin
cmk8-Feb-09 11:56
cmk8-Feb-09 11:56 
For 20+yrs C/C++ programmers have been writting programs, without buffer overruns, using strcpy, i find it odd that you _need_ StringCchCopy.

strcpy is also available as an intrinsic which, if you are doing a lot of string copying, can result in a significant performance improvement over StringCchCopy.

The 'safe' versions have been added by MS because of the amount of lazy/poor programming that exists, not because they are needed.

The only legit reason, i see, for using the MS String* functions is an effort to remove all direct references to the CRT, thus removing its direct linking (however, as an intrinsic, strcpy alone does not induce a CRT dependency).

Make sure you include windows.h (winnt.h) before strsafe.h.

...cmk

The idea that I can be presented with a problem, set out to logically solve it with the tools at hand, and wind up with a program that could not be legally used because someone else followed the same logical steps some years ago and filed for a patent on it is horrifying.
- John Carmack

QuestionIs there anyway to make SEH works when stask is broken Pin
Tal Rasha's Guardianship7-Feb-09 16:49
Tal Rasha's Guardianship7-Feb-09 16:49 
AnswerRe: Is there anyway to make SEH works when stask is broken Pin
Stuart Dootson7-Feb-09 22:52
professionalStuart Dootson7-Feb-09 22:52 
GeneralRe: Is there anyway to make SEH works when stask is broken Pin
Tal Rasha's Guardianship22-Feb-09 17:15
Tal Rasha's Guardianship22-Feb-09 17:15 
AnswerRe: Is there anyway to make SEH works when stask is broken Pin
Stephen Hewitt8-Feb-09 4:45
Stephen Hewitt8-Feb-09 4:45 

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.