Unresolved external '_HB_FUN_FWOPENPNGFILE'

Post Reply
marcio.cezar
Posts: 6
Joined: Mon Feb 06, 2017 7:28 pm

Unresolved external '_HB_FUN_FWOPENPNGFILE'

Post by marcio.cezar »

Compiling...
xHarbour 1.2.3 Intl. (SimpLex) (Build 20170101)
Copyright 1999-2017, http://www.xharbour.org http://www.harbour-project.org/
Compiling 'testpng.prg' and generating preprocessed output to 'testpng.ppo'...
Generating C source output to 'testpng.c'...
Done.
Lines 51, Functions/Procedures 2, pCodes 428
Embarcadero C++ 7.20 for Win32 Copyright (c) 1993-2016 Embarcadero Technologies, Inc.
testpng.c:
Turbo Incremental Link 6.75 Copyright (c) 1997-2016 Embarcadero Technologies, Inc.
Error: Unresolved external '_HB_FUN_FWOPENPNGFILE' referenced from D:\COMPILADOR\FWH1703\SAMPLES\TESTPNG.OBJ
Error: Unable to perform link
* Linking errors *
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Unresolved external '_HB_FUN_FWOPENPNGFILE'

Post by Antonio Linares »

Marcio,

We are checking it, thanks

Lo estamos revisando, gracias
regards, saludos

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

Re: Unresolved external '_HB_FUN_FWOPENPNGFILE'

Post by Antonio Linares »

Please use this testpng.prg

testpng.prg

Code: Select all

#include "FiveWin.ch"

FUNCTION Main()
   local oWnd, oBar, oImage
   local cFile := ""

   DEFINE WINDOW oWnd TITLE "Test READING PNG IMAGE"

   DEFINE BUTTONBAR oBar of oWnd size 48,48 2007
   DEFINE BUTTON PROMPT "File" of oBar ;
      ACTION ( cFile := cGetFile( "Select Png File(*.png)|*.png|" ), ;
               oImage:Refresh(), oImage:SetFocus() ) CENTER

   oBar:bPainted := { || oBar:SayText( "Zoom/UnZoom with MouseWheel" + CRLF + ;
                         "Move/Pan with mouse",{,,,-20},"R" ) }

   @ 0,0 XIMAGE oImage SOURCE cFile SIZE 0,0  OF oWnd
   oWnd:oClient := oImage

   ACTIVATE WINDOW oWnd CENTERED

RETURN ( nil )

 
Image
regards, saludos

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

Re: Unresolved external '_HB_FUN_FWOPENPNGFILE'

Post by Antonio Linares »

Can also rotate the image by pressing shif-key down and scrolling mouse wheel.

On touch screen pinch/zoom for zooming and rotate with fingers
regards, saludos

Antonio Linares
www.fivetechsoft.com
Post Reply