Search found 76 matches: retni

Return to advanced search

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

Funciones Harbour -> XHarbour

Hola a todos, Tengo un .c en donde se usan las funciones: hb_retptr( pArea->pDataFile ); hb_retl( pArea->fShared ); hb_retni( pArea->hTable ); Lo linco con Harbour y funciona pero si lo hago con xHarbour da este error: Error E2451 source\HBFORCE.C 31: Undefined symbol 'hb_stackST' in functi...
by FiveWiDi
Sat Jul 08, 2023 7:26 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Funciones Harbour -> XHarbour
Replies: 2
Views: 166

Re: Lentitud al abrir una dbf en red

Las modificaciones que tuve que aplicar a TDBF para que funcionara en versiones recientes de Harbour y Fivewin son: > 26/05/2008 Cambiado TField() por TDBFField() en TDBF.PRG Y también cambiado TField por TDBFField en TDBFFIEL.PRG, en la definición de la clase. Creo que esta clase (TField) existe...
by FiveWiDi
Fri Jul 07, 2023 9:01 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Lentitud al abrir una dbf en red
Replies: 31
Views: 1548

Re: 64 Bit Warning MSVC

hi Antonio, Please use hb_retnl() (and hb_retnll()) instead of hb_retni() YES, that work without Warning --- Question : now i have hb_retnll() for 64 Bit and 32 Bit and it also seems to work under 32 Bit ... do i need to change it :?: normal ListView_GetSelectedCount() or ListView_GetSelectionMark()...
by Jimmy
Fri Nov 11, 2022 9:59 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: 64 Bit Warning MSVC
Replies: 3
Views: 207

Re: 64 Bit Warning MSVC

Dear Jimmy,

Please use hb_retnl() (and hb_retnll()) instead of hb_retni()
by Antonio Linares
Thu Nov 10, 2022 6:52 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: 64 Bit Warning MSVC
Replies: 3
Views: 207

C into PRG problem-RESOLVED

Hi When I maintain my old application. xHarbour v1.2.3 / FWH1312 I have C code in PRG below: #pragma BEGINDUMP   #include "windows.h"   int  WINAPI PEA_SamExeNhiQuery(LPSTR cHostname, int nPort, LPSTR cBuscode, int nCom, LPSTR cDocid, LPSTR cPatdid, LPSTR cPatbirth);   void WINAPI ...
by richard-service
Tue Aug 17, 2021 3:45 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: C into PRG problem-RESOLVED
Replies: 6
Views: 691

problemas al linkear

Hola. usando harbour y Fwh la ultima. Me arroja estos errores: [1]:iLink32.Exe -Gn -q -aa -Tpe -x @testMaria.bcl Error: Unresolved external 'WinMain' referenced from X:\HARB\BCC7\LIB\C0W32.OBJ Error: Unresolved external '_hb_vmProcessSymbols' referenced from X:\PROYECTOS\TEST\MARIA\OBJ\MARIA.OBJ Err...
by goosfancito
Thu Feb 04, 2021 9:56 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: problemas al linkear
Replies: 6
Views: 439

Re: Elixir Cross Referencer on Harbour

I am trying to set elixir on http://www.fivetechsoft.com/elixir Here you can check it ( work in progress ) https://www.fivetechsoft.com/elixir/web.py?linux/before-basedir-strip/source/harbour https://www.fivetechsoft.com/elixir/web.py?linux/before-basedir-strip/ident/...
by Antonio Linares
Fri Feb 01, 2019 10:45 am
 
Forum: Utilities / Utilidades
Topic: Elixir Cross Referencer on Harbour
Replies: 2
Views: 1114

Re: How to access a scanner via TWAIN.

Estoy tratando de utilizar este dll con múltiples paginas y para escribir yo: oScan:SetMultiTransfer(1) // Opción para escanear varias páginas Pero está trabando el equipo cuando vacía la bandeja Me di cuenta de que está bloqueando el equipo cuando se ejecuta: nDib := (oScan: AcquireToFile (cFilesca...
by jfaguiar
Tue Aug 01, 2017 11:00 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to access a scanner via TWAIN.
Replies: 24
Views: 5144

Canal5 Calendar

All, I've been using Canal5 calendar for years. Using xharbour commercial and just upgraded to last fwh. Everything compiles fine. I can call up he calendar however, as soon as I move the mouse over the calendar control it crashes. I have all the source, 4 .prg's and one .c file. I'm not a C program...
by Randal
Mon Feb 13, 2017 6:09 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Canal5 Calendar
Replies: 15
Views: 5697

Compilar con Harbour

Saludos foros Que diferencia existe entre compilar con este codigo { MYSQL *mysql = ( MYSQL *) _parnl( 1 ); _retl( !mysql_real_query( mysql, "Rollback", 8 ) ); } Y el mismo de esta forma { int iret = 1; MYSQL * hMysql = ( MYSQL * )hb_MYSQL_par( 1 ); if( hMysql ) iret = ( int )mysql_rollbac...
by Compuin
Fri Jun 17, 2016 2:51 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Compilar con Harbour
Replies: 0
Views: 468

New function For check email

Hello Now verify the e-mail before saving in the database. function returns zero if the mail is wrong or if one is true. ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ // check email // check_em.prg #include "FiveWin.ch" func main() local e_mail_ok="LIVESYSTEM_NET@HOTMAIL.CO...
by HATHAL
Fri Mar 18, 2016 4:52 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: New function For check email
Replies: 3
Views: 756

Re: Borland7 versus VisualStudio

DLL32 FUNCTION GetBinaryType( cFile AS LPSTR, @ nType AS DWORD ) AS LONG PASCAL FROM "GetBinaryTypeA" LIB "Kernel32.dll" Desconocía que se pudieran poner variables pasadas por referencia en el wrapeado de funciones de una DLL. Esto me ha funciona perfectamente :mrgreen: :D De he...
by JmGarcia
Thu Mar 17, 2016 2:56 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Borland7 versus VisualStudio
Replies: 35
Views: 9364

Re: Declarar função DLL - SOLUCIONADO

nPonteiro := DLLCall(s_nDllHandle, 32, "AtivarSAT", nNumeroSessao, nSubComando, cCodigoDeAtivacao, cCNPJ, nUF ) cRetorno := SAT_RetornaCodificacaoCorreta( HB_Pointer2String( nPonteiro, RetornaTamanhoBuffer( nPonteiro ) ) ) #pragma BEGINDUMP #include <windows.h> #include "hbapi.h...
by MGA
Wed Mar 09, 2016 12:44 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Declarar função DLL - SOLUCIONADO
Replies: 2
Views: 675

Re: How to combine (or use) SDK dll into Fivewin HB/XHB?

Anyway I mus say that do hb_retptr and hb_retni/hb_retnl/hb_retnll is not the same ............. so we can not substute hb_parn*/hb_retn* with hb_parptr/hb_retptr because they are 2 different things I agree with you. In the case of pointers we need to use hb_parptr() and hb_retptr() and in case of ...
by nageswaragunupudi
Mon Jul 06, 2015 9:00 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to combine (or use) SDK dll into Fivewin HB/XHB?
Replies: 36
Views: 8212
Next

Return to advanced search