64-bit lib version for CPUInfo

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • =?Utf-8?B?amM=?=

    #1

    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
  • David Connet

    #2
    Re: 64-bit lib version for CPUInfo

    =?Utf-8?B?amM=?= <jc@discussions .microsoft.comw rote in news:18B2BBB0-
    ED59-4848-9158-A299D4A6B995@mi crosoft.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

    Comment

    • =?Utf-8?B?amM=?=

      #3
      Re: 64-bit lib version for CPUInfo



      "David Connet" wrote:
      =?Utf-8?B?amM=?= <jc@discussions .microsoft.comw rote in news:18B2BBB0-
      ED59-4848-9158-A299D4A6B995@mi crosoft.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

      Comment

      • David Connet

        #4
        Re: 64-bit lib version for CPUInfo

        =?Utf-8?B?amM=?= <jc@discussions .microsoft.comw rote in
        news:78C9964F-8FFB-44B4-836E-DECFC3DD2EDE@mi crosoft.com:
        >
        >
        "David Connet" wrote:
        >
        >=?Utf-8?B?amM=?= <jc@discussions .microsoft.comw rote in
        >news:18B2BBB 0- ED59-4848-9158-A299D4A6B995@mi crosoft.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

        Comment

        • Tamas Demjen

          #5
          Re: 64-bit lib version for CPUInfo

          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

          Comment

          Working...