[gs-devel] stuck

Jeroen Janssen jeroen.janssen at gmail.com
Thu Sep 6 01:36:01 PDT 2007


Hi,

You might want to check the calling convention (see GSDLLCALL) of your
own callback functions. If this is wrong you'll end up with code that
expects a different calling convention and this might result in
problems when returning from functions (we had that problem last week
too).

Best regards,

Jeroen Janssen

On 9/4/07, Cheri Pompeo <CPompeo at uascwa.com> wrote:
>
>
>
>
> 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
> _______________________________________________
> gs-devel mailing list
> gs-devel at ghostscript.com
> http://www.ghostscript.com/mailman/listinfo/gs-devel
>
>



More information about the gs-devel mailing list