Szakáts Viktor wrote:
> 
> 2008-05-18 19:09 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
>    * contrib/hbhpdf/tests/harupdf.prg
>      ! "\" -> hb_OSPathSeparator().
> --
> 

Viktor, 
maybe we can get more universal solution, if we will use hb_fsNameConv ?

f.e.

#include "hbapifs.h"

HB_FUNC( HPDF_SAVETOFILE )
{
   char* pszFileName;
   BOOL  fFree;

   pszFileName = hb_fsNameConv( ( BYTE * ) hb_parc(2), &fFree );

   hb_retnl( (long) HPDF_SaveToFile( (HPDF_Doc) hb_parnl( 1 ), pszFileName )
);

   if( fFree )
   {
      hb_xfree( pszFileName );
   }
}


HB_FUNC( HPDF_LOADTYPE1FONTFROMFILE )
..
HB_FUNC( HPDF_LOADTTFONTFROMFILE )
..
HB_FUNC( HPDF_LOADTTFONTFROMFILE2 )
..

Regards,
Petr
 
-- 
View this message in context: 
http://www.nabble.com/CHANGELOG%3A-2008-05-18-19%3A09-UTC%2B0100-Viktor-Szakats-%28harbour.01-syenar-hu%29-tp17305281p17306576.html
Sent from the Harbour - Dev mailing list archive at Nabble.com.

_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to