Click here to Skip to main content
15,917,702 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralAlpha blending in TreeView Bitmaps Pin
r3dqu33n7-Feb-05 12:01
r3dqu33n7-Feb-05 12:01 
GeneralString problem in HKLM\MS\Windows\CurrentVersion\Run Pin
LukeV7-Feb-05 11:52
LukeV7-Feb-05 11:52 
GeneralRe: String problem in HKLM\MS\Windows\CurrentVersion\Run Pin
Michael Dunn7-Feb-05 11:55
sitebuilderMichael Dunn7-Feb-05 11:55 
GeneralRe: String problem in HKLM\MS\Windows\CurrentVersion\Run Pin
LukeV7-Feb-05 12:01
LukeV7-Feb-05 12:01 
GeneralRe: String problem in HKLM\MS\Windows\CurrentVersion\Run Pin
LukeV7-Feb-05 13:14
LukeV7-Feb-05 13:14 
GeneralRe: String problem in HKLM\MS\Windows\CurrentVersion\Run Pin
LukeV7-Feb-05 13:36
LukeV7-Feb-05 13:36 
GeneralRe: String problem in HKLM\MS\Windows\CurrentVersion\Run Pin
Michael Dunn7-Feb-05 14:47
sitebuilderMichael Dunn7-Feb-05 14:47 
GeneralRe: String problem in HKLM\MS\Windows\CurrentVersion\Run Pin
Peter Weyzen7-Feb-05 13:35
Peter Weyzen7-Feb-05 13:35 
Are you a UNICODE program?

I ask this because you are doing a lot of TCHAR and _tcscpy.
If you are, then be careful when passing sizeof() into functions.

Check the API, see if it wants the buffer size in bytes or characters. If characters, then you should use (sizeof(buf)/sizeof(TCHAR))



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br />
Peter Weyzen<br />
Staff Engineer<br />
<A HREF="http://www.santacruznetworks.com">Santa Cruz Networks</A>

GeneralRe: String problem in HKLM\MS\Windows\CurrentVersion\Run Pin
LukeV7-Feb-05 13:38
LukeV7-Feb-05 13:38 
GeneralHaving trouble sending this Pin
Tom Wright7-Feb-05 11:33
Tom Wright7-Feb-05 11:33 
GeneralRe: Having trouble sending this Pin
Peter Weyzen7-Feb-05 13:37
Peter Weyzen7-Feb-05 13:37 
GeneralRe: Having trouble sending this Pin
Tom Wright10-Feb-05 5:15
Tom Wright10-Feb-05 5:15 
GeneralGdipluseffects.h new functions in GDI+ 1.1. Pin
Anne Jan Beeks7-Feb-05 11:05
Anne Jan Beeks7-Feb-05 11:05 
GeneralUINT nFlags Pin
Anonymous7-Feb-05 10:19
Anonymous7-Feb-05 10:19 
GeneralRe: UINT nFlags Pin
Chris Losinger7-Feb-05 10:44
professionalChris Losinger7-Feb-05 10:44 
GeneralRe: UINT nFlags Pin
Neville Franks7-Feb-05 10:50
Neville Franks7-Feb-05 10:50 
GeneralRe: UINT nFlags Pin
namaskaaram7-Feb-05 19:21
namaskaaram7-Feb-05 19:21 
GeneralUsing Libaries Pin
TheCult7-Feb-05 9:45
TheCult7-Feb-05 9:45 
QuestionHow to find the size of free store Pin
Budric B.7-Feb-05 9:02
Budric B.7-Feb-05 9:02 
AnswerRe: How to find the size of free store Pin
David Crow7-Feb-05 9:53
David Crow7-Feb-05 9:53 
GeneralI had no idea it would be this complex Pin
Budric B.7-Feb-05 11:22
Budric B.7-Feb-05 11:22 
GeneralRe: I had no idea it would be this complex Pin
Ravi Bhavnani7-Feb-05 11:39
professionalRavi Bhavnani7-Feb-05 11:39 
GeneralRe: I had no idea it would be this complex Pin
Michael Dunn7-Feb-05 12:00
sitebuilderMichael Dunn7-Feb-05 12:00 
GeneralRe: I had no idea it would be this complex Pin
Budric B.8-Feb-05 3:37
Budric B.8-Feb-05 3:37 
Generalpassing Visual C++ variable to an VB Access subroutine Pin
elephantstar7-Feb-05 8:12
elephantstar7-Feb-05 8:12 

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.