" Ashok" <关于********** @ yahoo.com> schrieb:Hello,"Ashok" <as**********@yahoo.com> schrieb:我使用了VBA6.dll的API调用EbExecuteLine。它有一个参数pStringCode(String的指针)。为此我使用了StrPtr()函数。它正在我的项目中工作。但是当我制作这个项目的安装程序并将其安装到另一个系统时,它会给出一个错误这个程序执行一个illigale操作。 I used a API call EbExecuteLine of VBA6.dll. It have a parameter pStringCode (Pointer of a String). For this i used StrPtr() function. It is working in my project. But when i make setup program of this project and install it to another system it gives an error "This Program Perform An illigale operation". 请发布''EbExecuteLine''的完整VB6声明。你为什么用这个函数来支付?! - Herfried K. Wagner MVP·VB Classic,VB.NET http://www.mvps.org/ dotnet嗨Fergus, 再一次,我昨晚看到的并不是那么晚(在这个新闻组中)。 。 Oeps我差点忘了OT CorHi Fergus,Up again, was not so late last night I saw as usual (In this newsgroup)..Oeps I almost forgot OTCor 这篇关于如何获取字符串变量的指针的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!
07-24 20:59