Solved

How to be RID of the Wintab32.dll error.

Posted on 2004-10-13
4
992 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

733 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