64-bit lib version for CPUInfo

J

jc

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
 
D

David Connet

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
 
J

jc

David Connet said:
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
 
D

David 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
 
T

Tamas Demjen

David said:
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top