Thanks for your detailed email. I'm afraid there's not much I can do to help for a number of reasons, the most important is that I am away from home, in London, and I'd really have to sit down at my computer to take a close look at the situation.
I seem to remember that a similar situation has come up on the list before, though I can't remember if it was solved. If anything can shed any light on the situation, it's this lists' archives, which happily aren't that large.
I find your hypothesis that it is probably a compiler issue to be plausible not so much because of a blind confidence in my programming ability :-) but rather because PNGwriter works fine for most people. Since my compiler experience is limited to make and gcc, I can't help you with the compiler side of things either.
Check the archives, I do hope you'll find a solution there, but if not, best of luck, and perhaps someone else on the list has some advice?
Paul
On 2/22/06,
Sam Barry <[EMAIL PROTECTED]> wrote:
Hi
I wondered if you could help me. I am trying to use your pngwriter library to build a very simple png image.
I open the image edit a few pixels and close the image.
However when I close the image the program crashes. I have run this through a debugger using Visual Studio 6 (98) on Windows XP this points the error to after you have set the text. I have also tried to run your demo/example program this also crashes on the close method.
To install the library I followed your exact instructions on your website for installing with Visual Studio 7 (i obviously changed some of the file locations to the appropriate ones for Visual Studio 6). Now i dont really believe this is an error in your code, the chances are I have made a mistake in either the compilation of your library or the compilation of zlib etc...For your information im using pngwrite 0.53 but have also tried 0.5.2 and 0.4.6 all with the same probelm. I am using the latest version of zlib and freetype. I followed your instructions for installing using Visual Studio 7 for the creation of all of the packages.When compiling with Visual Studio I include the pngwriter.lib into the compile process but do not include another libraries.
Is there any chance you might know what I'm, doing wrong? or how I can fix the problem. Like I said I doubt very much this is a code error. Can I also say that although I've not been able to use your library properly yet I am very impressed not only with the library but your documentation has made using your libraries very easy.
Thanks
Sam Barry
