HWND in a Managed C++ Class Library
-
Hey coders.... Okay I am just trying to create an instance from HWND and it won't let me. ie.
using namespace System; #using <mscorlib.dll> public _gc class COO { HWND m_hwnd; public: COO(HWND hwnd) :m_hwnd(hwnd) {} };
When I hover over HWND it gives me (typedef HWND__ *HND) so I assume it is recognizing it but for some reason I can't use it.... If anyone could tell me why and how to get around this it would be much appreciated. Thanks... :-D -
Hey coders.... Okay I am just trying to create an instance from HWND and it won't let me. ie.
using namespace System; #using <mscorlib.dll> public _gc class COO { HWND m_hwnd; public: COO(HWND hwnd) :m_hwnd(hwnd) {} };
When I hover over HWND it gives me (typedef HWND__ *HND) so I assume it is recognizing it but for some reason I can't use it.... If anyone could tell me why and how to get around this it would be much appreciated. Thanks... :-DDid you forget a
#include <windows.h>
?
Author of the romantic comedy Summer Love and Some more Cricket [New Win] Review by Shog9 Click here for review[NW]