Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2002-01

problems with gtk

2 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

enzo - Eduardo Garcia

Hello list

I have the following problem.

It is doing an aplicacion in windows for the project gcafe http://gcafe.es.gnome.org with gtk. and has had the following problems

1. When I try to open a new window comes out with an exitcode 206.
2. not it can create the element gtk_clock_new

I expect that they can help me.

add the code source of the aplicacion.

thanks

_____________________
enzo
Eduardo Garcia
Medellin - Colombia
Web site: www.geocities.com/netenzo
icq: 6985612
Messenger :

---------------------------------------
Este mensaje fue enviado usando Compunet Webmail. (http://www.compunet.net.co)

Reply by email

Michael Van Canneyt
to enzo - Eduardo Garcia
enzo - Eduardo Garcia wrote 10 lines
Hello list I have the following problem. It is doing an aplicacion in windows for the project gcafe http://gcafe.es.gnome.org with gtk. and has had the following problems 1. When I try to open a new window comes out with an exitcode 206. 2. not it can create the element gtk_clock_new I expect that they can help me.

Procedure acercade is defined wrongly and causes stack corruption. You should define ANY gtk callback as

procedure acercade(W : PGTKWidget; Data : Pointer); cdecl;
begin
  ... code here...
end;

NEVER omit the 2 arguments or the 'cdecl' in a callback declaration.

Michael.

Reply by email