• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 130
  • Last Modified:

C++ question

I'm getting compile errors.  It's been 20 years since I've code C++.   See errors in image.  Can anyone help with these?

C   errors
0
HLRosenberger
Asked:
HLRosenberger
  • 2
1 Solution
 
sarabandeCommented:
you could use a cast:

if (lastFocusWindow != (HWND)winId())

Open in new window


or you rewrite the winId function and return a HWND instead of an integer.

Sara
0
 
HLRosenbergerAuthor Commented:
The cast works.  thanks,.
0
 
HLRosenbergerAuthor Commented:
The cast works.  thanks,.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now