SDL and my first GUI Application

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all there,

I’m trying to make a GUI for the functions that I create with SDL…
That is to say, when I press “Draw Line” a function that draws a line
will be called. By the way, my function does the expected thing when I
compile it from Dev-C++ ™ by creating a new window by the help of
SDL. For the GUI purpose, I’m using Borland’s ™ C ++ Builder

But when I try to compile and run the cpp file, all I get is the famous
SDL_DUMMY_ENUM; error…
I have tried the -b option, but it did not work. Again saying,

[C++ Error] SDL_types.h(111): E2021 Array must have at least one element

What can I do, to make Borland C++ Builder and SDL compatible? I have
the pre-built SDL.DLL, do I have anything to do with libs? Looking
forward to hearing from you soon,Thanks in advance, I’ll appreciate your
suggestions…


Cem Vedat ISIK
@Cem_Vedat_ISIK
http://cemvedatisik.com
PGP Key ID = 0x2585E1BC
fingerprint = 4EE5 FAF8 2077 BCB0 F035 7EC1 E11F 91FD 2585 E1BC
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (MingW32)

iD8DBQFCPYpu4R+R/SWF4bwRAs0OAJ4siElggVhYGN4PlJrYHjxW1GSewQCfXNnB
kv86MlceZe2LFRmw9bH7sjY=
=OfiO
-----END PGP SIGNATURE-----