Click here to Skip to main content
15,919,245 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Urgent Checkbox help required Pin
phaedrus16-Mar-03 15:30
phaedrus16-Mar-03 15:30 
GeneralAccelerator manager Pin
yooyo3d16-Mar-03 11:07
yooyo3d16-Mar-03 11:07 
GeneralDrag & Drop with IDragSourceHelper Pin
Hiusing16-Mar-03 10:02
Hiusing16-Mar-03 10:02 
GeneralTranslate VB -> C++ Pin
mduarte16-Mar-03 9:29
mduarte16-Mar-03 9:29 
GeneralRe: Translate VB -> C++ Pin
Christian Graus16-Mar-03 9:40
protectorChristian Graus16-Mar-03 9:40 
QuestionFind a substring in strings of COMBO? Pin
_skidrow_vn_16-Mar-03 9:22
_skidrow_vn_16-Mar-03 9:22 
AnswerRe: Find a substring in strings of COMBO? Pin
Dave Bryant16-Mar-03 9:26
Dave Bryant16-Mar-03 9:26 
GeneralProblems with Htmlhelp API library Pin
trimtrom16-Mar-03 9:00
trimtrom16-Mar-03 9:00 
Hello,

I have just been writing an application in VC++.Net Standard on Windows XP Professional, and have decided to use the latest version of HtmlHelp for the help facility. I have just installed HtmlHelp, and according to the instructions I have put htmlhelp.lib under
"C:\Program Files\Microsoft Visual Studio .NET\Vc7\lib" directory, and htmlhelp.h under the similarly named include directory.

I have written the following API code to invoke the Help system:

void CMainFrame::OnCallHlp()
{
::HtmlHelp((HWND)GetDesktopWindow(),
"C:\\C++Proj\\LPSEmail\\LPShlp\\html\\LPSEmail.chm::
/afxFoldersAdd.htm", HH_DISPLAY_TOPIC,NULL);
}

However, when I compile I get the following link error:

LPSEmail error LNK2019: unresolved external symbol _HtmlHelpA@16 referenced in function "public: void __thiscall CMainFrame::OnCallHlp(void)" (?OnCallHlp@CMainFrame@@QAEXXZ)

I would be very grateful if someone could tell me how to make the programme link correctly. I presume the problem is because it cannot find the external HtmlHelp API library??

All help appreciated,

Trimtrom
GeneralRe: Problems with Htmlhelp API library Pin
brandon187916-Mar-03 9:07
brandon187916-Mar-03 9:07 
GeneralRe: Problems with Htmlhelp API library Pin
trimtrom16-Mar-03 9:15
trimtrom16-Mar-03 9:15 
GeneralRe: Problems with Htmlhelp API library Pin
Neville Franks16-Mar-03 9:13
Neville Franks16-Mar-03 9:13 
GeneralRe: Problems with Htmlhelp API library Pin
trimtrom16-Mar-03 9:26
trimtrom16-Mar-03 9:26 
GeneralRe: Problems with Htmlhelp API library Pin
Neville Franks16-Mar-03 9:30
Neville Franks16-Mar-03 9:30 
GeneralRe: Problems with Htmlhelp API library Pin
PJ Arends16-Mar-03 14:46
professionalPJ Arends16-Mar-03 14:46 
GeneralRe: Problems with Htmlhelp API library Pin
Dave Bryant16-Mar-03 9:13
Dave Bryant16-Mar-03 9:13 
GeneralRe: Problems with Htmlhelp API library Pin
Neville Franks16-Mar-03 9:20
Neville Franks16-Mar-03 9:20 
GeneralRe: Problems with Htmlhelp API library Pin
Dave Bryant16-Mar-03 9:22
Dave Bryant16-Mar-03 9:22 
GeneralInterdependent classes Pin
brandon187916-Mar-03 8:54
brandon187916-Mar-03 8:54 
GeneralRe: Interdependent classes Pin
Anonymous16-Mar-03 9:16
Anonymous16-Mar-03 9:16 
GeneralRe: Interdependent classes Pin
Dave Bryant16-Mar-03 9:17
Dave Bryant16-Mar-03 9:17 
GeneralRe: Interdependent classes Pin
Neville Franks16-Mar-03 9:19
Neville Franks16-Mar-03 9:19 
GeneralRe: Interdependent classes Pin
Jambolo16-Mar-03 14:07
Jambolo16-Mar-03 14:07 
GeneralUrgent! File I/O problem Pin
williamking16-Mar-03 7:37
williamking16-Mar-03 7:37 
GeneralICM and non-sRGB color spaces Pin
Jonathan Gilligan16-Mar-03 7:07
Jonathan Gilligan16-Mar-03 7:07 
GeneralRemove BOLD FONT in all caption of control??? :( Pin
_skidrow_vn_16-Mar-03 7:04
_skidrow_vn_16-Mar-03 7:04 

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.