topic stringlengths 1 63 | text stringlengths 1 577k ⌀ |
|---|---|
hbcurl how is it used? | Byron,
Are you running Apache on Windows ?
If so, please download and use this mod_harbour version:
[url:3soyl61o]https://github.com/FiveTechSoft/mod_harbour/tree/master/windows/win64[/url:3soyl61o] |
hbcurl how is it used? | We are running IIS. Do I need to download something new? Is it the dll or Mod_Harbour.lib as well?
Thanks,
Byron... |
hbcurl how is it used? | Byron,
The problem that we have found with IIS and curl is that there is a missing DLL, that does not allow to load libharbour.dll, and we don't know which one is it yet
So for now, curl support is disabled for IIS until we find the missing DLL
You can test it using this libharbour.dll:
[url:2fuu971o]https://git... |
hbcurl how is it used? | I have just sent you a slack invitation, where we talk about mod_harbour trying to solve this IIS issue... |
hbcurl how is it used? | Byron,
ok, mod_harbour for IIS properly working with CURL support.
Please download the new files from here:
[url:19wcn0ru]https://github.com/FiveTechSoft/mod_harbour/tree/master/IIS/bin[/url:19wcn0ru]
Please remember to copy libcurl.dll, libcrypto-1_1-x64.dll and libssl-1_1-x64.dll to c:\windows\system32\ine... |
hbcurl xharbour | Hi, Does anyone know how to rewrite this routine using hbcurl? Thanks in advance.
TRY
oUrl = TUrl():New( 'https://www.averbeporto.com.br/websys/php/conn.php' )
CATCH
CurSorArrow()
MsgInfo('Erro ao criar a conexão','Erro')
RETURN(.F.)
END
IF !EMPTY( oUrl )
oCli = TIPClientHttp():New( oUrl )
IF !EMPTY( ... |
hbcurl xharbour | Any idea? |
hbcurl y googledrive | Buenas,
he estado probando hbcurl para descarga de ficheros desde googledrive, este siempre me contestaba diciéndome que el fichero se había movido temporalmento o se había redirigido:
[code=fw:3h2nqgga]<div class="fw" id="{CB}" style="font-family: monospace;"><HTML><br /><HEAD><br /><TITLE>Moved Temporarily</TITLE><... |
hbcurl y googledrive | podrias compartir la rutina para bajar archivos?
tienes forma de subir archivos a googledrive ?
desde ya gracias |
hbcurl y googledrive | Hola Postinelli,
aquí tienes la función que uso:
[code=fw:1h6cfhwy]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">FUNCTION</span> Descarga<span style="color: #000000;">(</span>sURL<span style="color: #000000;">)</span><br /><br /><span style="color: #00C800;">LOCAL</sp... |
hbcurl y googledrive | Postinelli,
puedes mejorar la rutina añadiendo:
[code=fw:hbv8jlld]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #B900B9;">// Variables para tomar el nombre del fichero de la URL</span><br /><span style="color: #00C800;">LOCAL</span> fichero := <span style="color: #ff0000;">""</sp... |
hbcurl y googledrive | Postinelli,
adjunto el código del ejemplo ftp_uldl.prg de hbcurl, podrás ver los parámetros que se utilizan para poder subir ficheros.
[code=fw:13b4jhhw]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #B900B9;">/*<br /> * $Id: ftp_uldl.prg 17552 2012-06-04 22:21:59Z vszakats $... |
hbcurl y googledrive | muy amable, haré pruebas y comento |
hbcurl y googledrive | Baxajuan,
Podrias mostrar un ejemplo de la llamada al drive para subir/bajar un fichero ?
Gracias ! |
hbcurl.c | HI,
i want use curl in xharbour, i make download of harbour source contrib and found hbcurl.c and curl.ch
more that i try compiler dont found curl.h, types.h and easy.h
where i found this ? how compiler to use this .
thanks so much. |
hbcurl.c | <!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?p=130276#p130276">viewtopic.php?p=130276#p130276</a><!-- l --> |
hbmk2 and #ifdef | trying to switch from xHarbour to Harbour
Have a lot of
[code=fw:tx0043mq]<div class="fw" id="{CB}" style="font-family: monospace;">#ifdef __NOXHBCOM__<br /> ... <br />#endif</div>[/code:tx0043mq]
in my source prg.
How do I configure go.bat/hbmk2.hbp so that conditional compilation respects '__NOXHBCOM__'? |
hbmk2 and #ifdef | Add -D__NOXHBCOM__ inside hbmk2.hbp |
hbmk2 and #ifdef | <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D --> |
hbmk2 con Bcc71 | Buen día
Alguien está usando hbmk2 con bcc71 ? |
hbmk2 con Bcc71 | <!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?p=198176#p198176">viewtopic.php?p=198176#p198176</a><!-- l -->
Solo tienes que cambiar los nombres de las librerías:
-Lc:\fwh\lib -lFiveH
-Lc:\fwh\lib -lFiveHC |
hbmk2 con Bcc71 | Antonio , gracias por responder
Ya he conseguir usar hbmk2 con FWH64 , BCC71 y Harbour para BCC
Ahora quiero usar mingw y harbour + FWH64 , que librería debo utilizar ?
Saludos |
hbmk2 con Bcc71 | De momento no proporcionamos una librería para MinGW y FWH 64 bits.
Eres el primero que ha preguntado por ella <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> |
hbmk2 con Bcc71 | Estimado Antonio, las opciones que hasta hoy he probado para utilizar FWH64 bits han sido, xHarbour + VS y Harbour + Bcc7.1
La versión con xHarbour me genera errores aleatorios con AppCrash. Y en la versión con Harbour hay algunos comandos y operaciones matemáticas que no funcionan correctamente.
Que otra opción me rec... |
hbmk2 con Bcc71 | Mi consejo es usar Harbour y Borland ó MSVC, ambos para 64 bits.
La decisión de usar Borland ó MSVC depende de las preferencias de cada uno. El debuger a bajo nivel de MSVC es muy bueno. |
hbmk2 con Bcc71 | Si has detectado algún error en Harbour, solo tienes que reportarlo en la lista de usuarios de Harbour y se solucionará muy rápido |
hbmk2 errors | Hi All! I am trying to link application with hbmk2 (Harbour 32, dolphin) :
hbmk2: Processing local make script: hbmk.hbm
hbmk2: Linking... pos32.exe
c:/fwh/lib/FiveH32.lib(objh32/DATABASE.obj):(.text+0x30): multiple definition of `HB_FUN_TDATABASE'
.hbmk/win/mingw/DATABASE.o:DATABASE.c:(.text+0x0): first define... |
hbmk2 errors | That Dolphin lib seems to be for Borland and you are using Microsoft |
hbmk2 errors | [quote="Antonio Linares":2ddr3lnw]That Dolphin lib seems to be for Borland and you are using Microsoft[/quote:2ddr3lnw]
Actually I am using mingw. |
hbmk2 errors | The problem was fixed. I have a new one when linking :
c:/fwh/lib/fivehg.lib(GETTASKS.o):GETTASKS.c:(.text+0x180): undefined reference to `GetModuleFileNameExA@16'
c:/fwh/lib/fivehgc.lib(RICHEDIT.o):RICHEDIT.C:(.text+0xa45): undefined reference to `OleUIPasteSpecialA@4'
c:/fwh/lib/fivehgc.lib(RICHEDIT.o):RICHEDIT.C:(... |
hbmk2 errors | Mosh,
Please link this richedit.obj:
[url:3a6lvavy]https://code.google.com/p/fivewin-contributions/downloads/detail?name=RICHEDIT.obj[/url:3a6lvavy]
If you have problems with the linking order, etc. then I will provide you the library with the replacement.
I mentioned in my first answer that you were... |
hbmk2 errors | [quote="Antonio Linares":1nyirzo1]Mosh,
Please link this richedit.obj:
[url:1nyirzo1]https://code.google.com/p/fivewin-contributions/downloads/detail?name=RICHEDIT.obj[/url:1nyirzo1]
If you have problems with the linking order, etc. then I will provide you the library with the replacement.
I mentione... |
hbmk2 errors | Mosh,
Are you using MinGW 32 or 64 bits ? |
hbmk2 errors | [quote="Antonio Linares":emtvdyru]Mosh,
Are you using MinGW 32 or 64 bits ?[/quote:emtvdyru]
32 bits |
hbmk2 errors | Mosh,
Please try this one:
[url:wgsn9g16]https://code.google.com/p/fivewin-contributions/downloads/detail?name=mosh.zip[/url:wgsn9g16] |
hbmk2 errors | [quote="Antonio Linares":31h1r0z9]Mosh,
Please try this one:
[url:31h1r0z9]https://code.google.com/p/fivewin-contributions/downloads/detail?name=mosh.zip[/url:31h1r0z9][/quote:31h1r0z9]
Now I have :
[b:31h1r0z9]hbmk2: Processing local make script: hbmk.hbm
hbmk2: Linking... pos32.exe
RICHEDIT.o... |
hbmk2 errors | Mosh,
Please link MinGW liboledlg.a too and let me know if that solves the Ole one, thanks |
hbmk2 errors | MinGW libversion.a for Get... functions |
hbmk2 errors | [quote="Antonio Linares":2u2lxvqt]MinGW libversion.a for Get... functions[/quote:2u2lxvqt]
Now I have only this error :
[b:2u2lxvqt]hbmk2: Processing local make script: hbmk.hbm
hbmk2: Linking... pos32.exe
c:/fwh/lib/fivehg.lib(GETTASKS.o):GETTASKS.c:(.text+0x180): undefined reference to `GetModuleFileNameExA@1... |
hbmk2 errors | Mosh,
Please link MinGW libpsapi.a also
[quote:11u4hxv6]How can I link these libraries without copying the to working directory ?
-Lc:\hb32\comp\mingw\lib\ -llibversion
is ignored.[/quote:11u4hxv6]
I recently reported it to Viktor, but he seems not to agree to have the libs in a different folder from the standar... |
hbmk2 errors | [quote="Antonio Linares":6ncojijv]Mosh,
Please link MinGW libpsapi.a also
[quote:6ncojijv]How can I link these libraries without copying the to working directory ?
-Lc:\hb32\comp\mingw\lib\ -llibversion
is ignored.[/quote:6ncojijv]
I recently reported it to Viktor, but he seems not to agree to have the libs in a... |
hbmk2 errors | Mosh,
I assume that you are linking MinGW libkernel32.a too, right ? |
hbmk2 errors | [quote="Antonio Linares":2a2g7qd9]Mosh,
I assume that you are linking MinGW libkernel32.a too, right ?[/quote:2a2g7qd9]
It was not linked by default now I added it too, but it didn't help |
hbmk2 errors | Do you still get an unresolved external ? |
hbmk2 errors | [quote="Antonio Linares":1vuwoj0h]Do you still get an unresolved external ?[/quote:1vuwoj0h]
Yes, the same error :
[b:1vuwoj0h]c:/fwh/lib/fivehg.lib(GETTASKS.o):GETTASKS.c:(.text+0x180): undefined reference to `GetModuleFileNameExA@16'
collect2: ld returned 1 exit status
hbmk2: Error: Running linker. 1
[/b:1vuwoj0h] |
hbmk2 errors | Mosh,
Did you link MinGW libpsapi.a ? |
hbmk2 errors | [quote="Antonio Linares":2ydwsjmp]Mosh,
Did you link MinGW libpsapi.a ?[/quote:2ydwsjmp]
Yes. This is my tst32.hbp
[b:2ydwsjmp]tst
RICHEDIT.o
libversion.a
liboledlg.a
libpsapi.a
libkernel32.a
-Lc:\fwh\lib -lfivehg
-Lc:\fwh\lib -lfivehgc
-Lc:\doltest -llibmysql
-Lc:\Dolph_SRC\lib\HARBOUR\MINGW32 -ldolphin
-otst32... |
hbmk2 errors | Mosh,
Please link this GETTASKS.o also:
[url:1tz2h79b]https://code.google.com/p/fivewin-contributions/downloads/detail?name=GETTASKS.o[/url:1tz2h79b] |
hbmk2 errors | [quote="Antonio Linares":25jbo7ej]Mosh,
Please link this GETTASKS.o also:
[url:25jbo7ej]https://code.google.com/p/fivewin-contributions/downloads/detail?name=GETTASKS.o[/url:25jbo7ej][/quote:25jbo7ej]
Now it link w/o errors. Thanks! <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" tit... |
hbmk2 errors | Mosh,
Thanks for your feedback <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
These changes will be included in next FWH build |
hbmk2 errors | Antonio,
I'm the same have link problems building hbmk2. Using buildhm.bat plus libs bvcplr, hbct, xhm, send23 & I cannot link because I'm missing GetModuleFileNameExA@16'.
Where can I find it? |
hbmk2 errors | Are you linking C Compiler psapi.lib ? |
hbmk2 errors | Fixed an error in my link list and it now links correctly.
Unfortunately I'm now getting the error at program load, "ordinal 2143 not found in user23.dll." I'm getting this same error with my other application. I have absolutely no idea what an "ordinal" is. |
hbmk2 errors | Don,
Have you create an import library yourself from a DLL ?
have you used a DEF file to build it ? |
hbmk2 errors | Hi, Antonio
I didn't cread an "import library." I have no idea what it is.
I used BUILDHM.bat and added the libraries needed to resolve missing symbols. |
hbmk2 errors | Oops! I misspelled "create." |
hbmk2 errors | Don,
I guess there is a little typo in your error description, is it this one ?
"ordinal 2143 not found in user32.dll"
Please notice 32 instead of 23 |
hbmk2 errors | Antonio,
Yes, that certainly is a typo. I'm afraid that I often transpose numbers and letter like that. |
hbmk2 errors | If my reading is correct, ordinal 2143 is for name DefDlgProcA in user32.dll on my Vista system. DefDlgProcA in user32.dll on my XP system, which is the system where I'm having this problem, corresponds with ordinal 87. My very uneducated guess is that something within my VC or FWH or Harbour libs is assuming that my... |
hbmk2 errors | Don,
Could you please email me your EXE ? (please zip it and rename as zop instead of zip)
<!-- e --><a href="mailto:alinares@fivetechsoft.com">alinares@fivetechsoft.com</a><!-- e -->
You are using Visual Studio 2010 Express, right ? Are you using Harbour or xHarbour ?
Are you linking any third party libraries besid... |
hbmk2 errors | Yes, I'm using Visual Studio 2010 express. I switched back to Harbour, as you suggested.
No, I am not using any third-party libs.
VMH.zop should now be in your inbox. |
hbmk2 errors | Don,
I have not received your file yet. Could you please send it again or upload to minus, or 4shared or similar ? thanks
I am going to build in a few minutes, the same EXE like you using the same tools and will comment it here |
hbmk2 errors | Don,
Your EXE is corrupt. I have built it here using MS VS2010 and gets properly built and works fine.
Are you using this Harbour ?
[url:19fu4785]https://harbour-and-xharbour-builds.googlecode.com/files/harbour_msvc_20130328_2.zip[/url:19fu4785]
Are you building your EXE using FWH\samples\buildh32.ba... |
hbmk2 for bcc64 | Antonio ,
is it possible to have hbmk2.exe for BCC64 ?
Thanks in anticipation
Maurizio
<!-- w --><a class="postlink" href="http://www.nipeservice.com">www.nipeservice.com</a><!-- w --> |
hbmk2 for bcc64 | Hbmk2.exe it is included in Harbour 64
<!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=16&t=32157#p188296">viewtopic.php?f=16&t=32157#p188296</a><!-- l --> |
hbmk2 for bcc64 | Hello ,
I had already tested it , but I have this error
[code=fw:17a6jrc5]<div class="fw" id="{CB}" style="font-family: monospace;">C:\Users\Maurizio\AppData\<span style="color: #00C800;">Local</span>\Temp\hbmk_1tczsy.dir\achoice.c:<br /><span style="color: #000000;">In</span> file included <span style="color: #0000ff... |
hbmk2 for bcc64 | Please, revise your paths in your files make and .bat if is neccesary |
hbmk2 for bcc64 | Maurizio,
Check that stdarg.h is in c:\bcc71-64\INCLUDE\windows\crtl |
hbmk2 for bcc64 | Thank Antonio ,
I changed the directory of bcc64 ,and I set SET PATH=c:\Bcc7164\Bin but dosn't work ,
now with BCC in c:\bcc71-64\ it works
the error that I have is :
c:\bcc71-64
[code=fw:3dy7ii73]<div class="fw" id="{CB}" style="font-family: monospace;">hbmk2: <span style="color: #000000;">Linking</span>... ma... |
hbmk2 for bcc64 | Thank Antonio ,
Finnaly I have compile all the prg ( a big program in MYSQL) in BCC64 bit with hbmk2 .
I had to rename c0w64.o in c0w64.obj and works.
This is the BAT
[code=fw:2sq4cv2i]<div class="fw" id="{CB}" style="font-family: monospace;">SET PATH=c:\bcc71<span style="color: #000000;">-64</span>\BIN\;c:\fwh64\... |
hbmk2 for bcc64 | very good <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> |
hbmk2 plugins | Using this hbmk2 plugin we get reported of the different states of the make process giving us the oportunity to modify params, etc
plugin.prg
[code=fw:azmoqg2u]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">function</span> hbmk2_plugin<span style="color: #000000;">(</span> ... |
hbmk2 plugins | Usando este plugin para hbmk2 podemos obtener los diferentes estados del proceso de construcción teniendo la oportunidad de modificar parámetros, etc
plugin.prg
[code=fw:1x9wxvp0]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">function</span> hbmk2_plugin<span style="color: #000... |
hbmk2 plugins | Saludos desde Venezuela !
Antonio podrias ser mas especifico en el uso de este plugins ( como aplicarlo ) |
hbmk2 problem | Over the past couple of years, there has been encouragement to use Harbor's hbmk2 to build applications.
My application is large, and with Antonio's guidance, I have attempted to build it using hbmk2
[b:2p4nv2tv]PLEASE NOTE: [/b:2p4nv2tv] The program builds without error using a .mak file, and also building with Vi... |
hbmk2 problem | Dear Tim,
I just coded this little PRG and hbmk2 properly builds it so I tend to think that there is a preprocessor issue. Please compile it using -p to generate a PPO file and please check if such line gets modified, maybe a define is changing the code, many thanks:
This code generates an obvious runtime error but n... |
hbmk2 problem | I am seeing this:
oARhistory := TARhistory():New( 2 )
[b:2zh9h64v] oARhistory:(.T.)->( dbSeek( dBegDate ) )[/b:2zh9h64v]
while ! oARhistory:eof( ) |
hbmk2 problem | Dear Tim,
What header files .CH are you using from such PRG ? |
hbmk2 problem | For that .prg, just fivewin.ch and tdata.ch. I commented out the the tdata, though that has no reference to seek(), and it made no difference. So essentially, just fivewin |
hbmk2 problem | Dear Tim,
It seems as
oARhistory:seek( dBegDate, .t. )
is preprocessed into:
oARhistory:(.T.)->( dbSeek( dBegDate ) )
Please search in all your used CH files and look for dbSeek |
hbmk2 problem | Also, please comment this line in fwstd.ch
// #command SEEK <xpr> => dbSeek( <xpr> )
just in case the error comes from here |
hbmk2 problem | I made the change you suggested and have the same error.
I did a search of ALL .ch files in FWH, Harbour, and my program. I looked for instances of SEEK and DBSEEK
There were no re-defines in any of those
It is strange that clearly, as shown by the PPO, that :seek is being redefined, but just how seems to be avoidin... |
hbmk2 problem | Dear Tim,
Please build my above example and lets see what you get
thank you |
hbmk2 problem | Antonio,
Yesterday was our 53rd wedding anniversary, so I took off most of the day.
I did the build this morning, and it comes up as it did with you.
I also defined o as a tdatabase():new( ) and it still shows, in the PPO, that the seek in correct.
So now I will need to continue searching for an include file that ... |
hbmk2 problem | Antonio,
In your example, the code:[b:3qvuae40]o:seek( dToday, .T. )[/b:3qvuae40] becomes:[b:3qvuae40]o:seek( dToday, .T. )[/b:3qvuae40] in the PPO
In my application, [b:3qvuae40]oARhistory:seek( dBegDate, .t. )[/b:3qvuae40]. becomes: [b:3qvuae40] oARhistory:(.T.)->( dbSeek( dBegDate ) )[/b:3qvuae40]
Clearly a... |
hbmk2 problem | Dear Tim,
Do you use any #define on that PRG ? |
hbmk2 problem | There are no #define in that .prg
There are some elsewhere in the total application, but none of them show anything related to databases. |
hbmk2 problem | Dear Tim,
Then I would suggest to completely remove all the files in FWH\include and reinstall them
If that does not solve it, then you should do the same with harbour\include folder |
hbmk2 problem | The easiest way to do that is to install the latest downloads from the FW subscription site.
That was no problem for FWH. However, the latest posted MVSC Harbour build is 3 years old, and it does not show a download.
Do you have a link to download the latest Harbour installation file ? Maybe there is a problem with... |
hbmk2 problem | Dear Tim,
[url:6lpkjhvt]https://github.com/FiveTechSoft/harbour_and_xharbour_builds/blob/master/harbour_msvc32_20230406.zip[/url:6lpkjhvt] |
hbmk2 problem | Unfortunately, that did not resolve the problem.
I also took the the .prg file and moved it to the top of the list so it didn't pick up any redefines from other files as it was compiling ( if that's a thing ).
It still has the same, original, error with that seek( x, y ) function.
It doesn't prevent me from buildin... |
hbmk2 problem | Dear Tim,
Can you email me that PRG ?
many thanks |
hbmk2 problem | I found the problem ... but will follow up with an email:
The script for the .hbp says to use hbfoxpro.ch
In it, we have this redefine:
[b:2bcp71wq]#xtranslate SEEK( <x>, <wa> ) => (<wa>)->( dbSeek( <x> ) )[/b:2bcp71wq]
Removing that file solves the compile problem.
However, there are other issues and I will email ... |
hbmk2 problem | very good finding <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> |
hbmk2.exe 64 bits | Buenos días,
alguien tiene hbmk2.exe para 64 bits ?
Muchas gracias.
Saludos,
Felix |
hbnetio como configurarlo | Compañeros del foro.
Como se configura hbnetio, donde puedo encontrar mas información.
Gracias |
hbnetio.lib para xHarbour | aludos al forum
Existe esta hbnetio.lib para xHarbour, si existe me la podrian facilitar. |
hbnetio.lib para xHarbour | No encuentro nada ne el SVN de xHarbour.
Desculpame por mi espanol.
EMG |
hbnetio.lib para xHarbour | nO, He buscado en la descargas de xHarbour y no hay nada, solamente en Harbour |
hboleaut | Guys,
I am using Harbour dan Microsoft Visual C. I am currently trying to set connecting from Harbour to MS SQL Server. I read from this forum that it can achieved by using ADORDD. Since I am using Harbour, supposedly I will need adordd.lib and hboleaut.lib.
I have found the adordd source code but I am still missing ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.