Advertisement

Passing HDC's

Started by April 21, 2000 06:25 AM
0 comments, last by BeanDog 24 years, 10 months ago
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.stGA

This topic is closed to new replies.

Advertisement