Solved

How to be RID of the Wintab32.dll error.

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

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…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

863 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

23 Experts available now in Live!

Get 1:1 Help Now