Click here to Skip to main content
11,483,983 members (67,512 online)
Rate this: bad
good
Please Sign up or sign in to vote.
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.

For this problem I already posted a question, here[^].

Now, from the aswers for above questions it is obivous that native code will not work with web service.

Now I am planning for DCOM server to expose my library. I am going on correct path, or do you have some other suggestion?

Please let me know if you need more details.

Happy Programming.
Posted 20-Jun-12 22:51pm
Comments
Sergey Alexandrovich Kryukov at 22-Jun-12 22:46pm
   
First of all, there is no such thing as "Managed C++" anymore (do you mean "managed"), and in fact, never was: it is called "Managed extensions". If was found to be unsuccessful, superseded with C++/CLI, standardized under ECMA-372.
If you are using "manages extensions", you are wasting your time too badly.
Besides, why COM/DCOM? Actually, both manages extensions and C++/CLI are designed to avoid it very well.
--SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 210
1 Frankie-C 155
2 Raje_ 155
3 OriginalGriff 147
4 Maciej Los 110
0 Sergey Alexandrovich Kryukov 8,489
1 OriginalGriff 7,943
2 Sascha Lefèvre 3,114
3 Maciej Los 2,581
4 Richard Deeming 2,370


Advertise | Privacy | Mobile
Web01 | 2.8.150520.1 | Last Updated 21 Jun 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100