| View previous topic :: View next topic |
| Author |
Message |
Odecey Master Cheater
Reputation: 1
Joined: 19 Apr 2007 Posts: 259 Location: Scandinavia
|
Posted: Fri Jan 02, 2009 5:50 pm Post subject: Problem with injector. |
|
|
Kitterz source has given me some trouble these last few hours, and I need to find out why. First I tried simply compiling the code, which did not work, but gave this output: | Code: | fatal error C1900: Il mismatch between 'P1' version '20080116' and 'P2' version '20070207'
1>LINK : fatal error LNK1257: code generation failed. | Reading something about that this has to do with my version of Visual Studio, I decided to rebuild the project rather than reinstalling the IDE. This time, the errors given were syntax errors, specifically: | Code: | error C2664: 'strcmp' : cannot convert parameter 1 from 'WCHAR [260]' to 'const char *'
| This had me baffled, since the IDE did not give the same errors when building Kitterz project. I tried casting the WCHAR using WideCharToMultiByte, which seemed to work fine as the code compiled. However, when the program tried to inject a dll, it simply crashed. If you have any idea how to solve this, I'd love to hear.
_________________
Never confuse activity with productivity. You can be busy without a purpose, but what's the point?- Rick Warren |
|
| Back to top |
|
 |
hcavolsdsadgadsg I'm a spammer
Reputation: 26
Joined: 11 Jun 2007 Posts: 5801
|
Posted: Fri Jan 02, 2009 6:04 pm Post subject: |
|
|
1. | Quote: | Fatal Error C1900
Il mismatch between 'tool1' version 'number1' and 'tool2' version 'number2'
Tools run in various passes of the compiler do not match. number1 and number2 refer to the dates on the files. For example, in pass 1, the compiler front end runs (c1.dll) and in pass 2, the compiler back end runs (c2.dll). The dates on the files must match and if they do not, reinstall and use the current version of each tool. |
2. Try compiling as Multi-byte, go look in your project settings.
|
|
| Back to top |
|
 |
Odecey Master Cheater
Reputation: 1
Joined: 19 Apr 2007 Posts: 259 Location: Scandinavia
|
Posted: Fri Jan 02, 2009 6:26 pm Post subject: |
|
|
Can you be a little more specific on where I should check my settings?
The only thing I found which can resemble a settings tab was Tools>Options.
Couldn't find anything there regarding Multi-Bytes.
Edit: Is it possible to just reinstall these "tools", and not the whole VS?
_________________
Never confuse activity with productivity. You can be busy without a purpose, but what's the point?- Rick Warren |
|
| Back to top |
|
 |
BirdsEye Advanced Cheater
Reputation: 0
Joined: 05 Apr 2008 Posts: 94
|
Posted: Fri Jan 02, 2009 6:34 pm Post subject: |
|
|
| Odecey wrote: | Can you be a little more specific on where I should check my settings?
The only thing I found which can resemble a settings tab was Tools>Options.
Couldn't find anything there regarding Multi-Bytes.
Edit: Is it possible to just reinstall these "tools", and not the whole VS? |
In Solution Explorer, left click your project file and select 'Properties', the last option. The project file should be right below your solution file. Now under 'Project Defaults' there should be a drop down list to the right of 'Character Set.' You now (obviously) pick 'Use Multi-Byte Character Set.'
|
|
| Back to top |
|
 |
Odecey Master Cheater
Reputation: 1
Joined: 19 Apr 2007 Posts: 259 Location: Scandinavia
|
Posted: Fri Jan 02, 2009 7:09 pm Post subject: |
|
|
Thanks to both of you, that solved the problem ^_^.
_________________
Never confuse activity with productivity. You can be busy without a purpose, but what's the point?- Rick Warren |
|
| Back to top |
|
 |
|