422,727 Members | 2,160 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 422,727 IT Pros & Developers. It's quick & easy.

Object reference not found error by PeekMessage

P: 1
hi,

we have a managed code

if (!PeekMessage(ref msg, new HandleRef(null, this.m_hWnd), 0, 0, 0))
{
WaitMessage();
break;
}
I am getting Object reference not found error.
2 Weeks Ago #1
Share this Question
Share on Google+
1 Reply


RedSon
Expert 5K+
P: 5,001
What is the exact error message? Which object has a reference that can't be found?
2 Weeks Ago #2

Post your reply

Sign in to post your reply or Sign up for a free account.