RichEdit C funcs not found in mingw libs 10.9

Post Reply
l.f.
Posts: 3
Joined: Sun Jan 23, 2011 9:52 am

RichEdit C funcs not found in mingw libs 10.9

Post by l.f. »

I tried to rebuild my apps with mingw and I got:

c:/dvl/fwh/lib/fivehg.lib(TRICHEDI.o):TRICHEDI.c:(.data+0x198): undefined reference to `HB_FUN_REDLLVERSION'
c:/dvl/fwh/lib/fivehg.lib(TRICHEDI.o):TRICHEDI.c:(.data+0x1b8): undefined reference to `HB_FUN_REGETPARAFORMAT'
...
c:/dvl/fwh/lib/fivehg.lib(TRICHEDI.o):TRICHEDI.c:(.data+0x1348): undefined reference to `HB_FUN_RESETPARAGRAPH'

Those funcs seem not present in fivehgc.lib.

Am I missing something?

P.S. same result with with 10.7 and 10.8 and the apps are built correctly with bcc

best regards,
Lorenzo Fiorini
User avatar
IBTC
Posts: 103
Joined: Sat Oct 18, 2008 8:13 pm
Location: Stuttgart, Germany
Contact:

Re: RichEdit C funcs not found in mingw libs 10.9

Post by IBTC »

As I know
  • RichEdit
  • ActiveX
  • FWCallDll()
is not implemented in FWH for MinGW (yet).
Best Regards,
Ruediger Alich

---
HMG 3.1.3 | FTDN/FWH 13.12 | Harbour 3.2 | BCC/MinGW | Windows XP/Vista/7/8/10 (32/64-Bit), Wine (Linux/Mac) - started 1999 with FW, 1989 with Clipper
User avatar
Silvio
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Re: RichEdit C funcs not found in mingw libs 10.9

Post by Silvio »

these functions are not pubblish yet, talk with Antonio
Best Regards, Saludos

Falconi Silvio
User avatar
IBTC
Posts: 103
Joined: Sat Oct 18, 2008 8:13 pm
Location: Stuttgart, Germany
Contact:

Re: RichEdit C funcs not found in mingw libs 10.9

Post by IBTC »

l.f. wrote: P.S. same result with with 10.7 and 10.8 and the apps are built correctly with bcc
Hi Lorenzo,

If you want to link and test your app build with MinGW (without your functions which needs RichEdit, ActiveX) insert e.g. this:

Code: Select all

FUNCTION REDLLVERSION();       DUMMY(PROCNAME(1)); RETURN(NIL)
FUNCTION REGETPARAFORMAT();    DUMMY(PROCNAME(1)); RETURN(NIL)
FUNCTION REGETBULLET();        DUMMY(PROCNAME(1)); RETURN(NIL)
FUNCTION REGETCHARFORMAT();    DUMMY(PROCNAME(1)); RETURN(NIL)
FUNCTION REGETHIGHLIGHT();     DUMMY(PROCNAME(1)); RETURN(NIL)
FUNCTION REGETNUMBERING();     DUMMY(PROCNAME(1)); RETURN(NIL)
FUNCTION REGETZOOM();          DUMMY(PROCNAME(1)); RETURN(NIL)
FUNCTION REINSERTPICTURE();    DUMMY(PROCNAME(1)); RETURN(NIL)
FUNCTION RELEN();              DUMMY(PROCNAME(1)); RETURN(NIL)
FUNCTION REPAGEBREAK();        DUMMY(PROCNAME(1)); RETURN(NIL)
FUNCTION REPASTESPECIAL();     DUMMY(PROCNAME(1)); RETURN(NIL)
FUNCTION RESAVEASRTF();        DUMMY(PROCNAME(1)); RETURN(NIL)
FUNCTION RESETFONTNAME();      DUMMY(PROCNAME(1)); RETURN(NIL)
FUNCTION RESETFONTSIZE();      DUMMY(PROCNAME(1)); RETURN(NIL)
FUNCTION RESETHIGHLIGHT();     DUMMY(PROCNAME(1)); RETURN(NIL)
FUNCTION RESETOLEINIT();       DUMMY(PROCNAME(1)); RETURN(NIL)
FUNCTION RESETOLEUNINIT();     DUMMY(PROCNAME(1)); RETURN(NIL)
FUNCTION RESETOLECALLBACK();   DUMMY(PROCNAME(1)); RETURN(NIL)
FUNCTION REGETOLEINTERFACE();  DUMMY(PROCNAME(1)); RETURN(NIL)
FUNCTION RESETPOS();           DUMMY(PROCNAME(1)); RETURN(NIL)
FUNCTION RESETSELECTION();     DUMMY(PROCNAME(1)); RETURN(NIL)
FUNCTION RESETTEXTCOLOR();     DUMMY(PROCNAME(1)); RETURN(NIL)
FUNCTION RESETZOOM();          DUMMY(PROCNAME(1)); RETURN(NIL)
FUNCTION RESETCHARFORMAT();    DUMMY(PROCNAME(1)); RETURN(NIL)
FUNCTION REFINDTEXT();         DUMMY(PROCNAME(1)); RETURN(NIL)
FUNCTION REGETINDENT();        DUMMY(PROCNAME(1)); RETURN(NIL)
FUNCTION REGETPARAGRAPH();     DUMMY(PROCNAME(1)); RETURN(NIL)
FUNCTION REGETSELECTION();     DUMMY(PROCNAME(1)); RETURN(NIL)
FUNCTION LOCKWINDOWUPDATE();   DUMMY(PROCNAME(1)); RETURN(NIL)
FUNCTION RELOADASRTF();        DUMMY(PROCNAME(1)); RETURN(NIL)
FUNCTION REGETNMHDRLINK();     DUMMY(PROCNAME(1)); RETURN(NIL)
FUNCTION REPREVIEW();          DUMMY(PROCNAME(1)); RETURN(NIL)
FUNCTION REPRINT();            DUMMY(PROCNAME(1)); RETURN(NIL)
FUNCTION REPRINTBOX();         DUMMY(PROCNAME(1)); RETURN(NIL)
FUNCTION RESETPARAFORMAT();    DUMMY(PROCNAME(1)); RETURN(NIL)
FUNCTION RESETATTRIBUTE();     DUMMY(PROCNAME(1)); RETURN(NIL)
FUNCTION RESETAUTOURLDETECT(); DUMMY(PROCNAME(1)); RETURN(NIL)
FUNCTION RESETBULLET();        DUMMY(PROCNAME(1)); RETURN(NIL)
FUNCTION RESETINDENT();        DUMMY(PROCNAME(1)); RETURN(NIL)
FUNCTION RESETNUMBERING();     DUMMY(PROCNAME(1)); RETURN(NIL)
FUNCTION RESETPARAGRAPH();     DUMMY(PROCNAME(1)); RETURN(NIL)

FUNCTION ACTXGETPROPERTY();    DUMMY(PROCNAME(1)); RETURN(NIL)
FUNCTION ACTXPDISP();          DUMMY(PROCNAME(1)); RETURN(NIL)
FUNCTION ACTXSETLOCATION();    DUMMY(PROCNAME(1)); RETURN(NIL)
FUNCTION ACTXSETPROPERTY();    DUMMY(PROCNAME(1)); RETURN(NIL)
FUNCTION ACTXSTRING();         DUMMY(PROCNAME(1)); RETURN(NIL)
FUNCTION CREATEACTIVEX();      DUMMY(PROCNAME(1)); RETURN(NIL)
FUNCTION ACTXINVOKE();         DUMMY(PROCNAME(1)); RETURN(NIL)
FUNCTION ACTXEVENTS();         DUMMY(PROCNAME(1)); RETURN(NIL)
FUNCTION ACTXEND();            DUMMY(PROCNAME(1)); RETURN(NIL)
FUNCTION ISACTIVEX();          DUMMY(PROCNAME(1)); RETURN(NIL)

FUNCTION FWCallDll(); MsgInfo( "DLL-Call "+ProcName(1)+" not (yet) available." ); RETURN(0)

FUNCTION DUMMY( cName ); MsgStop( "Function "+cName+' not available.'); RETURN(NIL)
 
If you use Harbour you can use e.g. instead of:

Code: Select all

DLL32 Function GetDriveTypeA( cDrive AS STRING ) AS LONG PASCAL FROM "GetDriveTypeA" LIB "kernel32.dll"
this:

Code: Select all

FUNCTION GetDriveTypeA( cDrive ); RETURN( DllCall( "kernel32.dll", DLL_OSAPI, "GetDriveTypeA", cDrive ) )
Best Regards,
Ruediger Alich

---
HMG 3.1.3 | FTDN/FWH 13.12 | Harbour 3.2 | BCC/MinGW | Windows XP/Vista/7/8/10 (32/64-Bit), Wine (Linux/Mac) - started 1999 with FW, 1989 with Clipper
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: RichEdit C funcs not found in mingw libs 10.9

Post by Antonio Linares »

Still we get the error:

Code: Select all

fivehgc.lib(BRUSHES.o):BRUSHES.C:(.text+0x23e0): undefined reference to `AlphaBlend'
trying to solve it as libmsimg32.a should solve it...
regards, saludos

Antonio Linares
www.fivetechsoft.com
Post Reply