Decent GUI tutorial

Hello guys, I'm trying to magage my Engineer thesis and i am struggling with it.
Like I'm trying to search how to use OpenDialogBox and everything is in C#, i found one good video but guy is using "stream^ mystream" and idk what stream is. On this site http://www.cplusplus.com/reference/iolibrary/ i found this and there is no info about that but this fragment works
1
2
OpenFileDialog^ OpenFileDialog1 = gcnew OpenFileDialog;
		if (OpenFileDialog1->ShowDialog() == System::Windows::Forms::DialogResult::OK)

but then is this mystream which is undeclared identifier
yt: https://www.youtube.com/watch?v=lkhGpWUclc8&ab_channel=ProgrammingKnowledge

Also now i've got this error, im using CPP_CLR Winforms project in Visual 2019
Error C2872 'IServiceProvider': ambiguous symbol CppCLR_WinformsProjekt2

Should I use different program? Even Microsoft has tutorials only for C# on their site, im fucked up, please help me.
Basicly im asking about good tutorial and better software.
My app gonna be a decoder of ASCII characters and then a simple graphical data analyzer
^ everywhere is managed code, which is not c++ really, its microsoftism gibberish because they want to 'improve' the language or something.

The first thing I would do is search for unmanaged examples. That should make it more like the C++ you are used to, but these will use older technology. I am not sure if it is totally outdated or just 'older'.

How much background do you have in C++?

If you don't want to deal with old windows code nor managed code, you can use QT, it is pretty easy to use and many, many examples online. You can probably find a working program and edit your code into it with a little re-arranging.
Last edited on
closed account (z05DSL3A)
C++/WinRT is an entirely standard modern C++17 language projection for Windows Runtime (WinRT) APIs, implemented as a header-file-based library, and designed to provide you with first-class access to the modern Windows API. With C++/WinRT, you can author and consume Windows Runtime APIs using any standards-compliant C++17 compiler. The Windows SDK includes C++/WinRT; it was introduced in version 10.0.17134.0 (Windows 10, version 1803).

C++/WinRT is for any developer interested in writing beautiful and fast code for Windows. Here's why...

https://docs.microsoft.com/en-us/windows/uwp/cpp-and-winrt-apis/

Actually the guy is using
Stream^ mystream

As a c++ beginner I am constantly forgetting case sensitivity, which I believe applies to c# also.

Topic archived. No new replies allowed.