问题描述
我们有一个旧的VSE Smalltalk应用程序,我们希望能够调用将返回字符串的c#Web服务.
我一直无法从Smalltalk获得对托管dll的任何调用,但是我已经能够创建可以从Smalltalk调用的c ++ win32 dll,而后者又可以调用c#托管代码.
有谁知道不通过c ++就可以直接使c#调用正常工作的任何其他选项(例如,构建dll的方法?).我们在使用有限的c ++知识映射字符串时遇到问题,如果可能的话,我们真的想绕过这一层.
请注意,smalltalk应用程序是一个独立的应用程序(exe及其sll文件),它没有像其他Windows应用程序那样安装,并且是在.NET诞生之前编写的.
谢谢
UKJohn
We have an old VSE Smalltalk application and we want to be able to call a c# webservice that will return a string.
I have been unable to get any call to a managed dll working from Smalltalk but I have been able to create a c++ win32 dll that can be called from Smalltalk, which in turn can call c# managed code.
Does anyone know of any other options for getting the c# call working directly without going through the c++ (eg ways to build the dll?). We are running into issues mapping strings with our limited c++ knowledge and would really like to bypass this layer if possible.
Note the smalltalk app is a standalone app (exe and its sll files), it is not installed like other windows apps and was written way before the birth of .NET
Thanks
UKJohn
推荐答案
这篇关于如何从非托管代码(从Smalltalk应用程序)调用Webservice或c#dll的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!