FwH 2.07 hb_MEMOREAD() does not work ?

FwH 2.07 hb_MEMOREAD() does not work ?

Postby Jimmy » Mon Sep 09, 2024 3:27 pm

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: 1732
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany

Re: FwH 2.07 hb_MEMOREAD() does not work ?

Postby Jimmy » Mon Sep 09, 2024 8:59 pm

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 view  RUN
              @  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 view  RUN
-LC:\BCC7764\lib\psdk -lUxtheme

but how does a "A" LIB can work with MSVC :?:
greeting,
Jimmy
User avatar
Jimmy
 
Posts: 1732
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany

Re: FwH 2.07 hb_MEMOREAD() does not work ?

Postby nageswaragunupudi » Tue Sep 10, 2024 4:14 am

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 view  RUN
@ 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: 10646
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: FwH 2.07 hb_MEMOREAD() does not work ?

Postby nageswaragunupudi » Tue Sep 10, 2024 4:19 am

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
nageswaragunupudi
 
Posts: 10646
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: FwH 2.07 hb_MEMOREAD() does not work ?

Postby Jimmy » Tue Sep 10, 2024 4:56 am

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 viewtopic.php?f=3&t=44837&p=273099&sid=de4130d17770f5bccfe1343d446cff5e#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 view  RUN
-LC:\BCC7764\lib\psdk -lUxtheme

and now my App WORK :D

but i still don´t understand how it work :?:
greeting,
Jimmy
User avatar
Jimmy
 
Posts: 1732
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 53 guests