D
dngchn
I know the handle of object that included other process.
and I know the type of that object. (I called that type as 'TestClass').
In my code,
// I get the handle of object from other process.
Intptr knowHandle = Win32.FindWindow(........
// I want to access that object, call method or get property, so
TestClass myTest;
myTest = ????? knwonHandle ???? ; // This point is my question. How to
assign the handle to the object ?
// If the above is sucess, I can access the object as like below.
myTest.someMethod();
var tempVar = myTest.GetSomeValue();
Is it possible?
Please some advice...
and I know the type of that object. (I called that type as 'TestClass').
In my code,
// I get the handle of object from other process.
Intptr knowHandle = Win32.FindWindow(........
// I want to access that object, call method or get property, so
TestClass myTest;
myTest = ????? knwonHandle ???? ; // This point is my question. How to
assign the handle to the object ?
// If the above is sucess, I can access the object as like below.
myTest.someMethod();
var tempVar = myTest.GetSomeValue();
Is it possible?
Please some advice...