[gs-devel] stuck

Cheri Pompeo CPompeo at uascwa.com
Tue Sep 4 11:25:04 PDT 2007


I'm integrating GS 8.60 into my application.

Instead of the api interface using gs_main_instance * minst, it's using void
* minst.

It goes along fine until it enters gslibctx.c where it tries to output the
comment string from gs_init.ps

It gets as far as:

GPL Ghostscript 8.60 (2007-08-01)

Copyright (C) 2007 Artifex Software, Inc.  All rights reserved.

This software comes with NO WA

Which it does get to the screen then terminates with an error which seems to
indicate that there is a mismatch in the calling argument.

I see gs_main_instance * minst all over in the code so I don't know what is
supposed to have it and what is not.

The code terminates at gslibctx.c line 100 

            return (*pio->stdout_fn)(pio->caller_handle, str, len);

 

pio->caller_handle = 0

 

Thanks for any help

Cheri

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ghostscript.com/pipermail/gs-devel/attachments/20070904/d3fae6ca/attachment-0002.htm


More information about the gs-devel mailing list