Click here to Skip to main content
15,918,485 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Kernel32.dll Pin
parths18-Nov-03 23:58
parths18-Nov-03 23:58 
GeneralRe: Kernel32.dll Pin
Rama Krishna Vavilala19-Nov-03 11:29
Rama Krishna Vavilala19-Nov-03 11:29 
GeneralProblem with deriving a class from CFileDIalog Pin
Rob Manderson18-Nov-03 23:07
protectorRob Manderson18-Nov-03 23:07 
GeneralRe: Problem with deriving a class from CFileDIalog Pin
Neville Franks18-Nov-03 23:48
Neville Franks18-Nov-03 23:48 
GeneralRe: Problem with deriving a class from CFileDIalog Pin
Rob Manderson19-Nov-03 18:06
protectorRob Manderson19-Nov-03 18:06 
GeneralRe: Problem with deriving a class from CFileDIalog Pin
igor196019-Nov-03 10:21
igor196019-Nov-03 10:21 
GeneralRe: Problem with deriving a class from CFileDIalog Pin
Rob Manderson19-Nov-03 10:25
protectorRob Manderson19-Nov-03 10:25 
GeneralRe: Problem with deriving a class from CFileDIalog Pin
igor196019-Nov-03 10:34
igor196019-Nov-03 10:34 
OK, then check this in constructor:

m_ofn.lpstrFile = new TCHAR[10000];    <br />
m_ofn.nMaxFile = sizeof(m_ofn.lpstrFile);<br />
memset(m_ofn.lpstrFile, 0, sizeof(m_ofn.lpstrFile));


m_ofn.nMaxFile will be initialized to just 4: is it what you want?


"...Ability to type is not enough to become a Programmer. Unless you type in VB. But then again you have to type really fast..."
Me
GeneralRe: Problem with deriving a class from CFileDIalog Pin
Rob Manderson19-Nov-03 18:18
protectorRob Manderson19-Nov-03 18:18 
GeneralNeed information about port in CSocket Pin
Aswin18-Nov-03 23:03
Aswin18-Nov-03 23:03 
GeneralRe: Need information about port in CSocket Pin
Mike Dimmick18-Nov-03 23:50
Mike Dimmick18-Nov-03 23:50 
GeneralContents of Grid Pin
naveensg18-Nov-03 23:00
naveensg18-Nov-03 23:00 
Generalcontrol names Pin
naveensg18-Nov-03 22:56
naveensg18-Nov-03 22:56 
GeneralRe: control names Pin
Michael P Butler18-Nov-03 23:07
Michael P Butler18-Nov-03 23:07 
GeneralRe: control names Pin
naveensg18-Nov-03 23:13
naveensg18-Nov-03 23:13 
GeneralRe: control names Pin
David Crow19-Nov-03 3:29
David Crow19-Nov-03 3:29 
GeneralRe: control names Pin
naveensg19-Nov-03 3:40
naveensg19-Nov-03 3:40 
GeneralRe: control names Pin
David Crow19-Nov-03 4:57
David Crow19-Nov-03 4:57 
GeneralRe: control names Pin
naveensg19-Nov-03 17:14
naveensg19-Nov-03 17:14 
GeneralRe: control names Pin
igor196019-Nov-03 10:53
igor196019-Nov-03 10:53 
GeneralRe: control names Pin
naveensg19-Nov-03 17:16
naveensg19-Nov-03 17:16 
GeneralRe: control names Pin
igor196019-Nov-03 17:40
igor196019-Nov-03 17:40 
GeneralRe: control names Pin
naveensg19-Nov-03 19:36
naveensg19-Nov-03 19:36 
GeneralRe: control names Pin
igor196020-Nov-03 7:29
igor196020-Nov-03 7:29 
GeneralContext Menu Pin
naveensg18-Nov-03 22:52
naveensg18-Nov-03 22: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.