Compiling VB6 app w/ .NET interop, only runs if compiled on my machine

ぃ、小莉子 提交于 2019-12-04 15:42:30
Joel B Fant

I've since discovered that it had to do with 3 particular methods on my control that were 'returning' (via ref parameter) structs. I ended up using a workaround involving returning classes instead of structs. But I'm still curious, so I asked a different question.

Try removing the user control from the form in your main VB6 app and re-adding it.

Not sure, but I had also issues like that. Try using regasm with /codebase.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!