Mega Search
23.2 Million


Sign Up

Make a donation  
HTMLHelp in 64-bit application  
News Group: embarcadero.public.cppbuilder.language.cpp

Hello,
I have a problem, please give me an advice. I have help application with .chm suffix. I used API htmlhelp function with dynamic library htmlhelp.lib in 32-bit compiler and everything worked fine. But now I need to compile 64-bit application and dynamic library is only for 32-bit compilators. I have not found any dynamic library with htmlhelp function for 64-bit compilers. This is reference to htmlhelp function: http://msdn.microsoft.com/en-us/library/windows/desktop/ms670172%28v=vs.85%29.aspx 

Could you tell me how I can compile or what classes I can use for compiling htmlhelp function in 64-bit compiler.

Thanks

Vote for best question.
Score: 0  # Vote:  0
Date Posted: 9-Jan-2015, at 7:36 AM EST
From: Frantisek Linhart
 
Re: HTMLHelp in 64-bit application  
News Group: embarcadero.public.cppbuilder.language.cpp
See the comments at the recent post

64-bit vcl.HtmlHelpViewer error when Linking with runtime package = false 

on the C++ | Deployment thread.  Might help.

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 13-Jan-2015, at 5:52 PM EST
From: Dale Chant
 
Re: HTMLHelp in 64-bit application  
News Group: embarcadero.public.cppbuilder.language.cpp
Frantisek wrote:

> I have help application with .chm suffix. I used API htmlhelp function with
> dynamic library htmlhelp.lib in 32-bit compiler and everything worked fine.
> But now I need to compile 64-bit application and dynamic library is only 
for
> 32-bit compilators. I have not found any dynamic library with htmlhelp
> function for 64-bit compilers.

If you cannot find a 64bit DLL, then you will have to either:

1. create a separate 32-bit app that uses the DLL, and then have your 64-bit 
app run the 32-bit app when needed.

2. pass the .chm filename to ShellExecute/Ex() and let the OS decide how 
to open the file.

--
Remy Lebeau (TeamB)

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 9-Jan-2015, at 9:31 AM EST
From: Remy Lebeau (TeamB)