Solved

How to be RID of the Wintab32.dll error.

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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
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 video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

827 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