Preview...

Preview...

Postby Ricardo Ramirez E. » Wed Mar 15, 2006 9:51 pm

Hola Foro :)

Pq a veces no puede generar los metafiles...=? en un preview de la tprinter ? sale um error de creacion de archivo.

Fw2.5, XPP Service Pack 2. harbour 0.45

Es un problema de xp ?


Gracias.!
User avatar
Ricardo Ramirez E.
 
Posts: 161
Joined: Wed Jan 25, 2006 10:45 am
Location: Praia - Cape Verde

Postby Antonio Linares » Wed Mar 15, 2006 11:53 pm

Ricardo,

Modifica printer.prg de esto modo:
Code: Select all  Expand view  RUN
    #ifndef __CLIPPER__
       AAdd( ::aMeta, ::cDir + cTempFile( "\", "emf" ) )
       ::hDCOut := CreateEnhMetaFile( ::hDc,ATail( ::aMeta ), ::cDocument )  //jlcr
    #else
       AAdd( ::aMeta, ::cDir + cTempFile( "\", "wmf" ) )
       ::hDCOut := CreateMetaFile( ATail( ::aMeta ) )
    #endif
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42122
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin para Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 57 guests