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 


Source Compile Error

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Source
View previous topic :: View next topic  
Author Message
xDarkStarrx
How do I cheat?
Reputation: 0

Joined: 06 Apr 2016
Posts: 2

PostPosted: Tue Mar 28, 2017 8:46 pm    Post subject: Source Compile Error Reply with quote

I wanted to make an UD CE and upon compiling I got these three errors.

I'm also using Lazarus 1.6.4 and the source for 6.5

I'm probably just overlooking something but I appreciate all the help I receive.
Code:
OutputDebugString('socket='+inttostr(socket));

SockAddr.Family := AF_INET;
SockAddr.Port := port;
SockAddr.Addr := host.s_addr;

B:=TRUE;       

Code:
networkInterface.pas(1801,12) Error: identifier idents no member "Family"
networkInterface.pas(1802,12) Error: identifier idents no member "Port"
networkInterface.pas(1803,12) Error: identifier idents no member "Addr"
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 457

Joined: 09 May 2003
Posts: 25252
Location: The netherlands

PostPosted: Wed Mar 29, 2017 1:44 am    Post subject: Reply with quote

Use an older lazarus, or use the source for 6.6
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
xDarkStarrx
How do I cheat?
Reputation: 0

Joined: 06 Apr 2016
Posts: 2

PostPosted: Wed Mar 29, 2017 8:39 am    Post subject: Reply with quote

I changed to 6.6 source and got this error

Code:
  SurfaceList:=tlist.create;

  GlobalDesignHook:=TPropertyEditorHook.Create;
  GlobalDesignHook.AddHandlerCreateMethod(onCreateMethod);
  GlobalDesignHook.AddHandlerGetMethodName(ogm);
  GlobalDesignHook.AddHandlerGetMethods(onGetMethods);   

Code:
formdesignerunit.pas(581,47) Error: Incompatible type for arg no. 1: Got "TFormDesigner.ogm(const TMethod;TObject):AnsiString;", expected "<procedure variable type of function(const TMethod;TObject;TPersistent):AnsiString of object;Register>"
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 457

Joined: 09 May 2003
Posts: 25252
Location: The netherlands

PostPosted: Wed Mar 29, 2017 11:20 am    Post subject: Reply with quote

fix it, or use lazarus 1.6.2 or 1.6.0
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
frakita
How do I cheat?
Reputation: 0

Joined: 12 Oct 2019
Posts: 1

PostPosted: Sat Oct 12, 2019 12:03 pm    Post subject: This seems to solve your first issue Reply with quote

I got that error solved this way:
Code:
  SockAddr.sin_family := AF_INET;
  SockAddr.sin_port := port;
  SockAddr.sin_addr.s_addr := host.s_addr;
[/code]
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Source 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