Solved

Setup Wizard asking odd question.  Ideas?

Posted on 1998-11-20
4
148 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

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

Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

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