Page 1 of 1

FwH 2.07 hb_MEMOREAD() does not work ?

Posted: Mon Sep 09, 2024 3:27 pm
by Jimmy
hi,

it seems me that using 24.07 hb_MEMOREAD() does not work and i get only empty Window.
can somebody confirm this :?:

Re: FwH 2.07 hb_MEMOREAD() does not work ?

Posted: Mon Sep 09, 2024 8:59 pm
by Jimmy
hi,

found out that hb_memoread() work using 24.07
but Color of GET / MULTILINE does not work correct like before so i can´t see it (Black on Black)

Code: Select all | Expand

               @  3,  3 GET oMGet VAR cMemo ;         
              MULTILINE ; 
 /*COLOR BFcolor, BGcolor */ ;
              ON CHANGE OnChanged( oMGet, oStatusBar ) ;
              SIZE nHeight - 70, nWidth - 20 OF oWnd PIXEL
i have use MSVC and a *.HBP where i include

Code: Select all | Expand

-LC:\BCC7764\lib\psdk -lUxtheme
but how does a "A" LIB can work with MSVC :?:

Re: FwH 2.07 hb_MEMOREAD() does not work ?

Posted: Tue Sep 10, 2024 4:14 am
by nageswaragunupudi
but Color of GET / MULTILINE does not work correct like before so i can´t see it (Black on Black)
We confirm this is a bug in 2407. This creates problem when the background color is black.
For now, please use this work-around.
Do not use COLOR clause and instead use oGet:SetColor(...) in the next line like this:

Code: Select all | Expand

@ r,c GET oGet VAR cMemo MEMO SIZE w,h PIXEL OF oDlg
oGet:SetColor( CLR_WHITE, CLR_BLACK )

Re: FwH 2.07 hb_MEMOREAD() does not work ?

Posted: Tue Sep 10, 2024 4:19 am
by nageswaragunupudi
but how does a "A" LIB can work with MSVC?
*.a libs work with bcc only, not msvc.

When in doubt about the libraries to be linked, please always read "build??.bat" corresponding to your version in the samples folder and ensure make your linkscript includs the same libs linked in the build??.bat

Re: FwH 2.07 hb_MEMOREAD() does not work ?

Posted: Tue Sep 10, 2024 4:56 am
by Jimmy
hi,
nageswaragunupudi wrote:*.a libs work with bcc only, not msvc.

When in doubt about the libraries to be linked, please always read "build??.bat" corresponding to your version in the samples folder and ensure make your linkscript includs the same libs linked in the build??.bat
look at https://forums.fivetechsupport.com/view ... 5e#p273099
where i follow Antonios Advice
look for uxtheme.a
and include it in my *.HBP for MSVC 64 Bit this Way

Code: Select all | Expand

-LC:\BCC7764\lib\psdk -lUxtheme
and now my App WORK :D

but i still don´t understand how it work :?: