我正面临着实施IDispatch接口。有四种方法,以及它们的幸运3很简单: function TIEEventsSink.GetTypeInfoCount(...): HResult;
{
Result := E_NOTIMPL;
}
function TIEEventsSink.GetTypeInfo(...): HResult;
{
Result := E_NOT
在我的Windows应用程序中,我使用CreateWindow()函数创建了一个新窗口。注册和窗口创建如下: // Set up the capture window
WNDCLASS wc = {0};
// Set which method handles messages passed to the window
wc.lpfnWndProc = WindowMessageRedir
我有一个项目,我想要显示组合显示下拉列表的目录列表像对话框一样。 有一个Win32 API int DlgDirListComboBox(
LPTSTR lpPathSpec,
int nIDComboBox,
int nIDStaticPath,
UINT nFileType
);
和C#版本(感谢pInvoke.net) [DllImport("us