Click here to Skip to main content
16,016,537 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Adding List boxes dynamically Pin
Prem Kumar23-May-02 2:46
Prem Kumar23-May-02 2:46 
QuestionMSVC STL threadsafe? Pin
peterchen23-May-02 2:02
peterchen23-May-02 2:02 
AnswerRe: MSVC STL threadsafe? Pin
Matt Gullett23-May-02 2:08
Matt Gullett23-May-02 2:08 
GeneralRe: MSVC STL threadsafe? Pin
peterchen23-May-02 3:07
peterchen23-May-02 3:07 
GeneralRe: MSVC STL threadsafe? Pin
Mike Nordell23-May-02 3:40
Mike Nordell23-May-02 3:40 
GeneralRe: MSVC STL threadsafe? Pin
Matt Gullett23-May-02 3:52
Matt Gullett23-May-02 3:52 
GeneralLookupAccountName Pin
Mazdak23-May-02 1:54
Mazdak23-May-02 1:54 
GeneralRe: LookupAccountName Pin
Prem Kumar23-May-02 2:02
Prem Kumar23-May-02 2:02 
TCHAR RefDomain = NULL ;


Hah what's wrong with the above stmt ??
its a single char variable initialized to NULL(0).

When this is accessed in the function, where it is happily casted
to a LPSTR, the function tries to access the memory location at '0'.

So now what do think is wrong with the code ??


GeneralRe: LookupAccountName Pin
Mazdak23-May-02 2:34
Mazdak23-May-02 2:34 
GeneralRe: LookupAccountName Pin
Prem Kumar23-May-02 2:55
Prem Kumar23-May-02 2:55 
GeneralDisplay some weird number instead of conten of the ARRAY Pin
tongc23-May-02 1:40
tongc23-May-02 1:40 
GeneralRe: Display some weird number instead of conten of the ARRAY Pin
Nish Nishant23-May-02 1:45
sitebuilderNish Nishant23-May-02 1:45 
GeneralRe: Display some weird number instead of conten of the ARRAY Pin
tongc23-May-02 2:16
tongc23-May-02 2:16 
GeneralRe: Display some weird number instead of conten of the ARRAY Pin
Prem Kumar23-May-02 1:53
Prem Kumar23-May-02 1:53 
GeneralDirectories in CTree View Pin
Sameer Maggon23-May-02 0:53
Sameer Maggon23-May-02 0:53 
GeneralRe: Directories in CTree View Pin
Nish Nishant23-May-02 1:00
sitebuilderNish Nishant23-May-02 1:00 
GeneralRe: Directories in CTree View Pin
Sameer Maggon23-May-02 1:04
Sameer Maggon23-May-02 1:04 
GeneralRe: Directories in CTree View Pin
Nish Nishant23-May-02 1:13
sitebuilderNish Nishant23-May-02 1:13 
GeneralRe: Directories in CTree View Pin
Prem Kumar23-May-02 1:17
Prem Kumar23-May-02 1:17 
GeneralRe: Directories in CTree View Pin
Sameer Maggon23-May-02 1:22
Sameer Maggon23-May-02 1:22 
GeneralRe: Directories in CTree View Pin
Alexandru Savescu23-May-02 1:30
Alexandru Savescu23-May-02 1:30 
GeneralRe: Directories in CTree View Pin
Nish Nishant23-May-02 1:24
sitebuilderNish Nishant23-May-02 1:24 
GeneralRe: Directories in CTree View Pin
Prem Kumar23-May-02 1:39
Prem Kumar23-May-02 1:39 
GeneralRe: Directories in CTree View Pin
Sameer Maggon23-May-02 2:08
Sameer Maggon23-May-02 2:08 
GeneralRe: Directories in CTree View Pin
Sameer Maggon23-May-02 2:09
Sameer Maggon23-May-02 2:09 

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.