Solved

Using Help files in Applikations

Posted on 1999-01-26
6
190 Views
Last Modified: 2010-04-02
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;
..
0
Comment
Question by:win32
  • 3
  • 3
6 Comments
 
LVL 14

Accepted Solution

by:
AlexVirochovsky earned 10 total points
Comment Utility
See API WinHelp(hWnd, "c:\\test.hlp", ....);
0
 

Author Comment

by:win32
Comment Utility
Year that works fine BUT how do i do this:

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.hlp;

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 ??
0
 
LVL 14

Expert Comment

by:AlexVirochovsky
Comment Utility
Get current disk you can with function getdisk();
Get current dir you can with function getcurdir/getcwd
0
Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

 

Author Comment

by:win32
Comment Utility
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()
0
 

Author Comment

by:win32
Comment Utility
And what about a function returning the path to the operating system
eg. c:\win95
 Dos that exists ??
0
 
LVL 14

Expert Comment

by:AlexVirochovsky
Comment Utility
Yes, GetWindowsDir
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Suggested Solutions

C++ Properties One feature missing from standard C++ that you will find in many other Object Oriented Programming languages is something called a Property (http://www.experts-exchange.com/Programming/Languages/CPP/A_3912-Object-Properties-in-C.ht…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now