Click here to Skip to main content
16,008,469 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: Dynamic Structures Pin
CPallini2-Jul-07 1:04
mveCPallini2-Jul-07 1:04 
QuestionRe: Dynamic Structures Pin
Programm3r2-Jul-07 2:29
Programm3r2-Jul-07 2:29 
AnswerRe: Dynamic Structures Pin
CPallini2-Jul-07 2:47
mveCPallini2-Jul-07 2:47 
GeneralRe: Dynamic Structures Pin
Programm3r2-Jul-07 2:59
Programm3r2-Jul-07 2:59 
AnswerRe: Dynamic Structures Pin
Eytukan2-Jul-07 6:15
Eytukan2-Jul-07 6:15 
QuestionDialog inside view? Pin
adityarao312-Jul-07 0:22
adityarao312-Jul-07 0:22 
QuestionHtmlHelp function problem [modified] Pin
camalia2-Jul-07 0:16
camalia2-Jul-07 0:16 
AnswerRe: HtmlHelp function problem Pin
Iain Clarke, Warrior Programmer2-Jul-07 2:47
Iain Clarke, Warrior Programmer2-Jul-07 2:47 
I would guess that your current directory is being set by the FileOpen dialog, and you are not calling the help function with the correct name.

Imagine your program lives in "c:\myprog".

User runs your program:
Dir is set to c:\myprog
User asks for help
HtmlHelp ("myhelp.chm") runs c:\myprog\myhelp.chm.
User changes directory to c:\other
User asks for help
HtmlHelp ("myhelp.chm") runs c:\other\myhelp.chm, and fails.

What you need to do is to make sure you're running the correct help file.

What I do is: Use GetModuleFilename to get the full path of the exe. replace exe with chm, and then run that help file.

I hope that helped!

Iain.



GeneralRe: HtmlHelp function problem Pin
camalia2-Jul-07 3:04
camalia2-Jul-07 3:04 
QuestionConvert string^ to numeric Pin
mikobi2-Jul-07 0:06
mikobi2-Jul-07 0:06 
AnswerRe: Convert string^ to numeric Pin
aatul2-Jul-07 0:08
aatul2-Jul-07 0:08 
AnswerRe: Convert string^ to numeric Pin
MANISH RASTOGI2-Jul-07 0:40
MANISH RASTOGI2-Jul-07 0:40 
GeneralRe: Convert string^ to numeric Pin
mikobi2-Jul-07 2:10
mikobi2-Jul-07 2:10 
GeneralRe: Convert string^ to numeric Pin
mikobi2-Jul-07 2:12
mikobi2-Jul-07 2:12 
AnswerRe: Convert string^ to numeric Pin
Hamid_RT2-Jul-07 1:25
Hamid_RT2-Jul-07 1:25 
QuestionHow to include MPEG Player ? Pin
adityarao311-Jul-07 22:43
adityarao311-Jul-07 22:43 
AnswerRe: How to include MPEG Player ? Pin
Mark Salsbery2-Jul-07 6:10
Mark Salsbery2-Jul-07 6:10 
QuestionRe: How to include MPEG Player ? Pin
adityarao312-Jul-07 20:22
adityarao312-Jul-07 20:22 
QuestionSort items in list view Pin
nitin31-Jul-07 22:15
nitin31-Jul-07 22:15 
AnswerRe: Sort items in list view Pin
Naveen1-Jul-07 23:29
Naveen1-Jul-07 23:29 
AnswerRe: Sort items in list view Pin
CPallini1-Jul-07 23:30
mveCPallini1-Jul-07 23:30 
GeneralRe: Sort items in list view Pin
tasumisra2-Jul-07 4:59
tasumisra2-Jul-07 4:59 
GeneralRe: Sort items in list view Pin
CPallini2-Jul-07 5:18
mveCPallini2-Jul-07 5:18 
GeneralRe: Sort items in list view Pin
tasumisra2-Jul-07 5:28
tasumisra2-Jul-07 5:28 
GeneralRe: Sort items in list view Pin
CPallini2-Jul-07 5:32
mveCPallini2-Jul-07 5:32 

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.