社区
Delphi
帖子详情
interface not supported,怎么解决?
windflow
2002-05-10 06:05:06
多层应用的开发,使用DCOM连接,客户机为win2000pro,客户机注册了midas.dll.
客户应用程序运行时能激活应用服务器,但出现错误:interface not supported,如何处理?
...全文
4622
16
打赏
收藏
interface not supported,怎么解决?
多层应用的开发,使用DCOM连接,客户机为win2000pro,客户机注册了midas.dll. 客户应用程序运行时能激活应用服务器,但出现错误:interface not supported,如何处理?
复制链接
扫一扫
分享
转发到动态
举报
AI
作业
写回复
配置赞助广告
用AI写文章
16 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
xiaoyu
2002-06-18
打赏
举报
回复
good
windflow
2002-05-11
打赏
举报
回复
这个我在MSDN里也看到了,但用DELPHI的类型怎么定义呢,这样行不行:var p1:pointer;
type p2=^p1;
dancemaple
2002-05-11
打赏
举报
回复
HRESULT LoadTypeLib(szFileName, lplptlib)
OLECHAR FAR* szFileName
ITypeLib FAR* FAR* lplptlib
Loads and registers a type library.
Parameters
szFileName
Contains the name of the file from which LoadTypeLib should attempt to load a type library.
lplptlib
On return, contains a pointer to a pointer to the loaded type library.
是一个指向指针的指针
windflow
2002-05-11
打赏
举报
回复
to softwing:是我理解不深入,分给你吧.
softwing
2002-05-11
打赏
举报
回复
我上面早说过用户账户,早点看嘛,是说的不清楚吗?
windflow
2002-05-11
打赏
举报
回复
我自己已搞定了,关键在于客户机对服务器资源的访问权限。
windflow
2002-05-10
打赏
举报
回复
to dancemaple:
loadtypelib的第二个参数(servertlb)应是一个指针吧
windflow
2002-05-10
打赏
举报
回复
我的类型库为server.tlb,我uses了server_tlb,activeX,编译时还是不认servertlb这个参数.
dancemaple
2002-05-10
打赏
举报
回复
uses 你的应用程序服务器_TLB, ActiveX;
1、LoadTypeLib是API,是在ActiveX单元导入的
2、你的应用程序服务器_TLB也就是在服务器端生成的类型库
windflow
2002-05-10
打赏
举报
回复
在开发环境的机子上运行客户程序一切正常,就是把客户程序移到另一台机子才出现问题。
windflow
2002-05-10
打赏
举报
回复
to dancemaple:
OleCheck(LoadTypeLib('你的应用服务器.tlb', servertlb); 好象不行,需要uses哪个单元?我已uses了 comobj。但LoadTypeLib 和servertlb不认。
chechy
2002-05-10
打赏
举报
回复
如果在客户端注册了midas.dll,且又运行了服务器,那么就不应该出interface not support了。难道你又用了其他的Interface?
windflow
2002-05-10
打赏
举报
回复
to chechy:在客户端运行服务器程序也不行。
softwing
2002-05-10
打赏
举报
回复
经验,看以下:
用户账户和服务器上的帐号或密码不匹配
修改需要事务为支持事务
存储过程、包、方法、视图在数据库中失效,会返回此错
dancemaple
2002-05-10
打赏
举报
回复
客户端程序不能直接调用应用程序服务器端的接口。如果客户端直接使用应用程序服务器接口(客户端和应用服务器不在同一台机器上)的话,就会出现“接口不支持”的错误提示。解决方法有两种:
1、在客户端运行一次应用程序服务器,注册接口
2、在客户端程序的代码中(一般在FormCreate事件中),加入
OleCheck(LoadTypeLib('你的应用服务器.tlb', servertlb);
这样客户端运行时就会注册接口
chechy
2002-05-10
打赏
举报
回复
需要在客户端注册服务器的Interface信息。
在客户端运行一下服务器程序就可以了。
Installer User
Interface
Mode Not
Supported
解决
方法
今天在安装某个程序的时候,报了如下的错误: Installer User
Interface
Mode Not
Supported
,不支持安装程序的用户界面模式 之前是: 之后是: 感觉像是不兼容的问题,所以,就按照以往的经验,右键安装程序——>属性,在兼容性那里,选中。 然后再用管理员方式运行就OK了 ...
Linux第37步_
解决
“Boot
interface
6 not
supported
”之问题
学习Linux第37步,在使用USB OTG将“自己移植的固件”烧写到eMMC中时,串口会输出“Boot
interface
6 not
supported
”,发现很多人踩坑,我也一样。 不能使用“make -f ../Makefile.sdk all回车”来编译,否则在烧录程序时串口会报“Boot
interface
6 not
supported
”问题。
WSL中MySQL不能启动(Linux Native AIO
interface
is not
supported
| Can't open the mysql.plugin table)
首先确定Windows中的MySQL服务没有运行,占用3306端口 /var/log/mysql/error.log中依然报错: Linux Native AIO
interface
is not
supported
on this platform. Please check your OS documentation and install appropriate binary of Inn...
Static
interface
method calls are not
supported
at language level ‘5‘ 异常
解决
在使用IDEA开发flink-kafka时,设置 setStartingOffsets(OffsetsInitializer.earliest())时,发现标红,不能引用。 查看异常报文: Static
interface
method calls are not
supported
at language level ‘5’。 语言级别5,不支持静态方法引用。 修改语言级别,我的jdk是8,我就相应的改为了8,问题就
解决
了。 ...
Static
interface
method calls are not
supported
at language level ‘5报错
升级一下方法的版本,Alt+Enter 转载:Maven使用中遇到的问题-Lambda expressions are not
supported
at language level '5' - 鬼-魑魅魍魉 - 博客园
Delphi
5,930
社区成员
262,936
社区内容
发帖
与我相关
我的任务
Delphi
Delphi 开发及应用
复制链接
扫一扫
分享
社区描述
Delphi 开发及应用
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章