Hello Petr, as we must change the code you sent? Another question: where can I find documentation and examples of hbhpdf? Thanks and greetings Paolo Russignan Petr Chornyj ha scritto: Paolo Russignan wrote:I can not understand where the error occurs and above all I can send the program.Hi Paolo, please see source fm.c HB_EXPORT void * hb_xrealloc( void * pMem, ULONG ulSize ) /* reallocates memory */ { HB_TRACE_FM(HB_TR_DEBUG, ("hb_xrealloc(%p, %lu)", pMem, ulSize)); if( ! pMem ) hb_errInternal( HB_EI_XREALLOCNULL, NULL, NULL, NULL ); if( ulSize == 0 ) hb_errInternal( HB_EI_XREALLOCNULLSIZE, NULL, NULL, NULL ); //!!! hb_xrealloc requested to resize to zero byte .. You must check parameters value before call hb_xrealloc. If you need you can post or send not program, but source of program (part of source) and maybe I can help you. And another question: Why you not use hbhpdf? I think it is very helpful in yours case. Regards Petr |
_______________________________________________ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour