Solved

Setup Wizard asking odd question.  Ideas?

Posted on 1998-11-20
4
152 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: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
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 …
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…
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…

726 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