Click here to Skip to main content
15,926,959 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: can a visual c++ application done with VS 2005 ever exist widout .net framework Pin
JudyL_MD22-Aug-07 2:22
JudyL_MD22-Aug-07 2:22 
QuestionActiveX serialization Pin
shiraztk22-Aug-07 0:46
shiraztk22-Aug-07 0:46 
QuestionODBC & C++ Question Pin
Programm3r22-Aug-07 0:31
Programm3r22-Aug-07 0:31 
GeneralRe: ODBC & C++ Question Pin
Matthew Faithfull22-Aug-07 1:19
Matthew Faithfull22-Aug-07 1:19 
AnswerRe: ODBC & C++ Question Pin
James R. Twine22-Aug-07 1:53
James R. Twine22-Aug-07 1:53 
GeneralRe: ODBC & C++ Question Pin
Programm3r23-Aug-07 1:38
Programm3r23-Aug-07 1:38 
Questionhelp Pin
SnaKeBeD22-Aug-07 0:02
SnaKeBeD22-Aug-07 0:02 
AnswerRe: help Pin
Roger Allen22-Aug-07 0:29
Roger Allen22-Aug-07 0:29 
I htink you need to change the buffer size used for the returned filenames if the OFM struct:
It has to be large enough to contain all the full paths etc for all the files selected.

So you probably need _MAX_PATH * 20 in length:
<br />
    // copied and pasted from an app<br />
    char buffer[4096] = "";            // filename(s) buffer<br />
    dlg.m_ofn.nMaxFile = 4096;<br />
    dlg.m_ofn.lpstrFile = buffer;<br />


If you vote me down, my score will only get lower

AnswerRe: help Pin
SnaKeBeD22-Aug-07 1:30
SnaKeBeD22-Aug-07 1:30 
QuestionRe: help Pin
David Crow22-Aug-07 2:56
David Crow22-Aug-07 2:56 
GeneralRe: help Pin
Russell'22-Aug-07 3:04
Russell'22-Aug-07 3:04 
GeneralRe: help Pin
Russell'22-Aug-07 3:07
Russell'22-Aug-07 3:07 
AnswerRe: help Pin
Russell'22-Aug-07 1:47
Russell'22-Aug-07 1:47 
GeneralRe: help Pin
toxcct22-Aug-07 3:11
toxcct22-Aug-07 3:11 
GeneralRe: help Pin
Russell'22-Aug-07 3:22
Russell'22-Aug-07 3:22 
AnswerRe: help Pin
PJ Arends22-Aug-07 6:28
professionalPJ Arends22-Aug-07 6:28 
QuestionOLE Drag and Drop not starting Pin
Roger Allen22-Aug-07 0:01
Roger Allen22-Aug-07 0:01 
AnswerRe: OLE Drag and Drop not starting Pin
Roger Allen22-Aug-07 0:24
Roger Allen22-Aug-07 0:24 
QuestionDBException [modified] Pin
sanjutvm21-Aug-07 23:55
sanjutvm21-Aug-07 23:55 
QuestionAggregating the ActiveX control Pin
ss43121-Aug-07 23:37
ss43121-Aug-07 23:37 
QuestionHow to draw Arc in eVC++ (WinCE) Pin
himuskanhere21-Aug-07 23:31
himuskanhere21-Aug-07 23:31 
AnswerRe: How to draw Arc in eVC++ (WinCE) Pin
ThatsAlok21-Aug-07 23:52
ThatsAlok21-Aug-07 23:52 
GeneralRe: How to draw Arc in eVC++ (WinCE) Pin
himuskanhere22-Aug-07 0:21
himuskanhere22-Aug-07 0:21 
GeneralRe: How to draw Arc in eVC++ (WinCE) Pin
himuskanhere22-Aug-07 1:17
himuskanhere22-Aug-07 1:17 
AnswerRe: How to draw Arc in eVC++ (WinCE) Pin
Nelek22-Aug-07 1:26
protectorNelek22-Aug-07 1:26 

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.