1\
public void DrawFunc(HDC hdc,Point Top,Point Bottom,IndicatorsInfor KdataInfor)
{
//参数列中的HDC hdc是从C++传过来的句柄,怎么能转换成C#能用(如:Graphics)
}
2/
从C++传过来的指针在C#里怎么用?
请各位大侠指点
Graphics..::.FromHdc 方法 (IntPtr)
http://msdn2.microsoft.com/zh-cn/library/20tc8e3b.aspx
Marshal.PtrToStructure 方法 (IntPtr, Type)
http://msdn2.microsoft.com/zh-cn/library/4ca6d5z7(VS.80).aspx