FwH 2.07 hb_MEMOREAD() does not work ?

Post Reply
User avatar
Jimmy
Posts: 1734
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany

FwH 2.07 hb_MEMOREAD() does not work ?

Post 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 :?:
greeting,
Jimmy
User avatar
Jimmy
Posts: 1734
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany

Re: FwH 2.07 hb_MEMOREAD() does not work ?

Post 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 :?:
greeting,
Jimmy
User avatar
nageswaragunupudi
Posts: 10701
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Been thanked: 3 times
Contact:

Re: FwH 2.07 hb_MEMOREAD() does not work ?

Post 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 )
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
Posts: 10701
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Been thanked: 3 times
Contact:

Re: FwH 2.07 hb_MEMOREAD() does not work ?

Post 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
Regards

G. N. Rao.
Hyderabad, India
User avatar
Jimmy
Posts: 1734
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany

Re: FwH 2.07 hb_MEMOREAD() does not work ?

Post 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 :?:
greeting,
Jimmy
Post Reply