Estimados Senores:
Tengo un error extrano en el uso de la Timage con preview
En dias pasados publique un post con un error que tenia cuando intentaba usar una imagen en un preview con TImage:
prg:
oprn:say((row+2)*cantlines,1,"3Abajo?izq",ofn1)
oprn:say((row+3)*cantlines,1,"4Abajo?izq",ofn1)
oprn:say((row+4)*cantlines,1,"5Abajo?izq",ofn1)
row:=8
cFile:="C:\prueba.Bmp"
@ 1,1 IMAGE oImg FILENAME Alltrim(cFile) OF oWnd
oPrn:SayImage(100,200,oImg,100,100)
oImg:Progress( .f. )
Error:
Error description: Error BASE/1005 Message not found: TIMAGE:_HDIB
Stack Calls
===========
Called from: => __ERRRT_SBASE(0)
Called from: => HBOBJECT:ERROR(176)
Called from: => __EVAL(105)
Called from: => HBOBJECT:MSGNOTFOUND(0)
Called from: => TIMAGE:_HDIB(169)
Called from: => TIMAGE:NEW(55)
Called from: => REPORTE_M(281)
Called from: => (b)DES_MENU(574)
Called from: => TC5MENU:COMMAND(714)
Called from: => TWINDOW:COMMAND(931)
Called from: => TWINDOW:COMMAND(0)
Called from: => TWINDOW:HANDLEEVENT(0)
Called from: => _FWH(3125)
Called from: => WINRUN(0)
Called from: => TWINDOW:ACTIVATE(880)
Called from: => MAIN(416)
Utilizo Fw 2.7 y freeimage.dll, y luego de dar vueltas y vueltas descubri que si me pasaba al TImge nativo que utiliza NViewLib.dll no tenia mas el error. Por supuesto pierdo todas las opciones de usar los difrentes tipos de imagen.
No consiguo el error, pero me pregunto si puede ser algun problema de preview que utilizo.
De Antemano Gracias.