win32
asked on
Using Help files in Applikations
1) I have made a helpfile: Test.hlp
2) I have made a windows program !
How do I do this (Start a Help file from an applikation)
..
IDM_HELP :
StartFile(c:\Test.hlp)
return 0;
..
2) I have made a windows program !
How do I do this (Start a Help file from an applikation)
..
IDM_HELP :
StartFile(c:\Test.hlp)
return 0;
..
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Get current disk you can with function getdisk();
Get current dir you can with function getcurdir/getcwd
Get current dir you can with function getcurdir/getcwd
ASKER
1)What do I have to include lib .h ??
2) Not what I ment !, A function returning the path of the program running, like the Java function GetDocumentDatabase()
2) Not what I ment !, A function returning the path of the program running, like the Java function GetDocumentDatabase()
ASKER
And what about a function returning the path to the operating system
eg. c:\win95
Dos that exists ??
eg. c:\win95
Dos that exists ??
Yes, GetWindowsDir
ASKER
WinHelp(hWnd, "test.hlp", ....); NOT writing where the location is "C:\...", is there a function like this GetExePath(); So I could write String=GetExePath+helpfile
If I do like this WinHelp(hWnd, "test.hlp",...) Windows somtimes >>sayes that the "test.help" file is not found << because the hole path is not specifyed !! How do I solve that problem ??