views:

103

answers:

2

I want HWND object to be converted to my user defined object..may i know how can i archive this?

Below is my sample code :

File1.cpp { XYZ(*this); }

File2.cpp { XYZ(HWND hwnd) { // Here i want to access instance of File1.So can i type cast the HWND object } }

}

A: 

What exactly are you trying to do? You are telling us your issues, but what is the problem you're trying to solve?

knight666
0 vote down check I will not be having the instance of the above File1.cpp
Raj
A: 

I will not be having the instance of the above File1.cpp

Raj