关于COM组建的调用问题,如果解决加分
我在VC调用一个VB作的中的控件(arcinfo中的AfCommandsVB控件),在VB控件中会弹出一个窗口,我在VC中运行时发生如下错误:
A error has occured in the application, record the call stack sequence
and description the error
call stack sequence
ICommand_OnClick C:\clsQuery.cls
Description:
不能在该主机应用程序中从ActiveX DLL Active控件或属性页显示非模式对话框。
如果我用VB调试来显示则没有问题
谁遇到过这样的问题,怎么解决??