Solved Visual C++ Windows Form / VS 2015 Update 2

Hexui Undetected CSGO Cheats Sinkicheat PUBG Cheat

till0sch2

Newbie
Apr 16, 2016
4
77
2
Okay, thank you!
And there is really no way to do it with C++ and the Windows Form?
There is, you can still do it..

I have VS2015 and here is what I did:
1. Create a new project
2. Go to the bottom 'Online'
3. Search for 'C++ Windows Forms'
4. This should install the template
5. Create a new project (Win32 Project), set everything up as DLL/empty project
6. In properties, add CLR support (/CLR)
7. Add your form (you should have a template 'C++ windows forms')
8. Have your DllMain code set up, start a new thread from it which will do the following:

winform2::MyForm^ myform = gcnew winform2::MyForm();
myform->ShowDialog();



That's what I did and after injecting the form does show up.
 

Lukor

ded
Meme Tier VIP
Fleep Tier Donator
Dec 13, 2013
496
5,753
25
Go to > Files -> New -> Project
There select > Visual C++ -> Win32 -> Win32-Project
 

niceone

Newbie
Full Member
Mar 26, 2016
26
264
0
Yes, sure i have done this, but if i want to add a header file with a windows form im coming to the problem, that Visual Studio 2015 does not support any more Visual C++ Win32 Projects with Windows Forms.
 

Lukor

ded
Meme Tier VIP
Fleep Tier Donator
Dec 13, 2013
496
5,753
25
Well that is right.
I did not read your description carefully... MS do not want Forms to be made in C++ anymore. You can use C# but i dont know how you would connect these two projects.

You could skipp this and use a console or something along the lines.
Alternatively you can make the whole project in C# ofc
 

niceone

Newbie
Full Member
Mar 26, 2016
26
264
0
Okay, thank you!
And there is really no way to do it with C++ and the Windows Form?
 
Oct 7, 2016
2
32
0
Im still confused with this:
winform2::MyForm^ myform = gcnew winform2::MyForm();
myform->ShowDialog();
Like what would i put for winform2 and myform?
 
Attention! Before you post:

Read the How to Ask Questions Guide
99% of questions are answered in the Beginner's Guide, do it before asking a question.

No Hack Requests. Post in the correct section.  Search the forum first. Read the rules.

How to make a good post:

  • Fill out the form correctly
  • Tell us the game name & coding language
  • Post everything we need to know to help you
  • Ask specific questions, be descriptive
  • Post errors, line numbers & screenshots
  • Post code snippets using code tags
  • If it's a large project, zip it up and attach it

If you do not comply, your post may be deleted.  We want to help, please make a good post and we will do our best to help you.

Community Mods