Solved

How to be RID of the Wintab32.dll error.

Posted on 2004-10-13
4
990 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

ScreenConnect 6.0 Free Trial

At ScreenConnect, partner feedback doesn't fall on deaf ears. We collected partner suggestions off of their virtual wish list and transformed them into one game-changing release: ScreenConnect 6.0. Explore all of the extras and enhancements for yourself!

Question has a verified solution.

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

Suggested Solutions

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…
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

803 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