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...
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...
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...
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...
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...
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...
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...
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...
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
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...