Solved

Setup Wizard asking odd question.  Ideas?

Posted on 1998-11-20
4
151 Views
Last Modified: 2010-05-03
It asks during the build of the setup of an application for LOCATE GDI and then LOCATE USER.  Asks each question about six times then gives up and builds an apparently perfectly good setup.exe group of files.  What are those prompts looking for and why do they not appear to matter?
0
Comment
Question by:rayford
  • 2
  • 2
4 Comments
 
LVL 14

Accepted Solution

by:
Matti earned 50 total points
ID: 1445909
You have used declarations for 16-bit WIN API not for 32bit

Check all API declarations of your code.


0
 
LVL 1

Author Comment

by:rayford
ID: 1445910
Thats got to be it.  But they do all include that 32 bit 16 bit like #IF WIN16 THEN verification logic (pasted them in out of some other source).   Yes of course VB5 does not EVER expect to run under 16 bit sho why leave that code in there even.  
0
 
LVL 14

Expert Comment

by:Matti
ID: 1445911
Hi!

This may be a wild ques but:

You must have read some DLL code and then used it in your exe project.
In DLL is possible to have ability to run on both platforms
and recon these automaticly, then 16bit applicaliton may use
same dll than 32bit version has.


Matti

0
 
LVL 1

Author Comment

by:rayford
ID: 1445912
First answer nailed it perfectly.  I removed the conditional #WIN16 If statement and declares and away the prompts went.  Never caused any problem because the IF WIN16 test failed and the code would never execute at runtime of course.

Thanks
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying 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

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

808 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