| View previous topic :: View next topic |
| Author |
Message |
oib111 I post too much
Reputation: 0
Joined: 02 Apr 2007 Posts: 2947 Location: you wanna know why?
|
Posted: Thu Jan 29, 2009 7:48 pm Post subject: [Error]Application Configuration Incorrect |
|
|
I get this error a lot when I'm making Winsock applications and try to share them with friends. I put the file using Winsock onto mediafire or transfer via Teamviewer, but the other person always gets the error:
| Quote: |
This application could not start because the application configuration is incorreect.
|
While the program works flawlessly on my own computer ...
_________________
| 8D wrote: |
cigs dont make people high, which weed does, which causes them to do bad stuff. like killing |
|
|
| Back to top |
|
 |
FerrisBuellerYourMyHero Master Cheater
Reputation: 0
Joined: 14 Feb 2007 Posts: 401 Location: Inside your <kernel>
|
Posted: Thu Jan 29, 2009 7:55 pm Post subject: Re: [Error]Application Configuration Incorrect |
|
|
| oib111 wrote: | I get this error a lot when I'm making Winsock applications and try to share them with friends. I put the file using Winsock onto mediafire or transfer via Teamviewer, but the other person always gets the error:
| Quote: |
This application could not start because the application configuration is incorreect.
|
While the program works flawlessly on my own computer ... |
are you using microsoft visual c++ 2008 by any chance?
See the thing is by default it uses a new runtime library which nobody has unless they have VC++ 2008 installed, or the installed the Microsoft Visual C++ 2008 Redistributable Package!
I used to tell people to install it if they get that error but I figured out that you can just change the runtime library to one that everybody already has!
Every windows machine comes with the standard runtime library, so all you have to do is change the project settings...
Project->Properties->Configuration Properties->C++->Code Generation->Runtime Library
Change it to /MT Multi-threaded
instead of /MD Multi-threaded DLL
like shown:
PROBLEM SOLVED! Now your applications can run on ANY windows machine without needing the redistributable package installed!
_________________
You know, life moves pretty fast. If you don't stop and look around once in a while, You could miss it!
 |
|
| Back to top |
|
 |
oib111 I post too much
Reputation: 0
Joined: 02 Apr 2007 Posts: 2947 Location: you wanna know why?
|
Posted: Thu Jan 29, 2009 8:08 pm Post subject: |
|
|
Haha thanks.
_________________
| 8D wrote: |
cigs dont make people high, which weed does, which causes them to do bad stuff. like killing |
|
|
| Back to top |
|
 |
FerrisBuellerYourMyHero Master Cheater
Reputation: 0
Joined: 14 Feb 2007 Posts: 401 Location: Inside your <kernel>
|
Posted: Thu Jan 29, 2009 8:52 pm Post subject: |
|
|
Yeah only thing that sucks is you have to remember to do it for every project. Let me know if you find a way to make it the default!
_________________
You know, life moves pretty fast. If you don't stop and look around once in a while, You could miss it!
 |
|
| Back to top |
|
 |
|