Click here to Skip to main content
15,912,400 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: List Box(simple Question) Pin
Dave Bryant8-Dec-02 8:18
Dave Bryant8-Dec-02 8:18 
GeneralRe: List Box(simple Question) Pin
Paddy8-Dec-02 10:04
Paddy8-Dec-02 10:04 
GeneralRe: List Box(simple Question) Pin
Dave Bryant8-Dec-02 10:09
Dave Bryant8-Dec-02 10:09 
GeneralRe: List Box(simple Question) Pin
Paddy8-Dec-02 22:32
Paddy8-Dec-02 22:32 
GeneralRe: List Box(simple Question) Pin
Thomas Lau8-Dec-02 15:37
Thomas Lau8-Dec-02 15:37 
GeneralCentralise Database Pin
kubbazoob8-Dec-02 5:41
kubbazoob8-Dec-02 5:41 
GeneralRe: Centralise Database Pin
Michael P Butler8-Dec-02 9:37
Michael P Butler8-Dec-02 9:37 
Generalfindexecutable() Pin
pnpfriend8-Dec-02 5:03
pnpfriend8-Dec-02 5:03 
why am I getting runtime error at function < FindExecutable(fname,path,result) > called???


[code]
// To get the file's an appropriate associate execute file
int GetAssociation(FileInfo *fileinfo, CString &Result)
{

//seperating path and file's name

int found;
char fn[_MAX_FNAME];
char p[_MAX_PATH];

strcpy(fn,fileinfo->name);
strcpy(p,fileinfo->path);

LPTSTR fname,path,result;
fname =(LPTSTR) fn;
path = (LPTSTR) p;

//=(LPTSTR)(const char*)result;
// FindExecutable(fn,p,r);

int h =(int)FindExecutable(fname,path,result);
if( h <= 32)
{
Result.Format("%s",result);
found = 1;
}
else
found = 0;
return found;
}[/code]

thanks
GeneralRe: findexecutable() Pin
Ted Ferenc8-Dec-02 6:45
Ted Ferenc8-Dec-02 6:45 
GeneralRe: findexecutable() Pin
Michael Dunn8-Dec-02 7:27
sitebuilderMichael Dunn8-Dec-02 7:27 
GeneralThanks Pin
pnpfriend8-Dec-02 8:51
pnpfriend8-Dec-02 8:51 
GeneralSymbol Picker dialog Pin
wolf_paul8-Dec-02 2:54
wolf_paul8-Dec-02 2:54 
QuestionHow to trap tab-messages in an Editcontrol in a dialog? Pin
Martin Haesemeyer8-Dec-02 1:15
Martin Haesemeyer8-Dec-02 1:15 
GeneralFile properties via C++ Pin
Bats8-Dec-02 0:45
Bats8-Dec-02 0:45 
GeneralRe: File properties via C++ Pin
Michael P Butler8-Dec-02 4:03
Michael P Butler8-Dec-02 4:03 
GeneralRe: File properties via C++ Pin
Joe Woodbury9-Dec-02 19:30
professionalJoe Woodbury9-Dec-02 19:30 
GeneralFTP without Wininet Pin
CaesarCZ8-Dec-02 0:10
CaesarCZ8-Dec-02 0:10 
GeneralRe: FTP without Wininet Pin
User 66588-Dec-02 1:45
User 66588-Dec-02 1:45 
GeneralRe: FTP without Wininet Pin
carrie8-Dec-02 6:10
carrie8-Dec-02 6:10 
GeneralRe: FTP without Wininet Pin
Redeemer-dk8-Dec-02 9:39
Redeemer-dk8-Dec-02 9:39 
GeneralRe: FTP without Wininet Pin
CaesarCZ8-Dec-02 9:54
CaesarCZ8-Dec-02 9:54 
GeneralSimple question about Socket ! Pin
Hadi Rezaee7-Dec-02 23:41
Hadi Rezaee7-Dec-02 23:41 
GeneralRe: Simple question about Socket ! Pin
User 66588-Dec-02 2:14
User 66588-Dec-02 2:14 
GeneralCursor doesn't change Pin
S O S7-Dec-02 23:11
S O S7-Dec-02 23:11 
GeneralRe: Cursor doesn't change Pin
KaЯl8-Dec-02 21:43
KaЯl8-Dec-02 21:43 

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.