Solved

How to be RID of the Wintab32.dll error.

Posted on 2004-10-13
4
987 Views
Last Modified: 2012-06-21
Of course I know how to resolve the problem.  The error message is "Wintab32.dll not found" Install a Wintab driver.  The problem is, some of our users don't know that. Wintab32.dll is included in our Delphi app, as it depends on a digitizer.  Our customers frequently install the application on a new machine, and do not install the digitizer. My programming guru's tell me that since the application closes on this error and it is fatal, we cannot put up a more descriptive error message.  Something along the lines of "Please install the digitizer driver."  We would install it for them, except there are several different compatible brands and styles of digitizer out there, and far be it for us to limit our customers choices.

In short, what can be done when Wintab32.dll is depended on for operation. We've gone over changing the install script to pop a message box saying something like "make sure your digitizer is installed and working" but with mixed results.
0
Comment
Question by:nukeme369
  • 2
4 Comments
 
LVL 14

Accepted Solution

by:
DragonSlayer earned 250 total points
ID: 12305129
It depends on how you load the .DLL

If you load it dynamically, you can do something like:

var
  DLLHandle: THandle;

DLLHandle := LoadLibrary('Wintab32.dll');
if DLLHandle = 0 then // if unable to load, close gracefully
begin
  Release;
  raise Exception('Unable to find the driver for your digitizer. Please contact your system administrator');
end;
0
 
LVL 26

Expert Comment

by:EddieShipman
ID: 12308417
Personally, I'd modify the install program for my own application to install the WinTab driver as well. You can do that with InstallShield.
0
 
LVL 2

Author Comment

by:nukeme369
ID: 12406146
Thanks guys.
0
 
LVL 14

Expert Comment

by:DragonSlayer
ID: 12431282
Glad it helped! ;-)
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

757 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

14 Experts available now in Live!

Get 1:1 Help Now