locked
error C2040: '!=' : 'HANDLE' differs in levels of indirection from 'UINT' RRS feed

  • Question

  • HI

    Migartion from VC 6.0 to VS 2010

    error C2040: '!=' : 'HANDLE' differs in levels of indirection from 'UINT'.

    Please help me in this regard

    Thanks inadvance

    Praveena

    Thursday, September 27, 2012 6:13 AM

Answers

  • looks like you are comparing the handle if this is the scenario You need a cast to HANDLE.For further assistance please show your code.

    Thanks


    Rupesh Shukla

    Friday, September 28, 2012 7:28 PM

All replies

  • On 27/09/2012 08:13, Praveena LR wrote:


    Migartion from VC 6.0 to VS 2010

    error C2040: '!=' : 'HANDLE' differs in levels of indirection from 'UINT'.

    To get some help, you may want to post the source code that is causing this error.

    Giovanni

    Thursday, September 27, 2012 9:43 AM
  • looks like you are comparing the handle if this is the scenario You need a cast to HANDLE.For further assistance please show your code.

    Thanks


    Rupesh Shukla

    Friday, September 28, 2012 7:28 PM