Hello everyone, I have a console application, I want to add a Windows Form to it, for this I need to add libraries. Using the Add references window does not work because there are no add, Browsr or COM buttons. Can you please tell me how to add referances to the console application or how to add a Windows Form to the console?

Thank you in advance !!

  • Most likely your console application is written in normal with ++. And you are trying to connect to it a Windows Form (and this is .NET). What to do? Either rewrite your console application under .net, or use WinAPI to build the interface. - KoVadim
  • Rewrite is not an option, how to use WinAPI? - Sherck
  • there is still no fact that it will be easier for you. Google and go ahead. Although I would look at Qt or something like that. There gui will be easier to do. It all depends on what you need in the GUI. - KoVadim
  • OK thanks! I 'll try - Sherck

1 answer 1

  1. View references enter image description here
  2. Tick ​​the required libraries (use search) enter image description here
  3. Save by clicking "OK"
  • In my opinion you are confusing c # and c ++ - nick_n_a
  • Thanks, corrected - MihailPw
  • as KoVadim wrote above and I wrote that there is no Browse, COM, etc., I think the .Net database is written - Sherck
  • How did you create the project? You need this i.imgur.com/gy0lUnq.png - MihailPw
  • A person does not need under ++, which is from the dotnet. It's time to enter the label “it's clean with ++, without dotnet” :) - KoVadim