|
|
求救~!!自定义结构,VB与dll之间通讯问题!!!
我在VB中自定义了个结构
Private Type Gen
name As string
birthDay As string
deathDay As string
End Type
这结构要在C++dll中使用到的,
struct Gen
{
char name[10];
char birthDay[10];
char deathDay[10];
};
dll中定义
但是dll中的 MessageBox(NULL,newGen->name,NULL,NULL);
显示的都是乱码,为什么啊??????出了什么问题了??
|
|