![]() |
|
|
Welcome to the { mindfrost82.com } forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||
|
Communication between Visual C++ and Visual C# by means of WEBservices
Hi all,
I have a problem. I have some DLLs developped with borland C++ and I want to use them in a project that I want to develop in Visual Studio C ++. This project is only a "conosle" that offer some methods of these DLLs. I want also to create antoher project with Visual Studio C# that is the Graphical User Interfce of the first project developped in VS C+ +. My problem is to create an architecture that make possible the communication between VS C++ and VC C#, and I have thinked about web services: GUI made with VC C# call some methods of Web Services provided of VS C++ and application made with VS C++ call some methods of Web Services in VS C# to refresh the GUI and so on... It's a little bit complicated to explain, but hope it was clear. I want, Please, some suggestions on how to make this possible and, if available, a better solution. Thank you very much |
|
|||
|
Re: Communication between Visual C++ and Visual C# by means of WEB services
Khalid,
This seems like it is a bit much just to use some functionality in a C++ application. Are the components in the C++ app separated in such a way that you could create a library out of them? Why not compile them into a library and then create a managed wrapper around it, or must the application run on the console and then the .NET app access the running app? -- - Nicholas Paldino [.NET/C# MVP] - mvp@spam.guard.caspershouse.com "Khalid" <sheikko@gmail.com> wrote in message news:4e5e42f8-a656-4968-a49c-bf60b92ef4ca@e1g2000hsh.googlegroups.com... > Hi all, > I have a problem. I have some DLLs developped with borland C++ and I > want to use them in a project that I want to develop in Visual Studio C > ++. This project is only a "conosle" that offer some methods of these > DLLs. I want also to create antoher project with Visual Studio C# that > is the Graphical User Interfce of the first project developped in VS C+ > +. > My problem is to create an architecture that make possible the > communication between VS C++ and VC C#, and I have thinked about web > services: GUI made with VC C# call some methods of Web Services > provided of VS C++ and application made with VS C++ call some methods > of Web Services in VS C# to refresh the GUI and so on... > > It's a little bit complicated to explain, but hope it was clear. > > I want, Please, some suggestions on how to make this possible and, if > available, a better solution. > > Thank you very much |
|
|||
|
Re: Communication between Visual C++ and Visual C# by means of WEBservices
Thanks for your answer...
Sincerly is a little bit complicated to explain you what I have in my mind, but I will try: Above all the problem is the type of data that I want to passe between these two applications. The complete application that I want to create consiste of two applications: - the console developped with VS C++, that use some libraries developped with Borland C++ - the GUI of application that interact with the console. The GUI must access some methods included in libraries and exposed by the console, and the internal libraries throught the core application must interact with some methods of GUI, for example to refresh some controls. I have thinked to to link GUI with WebService "A" that communicate with Console, and to link Console with WebService "B" that communicate with GUI. In this way it's possible to make a bidirectional communication.... But. But this is not very simple to do. And sincerly I don't know how I can do it, above all because I don't know how I can use the GUI/Console from the WebService. Every suggestion/solution is welcome... and thanks in advance to all those they want ot help me. On 6 Dic, 17:42, "Nicholas Paldino [.NET/C# MVP]" <m...@spam.guard.caspershouse.com> wrote: > Khalid, > > This seems like it is a bit much just to use some functionality in a C++ > application. Are the components in the C++ app separated in such a way that > you could create a library out of them? > > Why not compile them into a library and then create a managed wrapper > around it, or must the application run on the console and then the .NET app > access the running app? > > -- > - Nicholas Paldino [.NET/C# MVP] > - m...@spam.guard.caspershouse.com > > "Khalid" <shei...@gmail.com> wrote in message > > news:4e5e42f8-a656-4968-a49c-bf60b92ef4ca@e1g2000hsh.googlegroups.com... > > > Hi all, > > I have a problem. I have some DLLs developped with borland C++ and I > > want to use them in a project that I want to develop in Visual Studio C > > ++. This project is only a "conosle" that offer some methods of these > > DLLs. I want also to create antoher project with Visual Studio C# that > > is the Graphical User Interfce of the first project developped in VS C+ > > +. > > My problem is to create an architecture that make possible the > > communication between VS C++ and VC C#, and I have thinked about web > > services: GUI made with VC C# call some methods of Web Services > > provided of VS C++ and application made with VS C++ call some methods > > of Web Services in VS C# to refresh the GUI and so on... > > > It's a little bit complicated to explain, but hope it was clear. > > > I want, Please, some suggestions on how to make this possible and, if > > available, a better solution. > > > Thank you very much |
![]() |
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|