473,406 Members | 2,954 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

newer versions of header files

I have visual c++ 6.0 and i want to use a function
(setupuninstalloeminf) in setupapi.h that was not part of the original
setupapi.h shipped with vsc++ but was added later.

how do i go about getting the newer header file with the newer
function on my system. simply copying the header file from my visual
c++.net install to the vsc++ install seems to produce errors.

do i need to copy across a newer verion of setupapi.lib too, is that
all i need to copy across and is there a location that you can use to
download the latest verions of these components.

any help appreciate

thanks
Jul 22 '05 #1
1 2290
Glenn M wrote:
I have visual c++ 6.0 and i want to use a function
(setupuninstalloeminf) in setupapi.h that was not part of the original
setupapi.h shipped with vsc++ but was added later.

how do i go about getting the newer header file with the newer
function on my system. simply copying the header file from my visual
c++.net install to the vsc++ install seems to produce errors.


This is off-topic for this group, as setupapi.h is not a Standard C++
header, but part of Windows specific header files.
Therein also lies your answer. You need the Windows Platform SDK. You can
get it here (both as an on-line installation, as well as full download):
http://www.microsoft.com/msdownload/...sdk/sdkupdate/

After you install the SDK under the path where you installed it (typically
C:\Program Files\Microsoft SDK) there will be a "lib" folder and a "include"
folder. These contain the latest versions of the header files and libraries
belonging to Windows. The last step is instructing Visual C++ to use these
headers. In Visual C++ 6, go to Tools/Options, the Directories tab. Add the
"include" dir from the Platform SDK to the list for Include files, and the
"lib" dir to the list for Library files. Make sure they are at the *top* of
the list, otherwise it'll still use the old files, since it would see those
first.

You can also instruct VC++.NET to use these files, the same settings as in
VC6 can be found in VC++ under the "Projects/VC++ Directories" category in
the options window.

--
Unforgiven

Jul 22 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

30
by: Jive | last post by:
Can someone explain to me why Python 2.4 on MS Windows has these backward compatibility problems? What am I missing? Why won't extensions compiled to run with 2.3 also work with 2.4? Why does it...
1
by: Erik Cruz | last post by:
Hi. I know that different .net framework versions can live together, but can I install the newer .net framework 1.1 and after that install the older .net framework 1.0 version? Or do I need to...
7
by: John | last post by:
Hi I have an old access 97 application which I need to upgrade to one of the newer versions. Which of the access versions xp or 2003 should I choose? Which one is more stable? Thanks ...
26
by: _R | last post by:
Given that VS2005 has made an effort to clean up the syntax of VC++ (in C++/CLI), is there any future plans to do away with function protos, ala C#/VB? What are they needed for these days?
2
by: m_laci | last post by:
Hello there, We have encountered a strange error with our ASP.NET applications in combination with SmartNavigation and the setting from Internet Explorer: ‘Check for newer version of pages:...
2
by: Ed Staffin | last post by:
In Internet Explorer under the tools/internet options menu on the general tab, there is a settings button under Temporary internet files. In there the user can specify when to "Check for newer...
43
by: James Stewart | last post by:
If I were to begin creating a fairly simple database, i.e. a datasheet that would include two related tables to create an encyclopedic style database and then create some fairly indepth forms to...
10
by: parag_paul | last post by:
HI all, Suppose I have a huge code base, And I have a very common header file. Now there are mulitple places where this header file is kept. This header file cannot be factored as it has...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.