473,401 Members | 2,139 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,401 software developers and data experts.

64-bit lib version for CPUInfo

Hello,

I am in process of porting a 32-bit app to a 64-bit app.
The 32-bit app compiles/links and executes OK using the
CPUInfo.lib. However, when I compile/link the 64-bit app
I get several unresolved linker errors. All of the linker
errors are related to the CPUInfo.lib:

error LNK2019: unresolved external symbol wincpuid
error LNK2019: unresolved external symbol wincpufeatures
error LNK2019: unresolved external symbol cpuspeed

Is there a 64-bit lib version of CPUInfo?

Thanks,
-jc
Oct 13 '08 #1
4 2398
=?Utf-8?B?amM=?= <jc@discussions.microsoft.comwrote in news:18B2BBB0-
ED*************************@microsoft.com:
Hello,

I am in process of porting a 32-bit app to a 64-bit app.
The 32-bit app compiles/links and executes OK using the
CPUInfo.lib. However, when I compile/link the 64-bit app
I get several unresolved linker errors. All of the linker
errors are related to the CPUInfo.lib:

error LNK2019: unresolved external symbol wincpuid
error LNK2019: unresolved external symbol wincpufeatures
error LNK2019: unresolved external symbol cpuspeed

Is there a 64-bit lib version of CPUInfo?
Check with the supplier. I don't think it's part of VC (at least it's
nowhere in my installation and about the only thing I don't have installed
is Crystal Reports)

Dave Connet
Oct 14 '08 #2


"David Connet" wrote:
=?Utf-8?B?amM=?= <jc@discussions.microsoft.comwrote in news:18B2BBB0-
ED*************************@microsoft.com:
Hello,

I am in process of porting a 32-bit app to a 64-bit app.
The 32-bit app compiles/links and executes OK using the
CPUInfo.lib. However, when I compile/link the 64-bit app
I get several unresolved linker errors. All of the linker
errors are related to the CPUInfo.lib:

error LNK2019: unresolved external symbol wincpuid
error LNK2019: unresolved external symbol wincpufeatures
error LNK2019: unresolved external symbol cpuspeed

Is there a 64-bit lib version of CPUInfo?

Check with the supplier. I don't think it's part of VC (at least it's
nowhere in my installation and about the only thing I don't have installed
is Crystal Reports)

Dave Connet
Hi Dave,

Thank you for replying to my posting.
Yes, it is an Intel develped library.

-jc
Oct 14 '08 #3
=?Utf-8?B?amM=?= <jc@discussions.microsoft.comwrote in
news:78**********************************@microsof t.com:
>

"David Connet" wrote:
>=?Utf-8?B?amM=?= <jc@discussions.microsoft.comwrote in
news:18B2BBB0- ED*************************@microsoft.com:
Hello,

I am in process of porting a 32-bit app to a 64-bit app.
The 32-bit app compiles/links and executes OK using the
CPUInfo.lib. However, when I compile/link the 64-bit app
I get several unresolved linker errors. All of the linker
errors are related to the CPUInfo.lib:

error LNK2019: unresolved external symbol wincpuid
error LNK2019: unresolved external symbol wincpufeatures
error LNK2019: unresolved external symbol cpuspeed

Is there a 64-bit lib version of CPUInfo?

Check with the supplier. I don't think it's part of VC (at least it's
nowhere in my installation and about the only thing I don't have
installed is Crystal Reports)

Dave Connet

Hi Dave,

Thank you for replying to my posting.
Yes, it is an Intel develped library.
Then you need to get the x64 library from them. If there's not one
available, then you can't port to x64 - unless you remove the usage of
that library from you code.

Dave
Oct 19 '08 #4
David Connet wrote:
Then you need to get the x64 library from them. If there's not one
available, then you can't port to x64 - unless you remove the usage of
that library from you code.
Or make an out-of-proc COM object or command line EXE around the
function that only exists in 32-bit. That's a last resort possibility,
but it often works.

Tom
Oct 20 '08 #5

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

Similar topics

0
by: Marc Poinot | last post by:
Did anybody use numarray on a 64 bits platform ? (e.g. SGI/Irix) The package works on our 64 bits platforms... using 32 bits mode, but not using 64 mode. Big crash in _ufunc... Is there a flag to...
1
by: Hugo | last post by:
I have a dual boot machine, runs Win XP pro and Win XP Pro 64, XP boots from C and XP 64 boots from D. They both have VS 2005 Beta 2 installed. I have a webapp developed in Win XP (32) which...
4
by: muroogan | last post by:
I read a text file into a char variable char tchar; I want to trim leading spaces (Left trim).How can I do that in C++. Any input will be appreciated.
54
by: Lionel Valero | last post by:
Hello, I have a test program that is compiled fine on a 32 bits redhat linux using gcc : *********************** main (argc, argv) int argc; char *argv; { int *ka; int nka;
0
by: Hugo | last post by:
I have a dual boot machine, runs Win XP pro and Win XP Pro 64, Win XP boots from C and Win XP 64 boot from D. They both have VS 2005 Beta 2 installed. I have a webapp developed in Win XP (32)...
10
by: krunalb | last post by:
Hi, I am trying to shift unsigned long long value by 64 bits and this is what i get #include <stdio.h> int main() { unsigned short shiftby= 64;
14
by: mosi | last post by:
Problem: how to get binary from integer and vice versa? The simplest way I know is: a = 0100 a 64 but: a = 100 (I want binary number) does not work that way.
1
by: =?Utf-8?B?UGF1bCBQaGlsbGlwcw==?= | last post by:
I have read many things about this but I haven't got a clear vision on what to do if anything about this. I have a system that tries to find holes in my web site. One of the things it has...
2
by: James | last post by:
What's the difference between DB2V8 32-bits and 64-bits instance on AIX? and I am confused the relationship between DB2 32/64-bits instance and 32/64-bits AIX? Maybe it is a simple question....
7
by: Medvedev | last post by:
what's the meaning of the number 64 in the function fopen64?!!! i know fopen64 used to open big files but what 64 refer to and how much the usual fopen can open - pls explain
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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: 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
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.