我应该如何通过Web服务公开C ++非托管代码 [英] How should I expose C++ unmanaged code via webservice
问题描述
我有一个包含三层的应用程序
1. ASP.Net应用程序(C#)
2. C ++托管
3. C ++本机
C ++ Native具有所有的智能和算法,而C ++ Managed是包装器,因此应该可以轻松地与C#代码一起使用.当我们在桌面上工作时,我的应用程序运行良好.现在,我们想将C ++托管代码(C ++本机的包装)公开为Web服务.它可以正常工作,直到通过.Net代码为止,但是一旦开始执行Web服务的本机代码停止工作.
我应该使用哪个工具?我应该如何公开我的非托管C ++代码?
在此先谢谢您.
Hi,
Hi,
I have an application which has three layers
1. ASP.Net application (C#)
2. C++ Manged
3. C++ Native
C++ Native has all the intellegnce and algorithm, and C++ Managed is wrapper, so it should be easily work with C# code. My application is working well when we are working on desktop. Now we want to expose C++ Managed code (which is wraper for C++ Native) as web service. It works fine till it goes throuh .Net code, but as soon as native code started executing web service stopped working.
Which tool I should use? How should I expose my unmanaged C++ code?
Thanks in advance.
推荐答案
请参阅 ^ ]
这篇关于我应该如何通过Web服务公开C ++非托管代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!