Results 1 to 4 of 4

Thread: [RESOLVED] programed code on 32bit wont work on 64bit

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Oct 2009
    Posts
    534

    Resolved [RESOLVED] programed code on 32bit wont work on 64bit

    i have my app code which programed on 32 bit now when i copy it to 64 bit and try to open the project i get this error
    Type library importer encountered a property getter 'sessionPlaylistCount' on type 'WMPLib.IWMPNowPlayingHelperDispatch' without a valid return type. The importer will attempt to import this property as a method instead. TlbImp
    what shall i do to fix it?

  2. #2
    eXtreme Programmer .paul.'s Avatar
    Join Date
    May 2007
    Location
    Chelmsford UK
    Posts
    26,422

    Re: programed code on 32bit wont work on 64bit

    try setting your target CPU to x86

    Project-->Properties-->Compile-->Advanced Compile Options-->Target CPU

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Oct 2009
    Posts
    534

    Re: programed code on 32bit wont work on 64bit

    shouldn't the be library for 64 bit i should replace with the 32 bit
    any way your solution work fine i just wonder

  4. #4
    eXtreme Programmer .paul.'s Avatar
    Join Date
    May 2007
    Location
    Chelmsford UK
    Posts
    26,422

    Re: programed code on 32bit wont work on 64bit

    no. when you're using 64 bit os + you have components that only work in 32 bit os, you need to target 32 bit

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width