[Error] Unit1.pas(38): Type not allowed in OLE Automation call
还是不行
还是不行
解决方案 »
- 为什么我写的程序运行时候在任务栏看不到了
- 100分dbgrideh多标头合并导出EXCEL,继续提问?
- 不用前台循环.不用后台SQL,如何在ClientDataSet上实现这样的统计
- 请问哪里有delphi6 下载?好用的
- 求助:vb代码转delphi
- 散分,大家请进
- 想找私活!
- 变量初始化的问题
- !!!!如何使DBGrid某列所有的内容显示为“*”,相当于Edit.PassWordChar功能!!!
- 我的文章为什么没了?再次提问!
- ExpressBar 4 question! how to create a dxBar with a dxBarEdit in it by code at runtime ? thanku........................100.fen
- 这个问题有点难!不是高手莫进来。
oleMapInfo := CreateOLEObject('MapInfo.Application');
except
showmessage('aa');
end;
theResponder := Tautomationtest.create;
//下面这行报错
oleMapInfo.SetCallback(theResponder as Tautomationtest); Str(panel1.Handle, sWinHand);
msgString := 'Set Next Document Parent '
+ sWinHand + ' Style 1';
oleMapInfo.Do(msgString);
msgString := 'Set Application Window '
+ sWinHand;
oleMapInfo.Do(msgString);
//打开地图并显示,
msgString := 'Run Application "'
+ ExtractFilePath(Application.EXEName) + 'test.wor"';
oleMapInfo.Do(msgString);
这是我的程序
[email protected]
你可以看看那个对象里面的方法应该调用什么,传入什么类型
你是否确认你以前用其他方法使用这个成功过
我没有用过mapinfo