[fpc-devel] c:\fpc\2.2.2\examples\gtk1 and gtk2 : Required DLL Files

Mehmet Erol Sanliturk sanliturk at ttnet.net.tr
Fri Sep 26 03:27:30 CEST 2008



Dear Sirs ,



The examples within the following directories
could be compiled with their Makefile use .

c:\fpc\2.2.2\examples\gtk1\
c:\fpc\2.2.2\examples\gtk2\


(A)

During execution of programs some DLL files
are requested which none of them found in
either FPC directories or in other Windows
directories ( where GIMP and GTK 2.0 are installed
 ( except libglib-2.0.0.dll in GTK 2.0 ) ) .


They are searched in GOOGLE and they have been found with one exception :
gtkgl.dll .


http://www.nodevice.com/dll/libgdk-0_dll/item9998.html
1.3.0.24__libgdk-0.zip


http://www.nodevice.com/dll/libgtk-0_dll/item10004.html
1.3.0.9__libgtk-0.zip


http://www.dlldll.com/libintl-1.dll_download.html
libintl-1.dll


http://www.google.com.tr/search?num=30&hl=en&newwindow=1&q=libglib-2.0.0.dll&btnG=Search
libglib-2.0-0.dll


https://zerowing.idsoftware.com/svn/radiant.gamepacks/gtk2-win32/trunk/bin/
libgdkglext-win32-1.0.0.dll


http://svn.icculus.org/FUSE/trunk/libglade-2.0-0.dll?view=log&pathrev=26
libglade-2.0-0.dll



(B)

gtkgl.dll is searched :

GOOGLE gave the following links which none of them contains gtkgl.dll :

http://community.freepascal.org:10000/bboards/message?message_id=116156&forum_id=24092
http://community.freepascal.org:10000/bboards/forum?forum_id=24092&old_count=1
http://freepascal.ru/forum/viewtopic.php?f=1&t=3128 ( in Russian )
http://www.freepascal.ru/forum/viewforum.php?f=1&st=0&sk=t&sd=d&start=80 
( in Russian )


http://www.siteadvisor.com/sites/kimludvigsen.dk/downloads/14268167/
( mentions gtkgl122.zip )

Inspired from the above link
gtkgl122.zip is searched :


http://www.siteadvisor.com/sites/kimludvigsen.dk/downloads/14268167/
( tells it is safe )


 From

http://edv-ringhofer.de/inhalt/links/os2/cyb/$A020248.HTM

a link to

ftp://cyberia.dnsalias.com/filebase/gfd/gnu/APPS/GTKGL122.ZIP
( Does not exist )


 From

http://roedeldns.dyndns.org/filebase/5gfd/gnu_apps/files.htm

a link to

http://roedeldns.dyndns.org/filebase/5gfd/gnu_apps/gtkgl122.zip
( did not worked )


From

http://www.dreamlandbbs.com/files/gfd/gnuapps/

a link to

http://www.dreamlandbbs.com/files/gfd/gnuapps/gtkgl122.zip ( did not 
worked )


Searching through the following sites could not enable
to find gtkgl.dll :


http://www.hakia.com/
http://www.yahoo.com/




(C)


When

c:\fpc\2.2.2\examples\gtk1\list.exe
c:\fpc\2.2.2\examples\gtk1\progressbar.exe

are executed , they are requested "libglib-2.0.0"
instead of "libglib-2.0.0.dll" because in sources


of glib.pp supplied with FPC installation

and in Revision 11822 :

http://svn.freepascal.org/svn/fpc/trunk/packages/gtk1/src/glib/glib.pp


the following is written

{$ifdef win32}
  const
    glibdll='libglib-2.0-0';
  {$define gtkwin}


instead of the following :


{$ifdef win32}
  const
    glibdll='libglib-2.0-0.dll';
  {$define gtkwin}


( This means that DLL loader does not
 [ check extension and append a proper part ] . )



(D)


c:\fpc\2.2.2\examples\gtk2\gettingstarted\gettingstarted.exe

is not closing Command Prompt window when GTK form is closed .


(E)


When

c:\fpc\2.2.2\examples\gtk2\gtk_demo\gtk_demo.exe

is started , it is giving the following exception message
and then closing :

--------------------------

An unhandled exception occurred at $66E9433E :
EDivByZero : Division by zero
  $66E9433E
  $66E94B30
  $66E915EF
  $73B35CEC
  $73B3615E
  $77F40BB4
  $77F36F62
  $77F34D74
  $6B061F36
  $6B0623B0
  $6B08B040
  $606ACE80
  $606B1200
  $62743935
  $627569B2
  $62757D5E
  $62757FD6

---------------------------



(F)

In

c:\fpc\2.2.2\examples\gtk2\plugins\main.pas

example , there is an error message saying that
a plugin could not be found .

A readme.txt or readme.html file showing how a plugin
will be prepared by direct description and/or showing
resources to study may be very useful .


(G)

If the above mentioned DLL files are supplied with
FPC installation and/or they are made downloadable
from FPC sites it may be very useful to users .
Especially new beginners ( may or will ) encounter
difficulties during studying examples .

 From the security point of view , arbitrarily downloaded
DLL files may be very inconvenient from some suppliers .

Determination of whether a portion of a software is malicious
or not is an "Unsolvable Problem" ( from Turing Halting Problem )
and neither of the programs
trying to determine such an issue always can be able to
determine such parts . To prevent such cases ,
it is necessary to utilize trustable sites .



Thank you very much ,

Mehmet Erol Sanliturk




More information about the fpc-devel mailing list