Passing HDC's
I am trying to pass an HDC to a function.
void SomeFn(HDC hdc);
{
//whatever
}
int Main()
{
HDC hdc;
SomeFn(hdc);
return 0;
}
Why does this call fail? In the compile error it says that it cannot convert the parameter?!
~BenDilts( void );
Is this your original program?? Maybe you wrote HDC *hdc in the function parameter list. Give me the original compiler message!
Visit our homepage: www.rarebyte.de.st
GA
Visit our homepage: www.rarebyte.de.st
GA
Visit our homepage: www.rarebyte.de.stGA
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement