我的c#代码是
namespace test
{
public interface iHOL
{
bool teststru(out stru tru);
}
public struct stru
{
public bool bl;
public byte msg;
} public class clstest:iHOL
{
public bool teststru(out stru tru)
{
tru.bl = true;
tru.msg = 5;
return true;
}
}请问在vb里调用teststru函数时 要怎样设置(out stru tru)这个参数?
namespace test
{
public interface iHOL
{
bool teststru(out stru tru);
}
public struct stru
{
public bool bl;
public byte msg;
} public class clstest:iHOL
{
public bool teststru(out stru tru)
{
tru.bl = true;
tru.msg = 5;
return true;
}
}请问在vb里调用teststru函数时 要怎样设置(out stru tru)这个参数?
解决方案 »
- 只求一个能在winCE系统里运行 用C#实现能播放MP3的方法
- 导出excel乱码的问题
- 怎么实现点击picturebox显示的图片后,新开一个IE窗口显示该图片
- combobox控件的一个疑惑问题,有兴趣的朋友可以进来看看。
- C#超级菜鸟问题
- asp.net 在web.config里面如何配置<httpModules>元素?
- 照着sdk文档写了几行代码,怎么不行呢,关于web.config 方面的,创建节处理程序时发生异常
- 急!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1
- VC#中共有几种报表打印的方法?
- 关于坐标系统问题,内详.....
- 网页上的QQ留言问题
- 通信方式 不同网络互联
貌似这与COM无关。
在vb里 dim vbstruct as stru 这个时就会报错
报end of statement的错误啊
Set obj = New VCI_HOL_OBJ这样的话又报Invalid us of new keyword的错误