Click here to Skip to main content
12,756,624 members (32,414 online)
Rate this:
Please Sign up or sign in to vote.

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
Sergey Alexandrovich Kryukov 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.

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

    Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170217.1 | Last Updated 21 Jun 2012
Copyright © CodeProject, 1999-2017
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