Search found 947 matches: func

Return to advanced search

Re: come recuperare il codice fivewin da .c file

You can try it using chatgpt: recover the original PRG code from this pcode: HB_FUNC( APRIDBCONPASSWORD ) { static const BYTE pcode[] = { HB_P_FRAME, 0, 2, /* locals, params */ /* 00003 */ HB_P_BASELINE, 138, 0, /* 138 */ HB_P_PUSHLOCALNEAR, 2, /* PASSWORD */ HB_P_PUSHNIL, HB_P_EXACTLYEQUAL, HB_P_JU...
by Antonio Linares
Mon Feb 12, 2024 9:55 pm
 
Forum: All products support
Topic: come recuperare il codice fivewin da .c file
Replies: 7
Views: 440

Re: SAPI : change Voice

Dear Jimmy, Fixed! :-) Effectively it was a Harbour bug. Now it is working fine. Do you build Harbour yourself or do you prefer me to send it to you ? For what C compiler ? The fix: in harbour/contrib/hbwin/olecore.c HB_FUNC( WIN_OLEAUTO___ONERROR ) ...         if ((HB_IS...
by Antonio Linares
Sun Jan 28, 2024 6:19 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: SAPI : change Voice
Replies: 69
Views: 3491

Re: SAPI : change Voice

hi, i try to use CODE from ChatGPT as HB_FUNC() but i got Errors C:\hmg.3.4.4\0\SAPI>..\..\build SapiVoice.hbp Harbour 3.2.0dev (r1703241902) Copyright (c) 1999-2016, http://harbour-project.org/ HB_FUNC.PRG: In function 'HB_FUN_GETZIRA': HB_FUNC.PRG:20:31: error: 'ISpObjectTokenCategory {aka stru...
by Jimmy
Thu Jan 25, 2024 4:24 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: SAPI : change Voice
Replies: 69
Views: 3491

Re: SAPI : change Voice

hi Antonio, thx for help and "C"-CODE from ChatGPT now i have to find out how to use that "C" CODE with harbour as HB_FUNC() --- i wonder that i real need CoCreateInstance() under harbort and Xbase++ as VB did work without "extra" CODE you can see it in this Video https...
by Jimmy
Wed Jan 24, 2024 11:49 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: SAPI : change Voice
Replies: 69
Views: 3491

reverse engineering of a harbour compiled c file

I have overvrite last version of a fivewin prg file that was compiled with harbour for fivewin and also linked to an exe that is well running. So i have a running exe but last modified source prg overvrite by precedent version ( do not know how i made this disaster) In a prg file (lefunz.prg) i made...
by lorenzoazz
Tue Jan 16, 2024 9:33 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: reverse engineering of a harbour compiled c file
Replies: 1
Views: 604

come recuperare il codice fivewin da .c file

Buongiorno, ho sovrascritto inavvertitamente il codice di un file prg compilato con harbour e mi sono accorto di avere perso l'ultima modifica fatta con due nuove funzioni abbastanza complesse. L'unica traccia che ho è il file compilato in c dove ho la funzione in formato hb_func E' possibile riport...
by lorenzoazz
Tue Jan 16, 2024 9:02 am
 
Forum: All products support
Topic: come recuperare il codice fivewin da .c file
Replies: 7
Views: 440

FWH functions and mod harbour

Hello friends,

How can one use FIVEWIN functions, for example from the shellapi.prg

DLL32 FUNCTION or static HB_FUNC() in mod harbour?

Which functions are used in harbour to move a file or an entire directory?

Best regards,
Otto
by Otto
Mon Jan 08, 2024 7:04 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH functions and mod harbour
Replies: 1
Views: 640

Re: opposite of HB_FUNC( REGISTERDRAGDROP ) ?

hi Antonio,
Antonio Linares wrote:Next is to properly use it from FWH and Harbour:

GREAT
it would be nice when include in next FWH Version
by Jimmy
Wed Dec 20, 2023 9:20 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: opposite of HB_FUNC( REGISTERDRAGDROP ) ?
Replies: 5
Views: 568

Re: opposite of HB_FUNC( REGISTERDRAGDROP ) ?

Dear Jimmy, As a first approach I have taken all C++ code out of main.c (previously main.cpp) and created a new file builddrop.cpp This way we can simply compile the cpp files and use them from Harbour. I am building it from Visual Studio and it properly builds :-) Next is to properly use it from FW...
by Antonio Linares
Wed Dec 20, 2023 10:55 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: opposite of HB_FUNC( REGISTERDRAGDROP ) ?
Replies: 5
Views: 568

Re: opposite of HB_FUNC( REGISTERDRAGDROP ) ?

hi Antonio, thx for Answer it seems me that Sample is to react on DragEnter DragOver DragLeave Drop to receive in "my App" when use "as Target" but i like to Dragdrop Data from "my App" and send to external App e.g. Picture to Outlook Email --- i have read at https://ww...
by Jimmy
Wed Dec 13, 2023 10:35 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: opposite of HB_FUNC( REGISTERDRAGDROP ) ?
Replies: 5
Views: 568

Re: opposite of HB_FUNC( REGISTERDRAGDROP ) ?

Dear Jimmy, Is this what you are looking for ? #include <windows.h>#include <ole2.h>#include <shlobj.h>// Definir una estructura para almacenar los datos del destino de arrastretypedef struct {  IDropTargetVtbl *lpVtbl; // Puntero a la tabla de funciones virtuales  DWORD refCo...
by Antonio Linares
Wed Dec 13, 2023 9:49 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: opposite of HB_FUNC( REGISTERDRAGDROP ) ?
Replies: 5
Views: 568

opposite of HB_FUNC( REGISTERDRAGDROP ) ?

hi,

Fivewin can use REGISTERDRAGDROP() to use App "as Target" where i can drop to
i´m searching how to use App "as Source" to drag Data to "external" App, how :?:
by Jimmy
Wed Dec 13, 2023 9:25 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: opposite of HB_FUNC( REGISTERDRAGDROP ) ?
Replies: 5
Views: 568

Re: De *.C Para *.Obj en BCC74 no funciona más.

TWAIN_GetNextSourceName()
TWAIN_GetDefaultSourceName()

HB_FUNC( TW_GETNEXTSOURCENAME )
{
hb_retni( TWAIN_GetNextSourceName( hb_parc( 1 ) ) );
}

HB_FUNC( TW_GETDEFAULTSOURCENAME )
{
hb_retni( TWAIN_GetDefaultSourceName( hb_parc( 1 ) ));
}

TWAIN.LIB :o
by jhnsnlb
Tue Nov 21, 2023 5:17 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: De *.C Para *.Obj en BCC74 no funciona más.
Replies: 84
Views: 39459

Re: Xbase++ :lockUpdate() -> Fivewin ?

hi Antonio, i try to find HB_FUNC( LOCKWINDOWUPDATE ) but did not found it in my FWH Source ... hm but i found it in "C" Files as "External" ... hm so i try %HBDIR%\bin\hbmk2 -find LOCKWINDOWUPDATE but "no match" ... hm --- in my FWH i have PROCEDURE DoDBFResize( oW...
by Jimmy
Sat Nov 04, 2023 3:37 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Xbase++ :lockUpdate() -> Fivewin ?
Replies: 10
Views: 759
Next

Return to advanced search