Click here to Skip to main content
15,913,685 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralATL7 and VS.NET2k3 wizard, completely stuck Pin
seriema19-Nov-04 10:59
seriema19-Nov-04 10:59 
GeneralRe: ATL7 and VS.NET2k3 wizard, completely stuck Pin
Michael Dunn19-Nov-04 13:25
sitebuilderMichael Dunn19-Nov-04 13:25 
GeneralRe: ATL7 and VS.NET2k3 wizard, completely stuck Pin
seriema19-Nov-04 13:33
seriema19-Nov-04 13:33 
GeneralPrevent IHTMLDocument2 from updating IE screen Pin
Wim Jans19-Nov-04 9:33
Wim Jans19-Nov-04 9:33 
Questionhow to use char* in ATL Pin
yingkou18-Nov-04 23:26
yingkou18-Nov-04 23:26 
AnswerRe: how to use char* in ATL Pin
geo_m18-Nov-04 23:39
geo_m18-Nov-04 23:39 
GeneralRe: how to use char* in ATL Pin
yingkou19-Nov-04 1:56
yingkou19-Nov-04 1:56 
GeneralRe: how to use char* in ATL Pin
geo_m19-Nov-04 2:52
geo_m19-Nov-04 2:52 
unsigned char is in equal to BYTE type from windows header. Difference between these is stated in the name of the type - both are 1 byte of size, but char is signed and unsigned char is... unsigned (unless you switch the C++ compiler to treat char as unsigned).

because in C++ the type checking is quite strict, you cannot implicitly convert unsigned to signed and vice versa. You have to state explicitly, that you really want to do it. (e.g. by casting)

Just an advice - don't use the strcpy and similar functions. Find and stick to some string wrapper - be it std::string from stl libraries or CString from MFC/ATL. This would save you lot of troubles when looking for bugs inside string manipulation (forgotten ending \0, buffer overruns or whatever)
GeneralMemory leaks with BSTR Pin
prasad_som18-Nov-04 22:03
prasad_som18-Nov-04 22:03 
GeneralRe: Memory leaks with BSTR Pin
22491718-Nov-04 22:57
22491718-Nov-04 22:57 
GeneralRe: Memory leaks with BSTR Pin
prasad_som18-Nov-04 23:35
prasad_som18-Nov-04 23:35 
GeneralRe: Memory leaks with BSTR Pin
Steve S19-Nov-04 0:20
Steve S19-Nov-04 0:20 
QuestionHow can I create a colour btimap ? Pin
Darked developer18-Nov-04 19:59
Darked developer18-Nov-04 19:59 
AnswerRe: How can I create a colour btimap ? Pin
Rory Solley18-Nov-04 23:34
Rory Solley18-Nov-04 23:34 
GeneralRe: How can I create a colour btimap ? Pin
Darked developer19-Nov-04 2:41
Darked developer19-Nov-04 2:41 
GeneralCall to one Method of a COM component returns 0x80020008. But works on other machine Pin
User 21559718-Nov-04 18:39
User 21559718-Nov-04 18:39 
GeneralRe: Call to one Method of a COM component returns 0x80020008. But works on other machine Pin
geo_m19-Nov-04 2:58
geo_m19-Nov-04 2:58 
GeneralRe: Call to one Method of a COM component returns 0x80020008. But works on other machine Pin
User 21559719-Nov-04 3:28
User 21559719-Nov-04 3:28 
GeneralRe: Call to one Method of a COM component returns 0x80020008. But works on other machine Pin
geo_m19-Nov-04 3:48
geo_m19-Nov-04 3:48 
GeneralRe: Call to one Method of a COM component returns 0x80020008. But works on other machine Pin
User 21559721-Nov-04 17:13
User 21559721-Nov-04 17:13 
GeneralMoment of file Close Pin
moyeenm18-Nov-04 4:26
moyeenm18-Nov-04 4:26 
GeneralRe: Moment of file Close Pin
geo_m19-Nov-04 3:10
geo_m19-Nov-04 3:10 
QuestionVectors safe??? Pin
Anonymous17-Nov-04 0:44
Anonymous17-Nov-04 0:44 
AnswerRe: Vectors safe??? Pin
markkuk17-Nov-04 1:16
markkuk17-Nov-04 1:16 
GeneralRe: Vectors safe??? Pin
Jörgen Sigvardsson17-Nov-04 11:31
Jörgen Sigvardsson17-Nov-04 11:31 

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.