Starting an aplication in Linux shell-konsole and from Konqueror

I’m new in writing program on Linux.
I’m useing Fedora 2 with gcc version 3.3.3 20040412 (Red Hat Linux 3.3.3-7)

I have a problem when I’m starting aplication.
If I start it from shell-konsole the program works fine but if I try to do the same from Konqueror (I’m using KDE) window appears but nothing apears in it (doesn’t matter if I set the points directly or I try to paint an image).

Has anyone any idea what could be wrong with it?

Thanks in advance,
Marun----------------------------------------------------
Porwana kobieta - Basinger z jednej strony s?uchawki.
M?ody ch?opak, jej ostatni ratunek z drugiej.
Jak sko?czy si? wy?cig z czasem i przest?pcami?
http://klik.wp.pl/?adr=http%3A%2F%2Ffilm.wp.pl%2Fp%2Ffilm.html%3Fid%3D24770&sid=283

Marun wrote:

I’m new in writing program on Linux.
I’m useing Fedora 2 with gcc version 3.3.3 20040412 (Red Hat Linux 3.3.3-7)

I have a problem when I’m starting aplication.
If I start it from shell-konsole the program works fine but if I try to do the same from Konqueror (I’m using KDE) window appears but nothing apears in it (doesn’t matter if I set the points directly or I try to paint an image).

Has anyone any idea what could be wrong with it?

You are probably using relative paths for your data, which work in the
console because you have to be in the right folder to run the program,
but do not work in the file browser which doesn’t set up the path.

Stephae