Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9052

DotNet HitTest BadFormat

$
0
0

How do I call a HitTest from a DotNet project?

 

 

 

I'm just trying the DotNet application SDK samples such as Gestures.

 

I'm guessing you would call a DotNet hit-test like this...

 

 

var hitTest = newHitTestWrapper(200, 200);

var result = _dvlRenderer.HitTest(hitTest);

if (Result.OK == result)

{

     ....

}


...but I always get a result of Result.BadFormat, which implies to me that m_uSizeOfDVLHitTest does not hold the expected value in the underlying sDVLHitTest struct

 

I am using visual studio 2015, and framework 4.5 (also tried 4.5.2)



Viewing all articles
Browse latest Browse all 9052

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>