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 


Syntax error?

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

Joined: 02 Nov 2007
Posts: 1371

PostPosted: Thu May 07, 2009 2:51 pm    Post subject: Syntax error? Reply with quote

Can someone tell me whenever this syntax is allowed or not, becuase I don't get error when executing locally. Only when publishing it i get error.

It looks odd beucase of static and new. You shouldn't be able to do it right?

Code:
static WindowsLiveLogin wll = new WindowsLiveLogin(true);

_________________
Intel over amd yes.
Back to top
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger MSN Messenger
Spawnfestis
GO Moderator
Reputation: 0

Joined: 02 Nov 2007
Posts: 1746
Location: Pakistan

PostPosted: Thu May 07, 2009 3:07 pm    Post subject: Reply with quote

Why is it static and why is it "true"? These things are useful to know. Confused
_________________

CLICK TO HAX MAPLESTORAY ^ !!!!
Back to top
View user's profile Send private message Send e-mail MSN Messenger
Jani
Grandmaster Cheater
Reputation: 2

Joined: 29 Dec 2006
Posts: 804

PostPosted: Thu May 07, 2009 3:31 pm    Post subject: Re: Syntax error? Reply with quote

A little more information could be useful, like:
1) what language
2) which library if it's an external one
3) which error, just syntax error?

C++, Java, etc:
wallantia wrote:
Only when publishing it i get error.
You probably should just declare the variable when you publish it and in the constructor do it initialization, eg.
Code:
public:
  static WindowsLiveLogin wll;
  Constructor() { this->wll = new WindowsLiveLogin(true); }
Poor coding, but whatever, you get the point.

Hope you have any idea what are you doing.. I kinda suggest you to learn the basics before moving to "advanced" stuff.
Back to top
View user's profile Send private message
92Garfield
I'm a spammer
Reputation: 57

Joined: 20 Dec 2007
Posts: 5871
Location: Banana Republic Germany

PostPosted: Thu May 07, 2009 3:46 pm    Post subject: Reply with quote

maybe just missing ; behind first line Razz
_________________
Back to top
View user's profile Send private message
blackmorpheus
Expert Cheater
Reputation: 0

Joined: 05 Apr 2008
Posts: 159

PostPosted: Fri May 08, 2009 1:04 pm    Post subject: Reply with quote

You should compile as release, and not debug, if you want to distribute your program.
Back to top
View user's profile Send private message
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