Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


[C#]Parameter is Incorrect

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
yoyonerd
Grandmaster Cheater
Reputation: 0

Joined: 26 Apr 2008
Posts: 699
Location: -->formerly yoyonerd<--

PostPosted: Sun Mar 22, 2009 9:38 pm    Post subject: [C#]Parameter is Incorrect Reply with quote

So I made a program (duh) and when I use it, it runs perfectly. When I send it to other people, it gives them the Parameter is Incorrect .NET error.

Does anyone know what could be causing it?
OR
Does anyone know a way I can debug it? (The others don't have A Compiler)
Since I don't get the error, IDK how to fix it.

All the program does is:

Write a .ini file
Download some files
Edit the .ini file

I've tried putting the .ini with the program, so that it could skip writing it if it already exists.

_________________
Back to top
View user's profile Send private message AIM Address
AlbanainRetard
Master Cheater
Reputation: 0

Joined: 02 Nov 2008
Posts: 494
Location: Canada eh?

PostPosted: Sun Mar 22, 2009 9:48 pm    Post subject: Re: [C#]Parameter is Incorrect Reply with quote

yoyonerd wrote:
So I made a program (duh) and when I use it, it runs perfectly. When I send it to other people, it gives them the Parameter is Incorrect .NET error.

Does anyone know what could be causing it?
OR
Does anyone know a way I can debug it? (The others don't have A Compiler)
Since I don't get the error, IDK how to fix it.

All the program does is:

Write a .ini file
Download some files
Edit the .ini file

I've tried putting the .ini with the program, so that it could skip writing it if it already exists.


Do they have the same version of .net framework as you? Did you "Build" the project and gave them the release.exe?

_________________
Back to top
View user's profile Send private message Send e-mail
blackmorpheus
Expert Cheater
Reputation: 0

Joined: 05 Apr 2008
Posts: 159

PostPosted: Mon Mar 23, 2009 4:29 am    Post subject: Reply with quote

Did you make it in Release stage? Did you choose Multi-Threaded ?
Back to top
View user's profile Send private message
yoyonerd
Grandmaster Cheater
Reputation: 0

Joined: 26 Apr 2008
Posts: 699
Location: -->formerly yoyonerd<--

PostPosted: Mon Mar 23, 2009 4:14 pm    Post subject: Re: [C#]Parameter is Incorrect Reply with quote

AlbanainRetard wrote:
yoyonerd wrote:
So I made a program (duh) and when I use it, it runs perfectly. When I send it to other people, it gives them the Parameter is Incorrect .NET error.

Does anyone know what could be causing it?
OR
Does anyone know a way I can debug it? (The others don't have A Compiler)
Since I don't get the error, IDK how to fix it.

All the program does is:

Write a .ini file
Download some files
Edit the .ini file

I've tried putting the .ini with the program, so that it could skip writing it if it already exists.


Do they have the same version of .net framework as you? Did you "Build" the project and gave them the release.exe?


Mhm, same exact .exe I use, same Framework version.

All I can think of is that to have them install an IDE so I can debug it on their computer

_________________
Back to top
View user's profile Send private message AIM Address
NINTENDO
Grandmaster Cheater Supreme
Reputation: 0

Joined: 02 Nov 2007
Posts: 1371

PostPosted: Tue Mar 24, 2009 8:59 am    Post subject: Re: [C#]Parameter is Incorrect Reply with quote

Are you sure that you didn't use debug instead of release? Becuase you can't send debug's to others if they dont have VS installed.
_________________
Intel over amd yes.
Back to top
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger MSN Messenger
Mr.Bill
How do I cheat?
Reputation: 0

Joined: 19 Mar 2009
Posts: 4

PostPosted: Fri Mar 27, 2009 1:06 am    Post subject: Reply with quote

Are you coding it on a XP machine and sending it to someone on Vista?

There are security issues that Vista will expose. If this is the case, you can make a limited user on XP and use the runas command to emulate that user. I don't know about debugging though.

It is easy to write something that could write all exceptions to a file and wrap everything in a try/catch.

_________________
Mr. Bill
Back to top
View user's profile Send private message
NINTENDO
Grandmaster Cheater Supreme
Reputation: 0

Joined: 02 Nov 2007
Posts: 1371

PostPosted: Fri Mar 27, 2009 4:45 am    Post subject: Reply with quote

Can I test the program?
_________________
Intel over amd yes.
Back to top
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites