Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I have a MFC dialog based windows application developed using C++ (both frontend and backend).
I need to convert my MFC dialog to a web-based application, without changing the backend, which is developed in C++.
Can i get a suggestion on the technology that can be used? (i.e. asp.net or wpf or ....)
Have a look at CPPCMS (http://cppcms.com/wikipp/en/page/main). I have used it to add a web-interface to an existing application and it worked very well.
You will have to create a new front-end with CPPCMS and then link it to your existing backend. This is however all still possible within one process/application.
CPPCMS can run its embedded http server or it can interface with something like apache through fcgi.
MFC dialog won't work with web based. You can try following:
Convert the code of present MFC app to a C++ dll which will export all the useful functions you are using.
Create an ASP.net web application which will have a form similar to your dialog.
Call your dll from ASP.net. Refer following
http://www.codeproject.com/Questions/208615/How-to-invoke-Cplusplus-DLL-in-ASP-NET.
You will have to write the code to call the dll and display results in form.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
I have a C# WPF program that I’ve been working on for a while now and I need to move to Linux. I know that Moonlight is dead and Monodevelop has no future plans of implementing WPF functionality. Does anyone have any advice for the most painless way to rebuild my program in Linux? It’s a DnD character generator that uses a GUI with tab controls to separate the different parts. I only know C# but I’d learn another language if it was the best way.
The .NET Framework was planned for Platform independant, but that never realised. It grew too big to fully port.
.NET Core does not have that issue. It was cut down compared to the .NET Framework. It supports neither WPF nor Windows Forms, but it does support something similar: UWP. Wich is basically "WPF with App environment added". Since your programm propably needs no extensvie rights, UWP might be the way to go.
Edit: With .NET Core 3.0, thie Windows Forms Support will be added again. .NET Framework targetting WinForms Programms will need a conversion, but if you start from scratch it should just work.
Otherwise the common GUI to do cross platform anything is Xamarian. But Xamarian Apps are usually designed from the get go as such.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I want to use voice activated commands on my website. I have already implemented it on win forms using System.Speech.Recognition. However can't manage to use it on web application. Example code snippet would be appreciated.
Can I use it with web service?
Yes it is possible to have voice activated commands on your website, but it'll probably be difficult to refactor you winforms code. There are many articles around, so I suggest you google around a little bit further. You have the choice: you can go for the server-side route or you can use client-side frameworks (or some hybrid approach).
Another option is to use the browser's built in Speech recognition capabilities. Chrome, for example, has this which can turn any input field into a speech-aware input field.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I need to integrate CCTV Camera controls to the Web API. The Panasonic provides two means of control (activeX and DLL). The Panasonic ActiveX plugin and MS Windows Server 2008 R2 does not like each other, so this leaves me with the DLL.
DLL are C++ libraries.
Panasonic PS-API:
http://security.panasonic.com/pss/security/library/developer.html#SDK
I am looking for guidance, how to integrate the controls.
Using C++ Class DLL in C# Application thread describes inclusion of the .NET Class, where in my case is COM Class I think. The thread also mentioning a wrapper for functions within the dll.
I am looking for some super simple example of the dll referencing, inclusion, dll wrapping and usage.
Thank You all.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
I did a business app on the Windows Phone 8 platform (XAML, C#),
and used the microsoft.phone.toolkit to make an awesome calendar.
Now I need to rewrite the app for the Surface (winrt) and there is no easy way to this as far as I have searched, I got one perfectly fine calendar, Here, but I can't edit it to look like the rest of my metro app, so I would like any advice or links to classes I can use to get a calendar into my app? I don't have the time to create my own from scratch... But will do it if I can get a very good tutorial on where to start with it.
Actually, both of you guys point to exact same project I wrote sometime ago. If you want to change the look of the calendar, just create your own style that replaces the one that ships with nuget. The link from above does show a style that ships with it. You can either edit that one or (better) create your own and inject it through a resource dictionary. if you download project from CodePlex, it should show you how to replace default styles.
Thanks.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I created a software, and i also print to logs.
I am Looking for a tool that can read the logs dynamically and display it to the screen dynamically as the log changes in run-time
I also want to mention that i am using log4net, and i know that you can print to console using log4net.
the problem with log4net is that there is a limitation that you cannot print to console in WPF, so every tool will be fine
Thanks!
I think Baretail is the preeminent tool in this category.
That said, I don't think there is any limitation with log4net and WPF. Of course, if you are running a WPF application, it is not a console application, so logging to the console is meaningless. If you want to add a log visualizer to your WPF application, you can create a log4net appender to wire that up.
What if you change Log4Net to log to a database instead of a text file?
You can then use your WPF application to read the database entries and display them. You could do this using polling (check each X seconds if there is a new item) or you could use SqlDependency so that Sql notifies you when there is a change in your logging table (push model, which will perform better).