- TalkBack 3 of 12:
- Next »
- « Previous
- Thread View
- Flat View
- Patch didn't affect properly coded applications
-
The "problem" is that user32.dll and hhctrl.ocx share the same "preferred base address." This isn't normally a problem, because when an app calls LoadLibrary("hhctrl.ocx"), the OS Loader will say "oh, user32.dll is already using your preferred base address, so I'll remap you to a different location."
So why are RealTek et al encounterin a problem? Because thy are NOT loading hhctrl.ocx dynamically (i.e. via LoadLibrary) -- they're directly linking to it. Direct linking will fail with conflicting base addresses.
So why are RealTek et al directly linking to hhctrl.ocx directly? Beats me. If you follow the documentation* on how to use the HTML Help API, all you need to do is #include, and link with htmlhelp.lib. If you do this, your application will correctly dynamically link to hhctrl.ocx. For whatever reason, RealTek et al are directly linking to hhctrl.ocx, and are now feeling the pain of their mistake.
* http://msdn.microsoft.com/library/default.asp?url=/library/en-us/htmlhelp/html/vsconOvaccessing.asp. An few excerpts: "To gain access to the HTML Help API, you link to the Htmlhelp.lib file and include the Htmlhelp.h file in your Windows program." "Htmlhelp.lib is an export library that exposes the HTML Help API and loads Hhctrl.ocx only when HtmlHelp() is called. In addition, Htmlhelp.lib locates the registered Hhctrl.ocx." Seems crystal clear to me. - Posted by: PB_z Posted on: 04/09/07 You are currently: a Guest | Members login | Terms of Use
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
What do you think?
SponsoredWhite Papers, Webcasts, and Downloads
- Get top-ranked Novell support for Red Hat at 50% less Novell A simplified IT environment isn't just less complex, it's more reliable. ... Download Now
- The Impact of Virtualization Software on Operating Environments VMware Today's use of virtualization technology allows IT professionals to ... Download Now
- Five Steps to Determine When to Virtualize YourServers VMware Server virtualization isn't just for big companies. Entry-level ... Download Now
Premier Vendor Content Whitepapers, webcasts & resources from our Power Center Sponsors
- Microsoft Dynamics CRM Online - Free Six-Month Trial for Eligible Organizations
-
Microsoft Dynamics CRM Online provides fast online access, simple contact management and better sales performance for a low monthly cost - the best value on the market today.

- Learn more about the free, six-month trial offer>>
- Keep Up With The Latest In Document Management with The DocuMentor.
-
Doc delivers the scoop on today's enterprise content management, printer maintenance, and all other issues related to document management. It's the DocuMentor Blog.
- Learn more >>
- Reduce risk. Reduce complexity. Increase reliability.
-
A simplified IT environment isn't just less complex. It's also more reliable. Standardize on a single Linux platform with SUSE Linux Enterprise from Novell, and get the world's most interoperable Linux
- Learn more >>
SmartPlanet
- Thought-provoking progressive ideas on diverse topics that intersect with technology, business, and life, and matter to the world at large. Visit SmartPlanet
- More from IBM
- How to Drive Better Business Outcomes with Exceptional Web Experiences Download the eBook
- Driving Business Agility through SOA Connectivity & Integration Read the White Paper from IBM
- Linking Decisions and Information for Organizational Performance Read the Tom Davenport study







