Integration with an Image Viewer
Im new here and I dont know if someone will be able to help but ill try anyways.
Im trying to integrate an image viewer with a program i made for palms. Im using PiNGer (from Zlib) because its source is open as its PNG itself but im also accepting suggestions.
Ive created a project with pngdec.c, pngpalm.c, pngmain.c, pinger.c and the lybraries needed. I got a link error because there are two pilotmain functions: one in pinger.c, that initializzes an application, and the other in pngpalm that is responsible for the commands for image viewing.
I had to choose one, pngpalm was the choice in the case. My problem is that i dont know how to tell the viewer what image I want it to open. Another important detail: the program quits right after been initialized.
I hope it was all clear for you...
Thanx for your attention,
Gabriel
|