Home > Software engineering >  For help
For help

Time:11-09

I use v c + + write a gobang, generated exe, but the other people all can't open to others, initially said the lack of a DLL file, I will in accordance with the method of baidu set up all sorts of things what MTD or something, and then put lack DLL and exe in a folder to others, others still can't open, shows that the application cannot start normally, then my friend installed vs to run,
This is what reason, bosses have solution!

CodePudding user response:

Vc runtime libraries to take an examination of the past

CodePudding user response:

In the vc under the install directory

CodePudding user response:

Don't use VC DLL with static connection

CodePudding user response:

1 correct configuration and add the Manifest
2 the static link library

CodePudding user response:

The
refer to the original poster? La la la la la, reply:
I wrote a gobang with vs c + +, to generate the exe, but the other people all can't open to others, initially said the lack of a DLL file, I will in accordance with the method of baidu set up all sorts of things what MTD or something, and then put the DLL and exe in a folder to others, others still can't open, shows that the application cannot start normally, then my friend installed vs to run,
This is what reason, bosses have solution!

You set the project using DLL, using static, do not use dynamic

CodePudding user response:

reference 5 floor TxyITxs reply:
Quote: refer to the original poster? La la la la la, reply:
I wrote a gobang with vs c + +, to generate the exe, but the other people all can't open to others, initially said the lack of a DLL file, I will in accordance with the method of baidu set up all sorts of things what MTD or something, and then put the DLL and exe in a folder to others, others still can't open, shows that the application cannot start normally, then my friend installed vs to run,
This is what reason, bosses have solution!

You set the project using DLL, using static, do not use dynamic

Specific how should be set up, I use vs2019, online check method also tried but still doesn't work

CodePudding user response:

VC6 is "the Project" - Settings - General - "M... F... C... - "using MFC in a static library
  • Related