topic
stringlengths
1
63
text
stringlengths
1
577k
!! YA TENGO COMUNICACION POR EL COM ¡¡
BUEN DIA A TODOS YA TENGO COMUNICACION COM EL "COM1"... LO UNICO QUE HACE FALTA ES COMO ENVIAR DATOS... YO LO HAGO ASI... PERO NO ME MANDA NADA... <!-- s:oops: --><img src="{SMILIES_PATH}/icon_redface.gif" alt=":oops:" title="Embarassed" /><!-- s:oops: --> OUTBUFCLR() SETDTR(.T.) cmens1:="hola............................"+chr(13) OUTCHR(@CMENS1) OUTCHR("U") Y NO ME EVIA NADA Y LO ESTOY HACIENDO CON IOLIB ALGUIEN ME PODRIA AYUDAR....
!! YA TENGO COMUNICACION POR EL COM ¡¡
Revisa el ejemplo samples\phone.prg
!! AYUDA URGENTE EN APLICACION WE... ¡¡¡
HOLA A TODOS .... TENGO UN PEQUENO PROBLEMA ESTOY HACIENDO UNA APLICACION WE... Y MI DUDA ES QUE NO SE COMO RECIBIR LOS PARAMTROS DE UN HREF EN OTRO ARCHVIO TAL COMO ESTO <!-- s:oops: --><img src="{SMILIES_PATH}/icon_redface.gif" alt=":oops:" title="Embarassed" /><!-- s:oops: --> ESTO ES LO QUE ENVIO TAMBIEN NO SE SI ESTA BIEN.... oOutFile:say(nContador++,0,"<TD align=right><font face='Verdana' size =1 >"+'<a href=/cgi-win/tpostatu.exe?'+ncambio+'>'+(csuc)+'</A>'+"</font> </TD>") Y CUANDO LLEGAN AL OTRO ARCHIVO FUNCTION Main(cArch) LOCAL oIni := TIni():New(cArch) LOCAL cOutFile := oIni:Get("System","Output File") // obtenemos el nombre del archivo de salida LOCAL cInpFile := oIni:Get("System","Content File") // obtenemos el nombre del archivo d entrada LOCAL oOutFile := TDosPRN():New(cOutFile) // no podemos utilizar la impresora, asi que utilizamos la clase TDOSPRN LOS RECIBO ASI.. PERO NO SE COMO OBTENER EL VALOR DE LAS VARIABLES... ESPERO Y ME PUEDAN AYUDAR... GRACIAS
!! AYUDA URGENTE EN APLICACION WE... ¡¡¡
la cadena que estas enviando esta mal Tendira que ser "/cgi-win/tpostatu.exe?variable="+nCambio y del otro lado, en el archivo .INI hay una seccion llamada [Form Literal] donde encontraras algo asi: [From Literal] variable=valor Eso si lo mandaste por el metodo post, si lo enviaste por el metodo GET entonces busca en la seccion [CGI] el valor Query String, seria algo como esto: [CGI] ... ... ... Query String = variable=valor&otravariable=otrovalor
!! AYUDA URGENTE EN APLICACION WE... ¡¡¡
<!-- s:oops: --><img src="{SMILIES_PATH}/icon_redface.gif" alt=":oops:" title="Embarassed" /><!-- s:oops: --> DONDE YO OBTENGO LAS VARIBLES ESTA DE ESTA FORMA PERO NI AL CASO NADAMAS NADA.... ME PODRIAS AYUDAR..... FUNCTION Main(cArch) LOCAL oIni := TIni():New(cArch) LOCAL cOutFile := oIni:Get("System","Output File") // obtenemos el nombre del archivo de salida LOCAL cInpFile := oIni:Get("System","Query String") // obtenemos el nombre del archivo d entrada LOCAL oOutFile := TDosPRN():New(cOutFile) // no podemos utilizar la impresora, asi que utilizamos la clase TDOSPRN LOCAL nContador := 0 // para las lineas del archivo de salida LOCAL aVars /* tomamos variables del documento htm */ aVars := SacaVars(cInpFile) ?len(Avars) ?cInpFile SE SUPONE QUE AQUI VENDRIAN LOS VALORES DE LAS VARIBLES O NO.. OK <!-- s:lol: --><img src="{SMILIES_PATH}/icon_lol.gif" alt=":lol:" title="Laughing" /><!-- s:lol: --> MUCHAS GRACIAS...[b:1zq491y9][/b:1zq491y9]
!! AYUDA URGENTE EN APLICACION WE... ¡¡¡
ya quedo... ESTA LISTO ESTO PARA COSINARSE.................. LO UNICO QUE MERESTA ES COMO PASAR MAS DE UN VARIABLE... ALGUIEN ME PODRI AYUDAR.... oOutFile:say(nContador++,0,"<TD align=right><font face='Verdana' size =1 >"+'<a href="'+ndirser+'"?arch='+ncambio+'>'+(nsuc)+'</A>'+"</font></TD>") CON ESTO SI DUNCIONA PERO NADAMAS ME PUEDE ENVIAR UNA VARIABLE.....
!! AYUDA URGENTE EN APLICACION WE... ¡¡¡
La cadena URL Encodede es: archivo.exe?variable=valor&otravariable=otrovalor&otramas=otrovalormas Separa cada valor por un & ylisto Por cierto, tu codigo tiene cierta similitud con un codigo que yo escribi hace algunos años, del que supongo debes estar tomando como ejemplo.
!!!! Como crear indices ¡¡¡¡
BUENAS A TODOS.... DE NUEVO MOLESTANDO Y A SU VES SOLICITANDO SU AYUDA... ALGUIEN ME PODRIA AYUDAR PARA PODER CREAR INDICES EN LA POCKET... LOQ UE PASA QUE QUIERO CREAR INDICES CDX Y NO FUNCIONA COMO EN FIVEWIN NORMAL.... COMO HE CREADO INDICES ES DE ESTA FORMA... #include "FiveWin.ch" #define TAB Chr(9) STATIC BASES STATIC CONF STATIC nIndices:=1,nTot:=0,nTreg:=0 STATIC oSay,oSay1 STATIC nArch:=0 //----------------------------------------------------------------------------// function MAIN() SET _3DLOOK ON CLOSE ALL indexa() return nil //---------------------------------------------------------------------------// STATIC fUNCTION pide_acceso() local caac := "caacay" local oEntrada,oCve local cClave local paso:=.f., okacerto:=.f. return .T. //---------------------------------------------------------------------------// static function indexa() local oAvance,oMeter,oMeter1,oBtnok local nPos,nActual local lEnd:=.f. DEFINE DIALOG oAvance RESOURCE "indices" REDEFINE SAY oSay ID 132 OF oAvance UPDATE REDEFINE SAY oSay1 ID 133 OF oAvance UPDATE REDEFINE METER oMeter VAR nactual ID 130 OF oAvance ; PROMPT " " ; COLORS CLR_HGRAY, CLR_YELLOW ; BARCOLOR CLR_HBLUE, CLR_YELLOW UPDATE REDEFINE METER oMeter1 VAR nPos ID 131 OF oAvance ; PROMPT " " ; COLORS CLR_HGRAY, CLR_YELLOW ; BARCOLOR CLR_HBLUE, CLR_YELLOW UPDATE REDEFINE BUTTON oBtnok ID 113 OF oAvance UPDATE oAvance:Bstart:= {||INdices(oMeter,oMeter1),oAvance:end()} ACTIVATE DIALOG oAvance CENTERED oAvance:end() return nil //----------------------------------------------------------------------------------// static Function Indices(oMeter,oMeter1) nIndices=7 ferase(bases+'\'+'*.cdx') //borra todos los cdx genera_index(oMeter,oMeter1,"BASE0001","->ART" ,"bask1001") genera_index(oMeter,oMeter1,"BASE0001","->NOMAR" ,"bask1002") genera_index(oMeter,oMeter1,"BASE0001","->PROV" ,"bask5001") genera_index(oMeter,oMeter1,"clientes","->clave" ,"kcliente") genera_index(oMeter,oMeter1,"clientes","->nombre" ,"kclient1") genera_index(oMeter,oMeter1,"clientes","->rfc" ,"kclient2") genera_index(oMeter,oMeter1,"clientes","->no_cli" ,"kclient3") /*Genera_index(oMeter,oMeter1,"caja02","->(alltrim(num_cajero))","ind_caja1") Genera_index(oMeter,oMeter1,"clientes","->(alltrim(Clave))" ,"ind_clien1") Genera_index(oMeter,oMeter1,"clientes","->Nombre","ind_clien2") Genera_index(oMeter,oMeter1,"detaptos","->(alltrim(Cvecliente))","ind_deta1") Genera_index(oMeter,oMeter1,"detaptos","->(alltrim(proveedor))" ,"ind_deta2") Genera_index(oMeter,oMeter1,"detaptos","->(alltrim(cvecliente)+alltrim(proveedor))" ,"ind_deta3")*/ // Genera_index(oMeter,oMeter1,"TEMPORAL","->(alltrim(proveedor))" ,"ind_TEM01") //Genera_index(oMeter,oMeter1,"provpar","->(alltrim(prov))" ,"ind_prov1") Alert('Generaci¢n de indices Exitosa') return nil //----------------------------------------------------------------------------------// static function Genera_index(oMeter, oMeter1,base,campo,indice) local cExpr local sw:=.t. nAvance:=0 nArch++ do while sw use &base IF NETERR() MSGBEEP();MSGBEEP();MSGBEEP() ALERT('!CUIDADO! Algun Usuario esta ocupando el archivo '+base) sw:=.t. else sw:=.f. endif enddo cExpr := base+campo oSay :SetText("Archivo: "+BASE+' /'+indice+'.cdx'+' Reg: '+alltrim(str(lastrec()))) oSay1:Settext(alltrim(str(nArch))+'/ '+alltrim(str(nIndices))) oMeter :nTotal:= LASTREC() oMeter1:nTotal:= LASTREC()*nIndices index on &cexpr TAG &indice TO &BASE; EVAL (oMeter:SET(nAvance+RECNO()),oMeter1:SET(++nTreg),SYSREFRESH(),.T.) CLOSE &BASE return nil //----------------------------------------------------------------------------// INIT PROCEDURE Primero REQUEST DBFCDX RDDSETDEFAULT("DBFCDX") RETURN //----------------------------------------------------------------------------// PERO YA EN LA POCKET NO FUNCIONA...BUENO CON ALGUNA MODIFICACIONES CLARO... ESPERO Y ME PUEDAN AYUDAR...........
!!!! Como crear indices ¡¡¡¡
REQUEST DBFCDX ... USE ( CurDir() + "\Customer" ) VIA "DBFCDX" INDEX ON Customer->Last TO ( CurDir() + "\LAST" ) Customer->( OrdSetFocus( "LAST" ) ) Customer->( DbGoTop() )
!!!! Como crear indices ¡¡¡¡
<!-- s8) --><img src="{SMILIES_PATH}/icon_cool.gif" alt="8)" title="Cool" /><!-- s8) --> OYE ANTONIO ME MARCA UN ERROR ..... Y NO PUEDO HACER UNA FUNCION UNICAMENTE PARA INDEXAR.. EL ERROR ES EL SIGUIENTE... EN LA BARRA DE TIDULO DICE.. <!-- s:oops: --><img src="{SMILIES_PATH}/icon_redface.gif" alt=":oops:" title="Embarassed" /><!-- s:oops: --> NOT IMPLEMENTED YET EN EL ERRO.. <!-- s:oops: --><img src="{SMILIES_PATH}/icon_redface.gif" alt=":oops:" title="Embarassed" /><!-- s:oops: --> GetNUmbetOfConsoleInputEvents( ) oye no puedo meter varios indices en el mismo archivo.... es decir index on base0001->art TO (CurDir() +"\bases\base0001") index on base0001->nomar TO (CurDir() +"\bases\base0001") index on base0001->fecha TO (CurDir() +"\bases\base0001") o como hago este procedimiento
!!!! Como crear indices ¡¡¡¡
Estás usando Inkey() en alguna parte ? Recuerda que en FWPPC los Meter no están implementados. Tienes que usar los PROGRESS bar. Revisa samples\TestProg.prg Para indexar por distintos campos, usa TAGs: index on base0001->art TAG "art" TO (CurDir() +"\bases\base0001") index on base0001->nomar TAG "nomar" TO (CurDir() +"\bases\base0001") index on base0001->fecha TAG "fecha" TO (CurDir() +"\bases\base0001")
!!BOTON TRANSPARENTE...
Hola foro, otra vez... <!-- s:roll: --><img src="{SMILIES_PATH}/icon_rolleyes.gif" alt=":roll:" title="Rolling Eyes" /><!-- s:roll: --> Otra pregunta de examen... Se puede asignar una zona de una ventana o dialogo como si fuera un BOTON pero que no se vea como tal, y que acciones sobre un bitmap por ejemplo y puedas realizar una accion determinada?... <!-- s:wink: --><img src="{SMILIES_PATH}/icon_wink.gif" alt=":wink:" title="Wink" /><!-- s:wink: --> GRACIAS.
!!BOTON TRANSPARENTE...
Juan, Tienes que controlar el codeblock bLClicked como se muestra en este ejemplo. El area sería de 40 x 20 pixeles: [code:gasdr65t] oBmp&#58;bLClicked = &#123; | nRow, nCol | CompruebaArea&#40; nRow, nCol &#41; &#125; &#46;&#46;&#46; function CompruebaArea&#40; nRow, nCol &#41; if nRow > 10 &#46;and&#46; nRow < 30 &#46;and&#46; nCol > 10 &#46;and&#46; nCol < 50 MsgInfo&#40; "Click!" &#41; endif return nil [/code:gasdr65t]
!!BOTON TRANSPARENTE...
Antonio, funciona correctamente. <!-- s:? --><img src="{SMILIES_PATH}/icon_confused.gif" alt=":?" title="Confused" /><!-- s:? --> Gracias
!AYUDA!..Stored procedures SQL 2000 con FWH 8.10
Saludos a Todos En verdad agradeceria muchisimo que alguien me pueda ayudar con mi petición como mencione en un mensaje anterior ya llevo varios dias intentando entrar en el mundo de SQl con FWH8.10(me alegra tenerlo) y xharbour necesito cargar el resultado obtenido desde un store procedure(MS SQL 2000) en un recordset, he navegado tratando de encontrar la forma de hacerlo y aun no logro lo que deseo. la parte en concreto es la siguiente: // ---- Conexion al SQL ------- oConnection := TOleAuto():New( "ADODB.Connection" ) TRY oConnection:Open("Provider=SQLOLEDB.1;Password=;Persist Security Info=False;User ID=Martin;Initial Catalog=APPLOCAL;Data Source=PERLIM_SYS_LCH") CATCH oErr MsgAlert( "Error de CONEXION con la Base de Datos..." ) FreeLibrary(hRec) RETURN nil END TRY oRs := TOleAuto():New( "ADODB.Recordset" ) oRs:CursorType := adOpenDynamic oRs:CursorLocation := adUseClient oRs:LockType := adLockOptimistic oCmd:= TOleAuto():New( "ADODB.Command" ) oCmd:CommandType := adCmdStoredProc oCmd:CommandText:= "sp_Menu" oCmd:Activeconnection:=oConnection oRs:Open(oCmd:Execute()) MsgAlert(oRs:RecordCount()) y el resultado que me muestra la ultima linea es (-1) con lo cual concluyo que el store no se ejecuta, el store sp_Menu es algo simple y es como sigue: CREATE PROCEDURE sp_Menu AS SELECT * FROM MLC00 ORDER BY CNIV, COPC GO Estare a la espera de una idea sobre mi error a la hora de realizar la ejecución del comando ó si alguien ya trabajo este tema que me pueda orientar con algun ejemplo operativo !Muchas gracias a Todos! Saludos Luis
!Ayuda! recordset.BookMark
#include "Ado.ch" Saludos a Todos Espero que no este siendo pesado con este tema pero la verdad estoy plantado por ello y no tengo opcion a seguir he leido temas de Ado, buscado temas en este forum y aun nada, en la linea msgalert(oRs:Supports( adBookmark )) se devuelve omo resultado .F. (quiere decir que mi recordset no acepta bookmark) y no se el porque, estoy conectado a una base MS SQL 2000 y utilizo FWH 8.10 con xHarbour En verdad agradecere me apoyen en este tema Saludos Luis FUNCTION MainCmd() LOCAL oConexionAdo := TOLEAUTO():New("adodb.connection") LOCAL oComando := TOLEAUTO():New("adodb.command") LOCAL oRecordset , reg1 LOCAL aDatos := {} oConexionAdo:Open("Provider=SQLOLEDB.1;Password=;Persist Security Info=False;User ID=Martin;Initial Catalog=APPLOCAL;Data Source=PERLIM_SYS_LCH") oComando:ActiveConnection(oConexionAdo) oComando:CommandType:= 4 oComando:CommandText := "sp_Menu" oRs := TOleAuto():New( "ADODB.Recordset" ) oRs:CursorType := adOpenKeyset oRs:CursorLocation := adUseClient oRs:LockType := adLockOptimistic oRs:Open(oComando:Execute()) msgalert(oRs:Supports( adBookmark )) ---> Devuelve .F. DO WHILE .NOT. oRs:Eof() AADD(aDatos,oRs:Fields(0):value) oRs:MoveNext() ENDDO MsgList(aDatos) RETURN (.T.)
!Ayuda!...class:'BLOCK' has no exported method refresh()
Hola soy otro 'nuevo' en todo esto, y muchos años sin programar en CLIPPER, me esta costando mucho... <!-- s:shock: --><img src="{SMILIES_PATH}/icon_eek.gif" alt=":shock:" title="Shocked" /><!-- s:shock: --> La cabeza juega malas pasadas... Un saludo a toda la gente del foro, por aqui hay mucho nivel... me impresiona. Dejando los saludos... Estoy tomando como ejemplo CLIENTS para hacer mi aplicacion y me encuentro con muchos problemas uno de ellos es este error en la funcion REFRESH() para el repintado de un listbox. Lo que intento hacer es cambiar mediante un par de botones radio el acceso por codigo de cliente o nombre, pero me da el error que os remito en la cabezera. Si puedo solucionar esto tengo mas cositas para arreglar... Ante todo muchas gracias. <!-- s:o --><img src="{SMILIES_PATH}/icon_surprised.gif" alt=":o" title="Surprised" /><!-- s:o --> /* Programa := Zpda.prg Autor := Juan Zapata Fecha := 19/07/2006 Descripcion := Aplicacion para comerciales de autoventa y reparaciones. */ #include "FWCE.ch" #DEFINE DBF_LON 10 #DEFINE DBF_CLIENTES 1 #DEFINE DBF_ARTICULOS 1 #DEFINE DBF_FAMILIAS 1 STATIC OWND, CTEXTO *-------------- FUNCTION Main() *-------------- LOCAL OBMP CONFIG() ABRIR_FICHEROS() DEFINE BITMAP OBMP NAME 'SUMASOL' DEFINE WINDOW OWND TITLE "Z MAXPOWER PDA" ACTIVATE WINDOW OWND; ON PAINT OWND:SAYBITMAP (0,0,OBMP); ON INIT CONTROL() DBCLOSEALL() OBMP:END() RETURN 0 *----------------------- FUNCTION Config() *----------------------- HB_LANGSELECT( "ESWIN" ) SET DELETED ON SET DATE TO ITALIAN SET SOFTSEEK ON SET CENTURY ON SET EPOCH TO 2000 Hb_LangSelect ('PL') Hb_SetCodePage ('PLWIN') RETURN NIL *----------------------- FUNCTION CONTROL() *----------------------- LOCAL ODUMMY @ 0,0 BTNBMP NAME "EXIT" SIZE 40,40 OF OWND; ACTION IF(MSGYESNO('Desea salir ?', 'Sistema'), OWND:END(),) @ 0,40 BTNBMP NAME "CLIENT" SIZE 40,40 OF OWND; ACTION SEL_CLIENT() @ 0,200 BTNBMP NAME "INFO" SIZE 40,40 OF OWND @ 0,0 BTNBMP ODUMMY NAME "" SIZE 240,40 OF OWND ODUMMY:DISABLE() RETURN NIL *--------------------------- FUNCTION SEL_CLIENT() *--------------------------- LOCAL ODLG, OFONT, OTBR, OGET1, orad SELECT CLIENTES SET FILTER TO SET ORDER TO 1 HIDEKEYBOARD() DEFINE FONT OFONT NAME 'ARIAL' SIZE 0, -10 DEFINE DIALOG ODLG RESOURCE "SELEC_CLI" REDEFINE LISTBOX Otbr FIELDS CLIENTES->CCODCLI, CLIENTES->CNOMCLI, CLIENTES->CPOBCLI, CLIENTES->CTFO1CLI, CLIENTES->CTFO2CLI; HEADERS "CODIGO", "NOMBRE","POBLACION","TELEFONO 1", "TELEFONO 2"; COLSIZES 50,180,140,100,100; ID 130 OF ODLG OTBR:={|| (NRECNO := CLIENTES->(RECNO() ),; ODLG:END())} * OTBR:NCLRPANE := {|| IIF ( CLIENTES->(ORDKEYNO()) % 2 == 0 ,RGB(193,221,255),RGB(221,245,255) )} REDEFINE BUTTON ID 110 OF ODLG ACTION ODLG:END() REDEFINE BUTTON ID 120 OF ODLG; ACTION (NRECNO:=CLIENTES->(RECNO()), ODLG:END()) REDEFINE RADIO ORAD; ON CHANGE ORDEN_BUSQUEDA(orad); ID 140,150 OF ODLG REDEFINE GET OGET1 VAR CTEXTO ID 170 OF ODLG; ON CHANGE LOCALIZA() ORDEN_BUSQUEDA(orad, OTBR) ACTIVATE DIALOG ODLG CENTERED RETURN NRECNO *--------------------------- FUNCTION ORDEN_BUSQUEDA(orad, OTBR) *--------------------------- * COMPROBANDO RADIO BOTON Y ASIGNANDO BUSQUEDA INDEXADA A CLIENTES***** IF ORAD=1 SELECT CLIENTES SET ORDER TO 1 GO TOP OTBR:REFRESH() ENDIF IF ORAD=2 SELECT CLIENTES SET ORDER TO 2 GO TOP OTBR:REFRESH() ENDIF RETURN NIl *--------------------------- FUNCTION LOCALIZA() *--------------------------- SELECT CLIENTES SET ORDER TO 2 DBSEEK (CTEXTO) OTBR:refresh() RETURN NIL *--------------------------- FUNCTION ABRIR_FICHEROS *--------------------------- IF .NOT. USED("CLIENTES") USE (CURDIR()+"\CLIENTES.DBF") NEW ENDIF INDEX ON CLIENTES->CCODCLI TO("CLIENTES.CDX") INDEX ON CLIENTES->CNOMCLI TO ("CLIENTES.CDX") RETURN NIL
!Ayuda!...class:'BLOCK' has no exported method refresh()
Hoja jhony: Echando un vistazo previo a tu código, me parece que el problema viene por la siguiente línea: OTBR:={|| (NRECNO := CLIENTES->(RECNO() ),; ODLG:END())} Ten en cuenta que la variable que usas en el redefine la estas machacando con esta. Si creo que estas haciendo lo que me imagino, cambia la línea por esta otra: oTbr:bChange:={||(nrecno:=clientes->(recno()))} si quieres, añade tambien el odlg:end(), pero no lo he puesto porque no se exactamente porque quiere cerrar el dialogo.
!Ayuda!...class:'BLOCK' has no exported method refresh()
<!-- s:lol: --><img src="{SMILIES_PATH}/icon_lol.gif" alt=":lol:" title="Laughing" /><!-- s:lol: --> Joder! Muchas gracias Mike, tantas horas y era una linea... Bueno, otras veces ha sido por una sola palabra... Me quedan muchas horas de calentamientos de cabeza pero con gente como vosotros... da gusto. Un saludo Mike. Ahh!! ya que estoy, la linea de codigo que hay a continuacion con esa misma variable (otbr) es un intento de hacer con el listbox un efecto pijama pero tambien me da error por eso la tengo con un asterisco. Tienes idea de que es lo que puede pasar? <!-- s:shock: --><img src="{SMILIES_PATH}/icon_eek.gif" alt=":shock:" title="Shocked" /><!-- s:shock: --> Me contesto yo mismo... Problema resuelto era todo por esa linea de marras del error anterior. Ya funciona <!-- s:P --><img src="{SMILIES_PATH}/icon_razz.gif" alt=":P" title="Razz" /><!-- s:P -->
!RESOLVED! Unresolved external 'AlphaBlend' ( FWH 8.06 )
Dear Antonio and friends!When I try to compile a example into sample directory with FWH 8.06 and xHarbour... this error is returned:[code:20a0yzp4]Compiling&#46;&#46;&#46; xHarbour Compiler build 1&#46;1&#46;0 &#40;SimpLex&#41; &#40;Rev&#46; 6154&#41; Copyright 1999-2008, http&#58;//www&#46;xharbour&#46;org http&#58;//www&#46;harbour-project&#46;org/ Compiling 'testxbr2&#46;prg' and generating preprocessed output to 'testxbr2&#46;ppo'&#46;&#46;&#46; Lines 80, Functions/Procedures 3 Generating C source output to 'testxbr2&#46;c'&#46;&#46;&#46; Done&#46; Borland C++ 5&#46;5&#46;1 for Win32 Copyright &#40;c&#41; 1993, 2000 Borland testxbr2&#46;c&#58; Borland Resource Compiler Version 5&#46;40 Copyright &#40;c&#41; 1990, 1999 Inprise Corporation&#46; All rights reserved&#46; Turbo Incremental Link 5&#46;00 Copyright &#40;c&#41; 1997, 2000 Borland Error&#58; Unresolved external 'AlphaBlend' referenced from H&#58;\FWH8&#46;06\FWH\LIB\FIVEH C&#46;LIB|BRUSHES * There are errors[/code:20a0yzp4]The 'AlphaBlend' method or function is part of FWH 8.06 or not?Thanks to all!
!RESOLVED! Unresolved external 'AlphaBlend' ( FWH 8.06 )
Friends...I have included the lib file "\lib\psdk\msimg32.lib" and this is ok now!
@K"" clausule : Clipper/xharbour <->FWH
Hello, A few days ago i started a thread regarding @K clausule in GET . I made some tests : 1) In clipper/Xharbour it works when a input field receive focus , the cursor will be on the first character A field can become focus with the keyboard (ENTER , TAB) or with the mouse Note that when we click on the second character from a field , first the field receive focus (cursor on the first character) , and we have to click twice to set the cursor on the second character. This means that the field will not be erased when we set the cursor on the first character with the left arrow , or with the mouse when the cursor was in the field. So we can avoid erasing by using left and right arrow before changing the first character Important is also that we can press Ctrl-U to undo the changes from the input , the cursor is set on the first character and the K-clausule will be active again 2) In fwh the K-clausule works only when the input-field has become focus with the keyboard. Moving in the field with arrow or mouse deactivates the k-clausule (as in clipper) , we have no Ctrl-U to use , can only reactivate by leaving and reentering the field It is not clear where we have to look in the FWH-code to change the setfocus method , so that it also works with the mouse. Next method in tget seems to have as goal to reactivate the k-Clausule , but doesn't work : [code=fw:3mfe859t]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00C800;">METHOD</span> GoHome<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #00C800;">CLASS</span> TGet<br />   ::<span style="color: #000000;">oGet</span>:<span style="color: #000000;">Home</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />  <span style="color: #00C800;">if</span> ::<span style="color: #000000;">oGet</span>:<span style="color: #000000;">Type</span> == <span style="color: #ff0000;">"N"</span> .or. <span style="color: #ff0000;">"K"</span> $ upper<span style="color: #000000;">&#40;</span>::<span style="color: #000000;">oGet</span>:<span style="color: #0000ff;">Picture</span><span style="color: #000000;">&#41;</span> <span style="color: #B900B9;">// flag to clear buffer if typing is detected , James Bott</span><br />      ::<span style="color: #000000;">oGet</span>:<span style="color: #000000;">Clear</span> := .t.<br />   <span style="color: #00C800;">endif</span><br />::<span style="color: #000000;">SetPos</span><span style="color: #000000;">&#40;</span> ::<span style="color: #000000;">oGet</span>:<span style="color: #000000;">Pos</span> <span style="color: #000000;">&#41;</span><br /><span style="color: #00C800;">return</span> <span style="color: #00C800;">Self</span><br /> </div>[/code:3mfe859t] Using bKeydown from the get , i have a solution , at least for me , using Ctrl-Home or Ctrl-U to reactivate K-clausule , Ctrl-Del to delete: [code=fw:3mfe859t]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br />oGet:<span style="color: #000000;">bKeyDown</span> := <span style="color: #000000;">&#123;</span>|nKey|IIF<span style="color: #000000;">&#40;</span>GetKeyState<span style="color: #000000;">&#40;</span>VK_CONTROL<span style="color: #000000;">&#41;</span>,<span style="color: #000000;">&#40;</span>IIF<span style="color: #000000;">&#40;</span>nKey==VK_DELETE,WisVeld<span style="color: #000000;">&#40;</span>oGet<span style="color: #000000;">&#41;</span>,;<br />IIF<span style="color: #000000;">&#40;</span>nKey==<span style="color: #000000;">85</span>,GetUndo<span style="color: #000000;">&#40;</span>oGet<span style="color: #000000;">&#41;</span>,IIF<span style="color: #000000;">&#40;</span>nKey==VK_HOME,oGet:<span style="color: #0000ff;">Refresh</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>,<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span>,<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#125;</span><br />PROC WisVeld<span style="color: #000000;">&#40;</span>oGet<span style="color: #000000;">&#41;</span><br />******************<br /><span style="color: #00C800;">LOCAL</span> x<br /><span style="color: #00C800;">IF</span> oGet:<span style="color: #000000;">oGet</span>:<span style="color: #000000;">Type</span>==<span style="color: #ff0000;">"C"</span><br />  x:= SPACE<span style="color: #000000;">&#40;</span>LEN<span style="color: #000000;">&#40;</span>oGet:<span style="color: #000000;">Varget</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><br />ELSEIF oGet:<span style="color: #000000;">oGet</span>:<span style="color: #000000;">Type</span>==<span style="color: #ff0000;">"N"</span><br />  x:= <span style="color: #000000;">0</span><br />ELSEIF oGet:<span style="color: #000000;">oGet</span>:<span style="color: #000000;">Type</span>==<span style="color: #ff0000;">"D"</span><br />  x := CTOD<span style="color: #000000;">&#40;</span><span style="color: #ff0000;">""</span><span style="color: #000000;">&#41;</span><br />END<br />oGet:<span style="color: #000000;">varput</span><span style="color: #000000;">&#40;</span>x<span style="color: #000000;">&#41;</span><br />oGet:<span style="color: #0000ff;">Refresh</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><span style="color: #00C800;">RETURN</span><br />********************************************<br />PROC GetUndo<span style="color: #000000;">&#40;</span>oGet<span style="color: #000000;">&#41;</span><br />******************<br />oGet:<span style="color: #000000;">Varput</span><span style="color: #000000;">&#40;</span>oGet:<span style="color: #000000;">oGet</span>:<span style="color: #000000;">Original</span><span style="color: #000000;">&#41;</span><br />oGet:<span style="color: #0000ff;">Refresh</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><span style="color: #00C800;">RETURN</span><br /> </div>[/code:3mfe859t]
@K"" clausule : Clipper/xharbour <->FWH
Frank, If that code used from bKeyDown works as expected, then we could port it to Method KeyDown() in Class TGet so there is no need to set bKeyDown for it. Do you have a small and self contained example to test this ? thanks
@K"" clausule : Clipper/xharbour <->FWH
[quote="Antonio Linares":3a2liglx]Frank, Do you have a small and self contained example to test this ? thanks[/quote:3a2liglx] Antonio , This code was proposed to activate "@K" clausule (again) in a input field , Giving a input field focus with the mouse. After this thread , i found a solution , see <!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=3&t=17219">viewtopic.php?f=3&t=17219</a><!-- l --> Maybe you can reread the threads, only one change must be made in lButtondown from tget.prg to make "@K" clause to work also with the mouse : [code=fw:3a2liglx]<div class="fw" id="{CB}" style="font-family: monospace;"><br /># ifdef FRANKDEMONT<br />      <span style="color: #00C800;">if</span> ::<span style="color: #000000;">bLClicked</span> != <span style="color: #00C800;">nil</span><br />          Eval<span style="color: #000000;">&#40;</span> ::<span style="color: #000000;">bLClicked</span>, nRow, nCol, nFlags, <span style="color: #00C800;">Self</span> <span style="color: #000000;">&#41;</span><br />      <span style="color: #00C800;">endif</span><br />      <span style="color: #00C800;">IF</span> ::<span style="color: #000000;">nPos</span>==<span style="color: #000000;">1</span> .AND. HB_ISSTRING<span style="color: #000000;">&#40;</span>::<span style="color: #000000;">cPicture</span><span style="color: #000000;">&#41;</span> .AND. <span style="color: #ff0000;">"K"</span> $ upper<span style="color: #000000;">&#40;</span>::<span style="color: #000000;">cPicture</span><span style="color: #000000;">&#41;</span><br />         ::<span style="color: #0000ff;">Refresh</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #B900B9;">// Activates erasing get with first character</span><br />     END<br /># <span style="color: #00C800;">else</span><br />      <span style="color: #00C800;">if</span> ::<span style="color: #000000;">bLClicked</span> != <span style="color: #00C800;">nil</span><br />         Eval<span style="color: #000000;">&#40;</span> ::<span style="color: #000000;">bLClicked</span> <span style="color: #000000;">&#41;</span><br />      <span style="color: #00C800;">endif</span><br /># <span style="color: #00C800;">endif</span><br /> </div>[/code:3a2liglx] There is still a difference with clipper , xharbour or windows(IEXPLORER) , in FW we can with one click go to a character in a inputfield , in the others we need two click. After the first click the cursor is set to the first character. In method keydown i added :[code=fw:3a2liglx]<div class="fw" id="{CB}" style="font-family: monospace;"><br />     # ifdef FRANKDEMONT<br />     <span style="color: #00C800;">if</span> GetKeyState<span style="color: #000000;">&#40;</span> VK_CONTROL <span style="color: #000000;">&#41;</span><br />       <span style="color: #00C800;">DO</span> <span style="color: #00C800;">CASE</span><br />        <span style="color: #00C800;">Case</span> nKey == VK_DELETE<br />           <span style="color: #00C800;">RETURN</span> WisInpVeld<span style="color: #000000;">&#40;</span><span style="color: #00C800;">self</span><span style="color: #000000;">&#41;</span>       <span style="color: #B900B9;">// In TestSplit.prg</span><br />        <span style="color: #00C800;">Case</span> nKey == VK_HOME<br />           ::<span style="color: #000000;">Assign</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />           ::<span style="color: #0000ff;">Refresh</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />           <span style="color: #00C800;">RETURN</span> <span style="color: #000000;">0</span><br />        <span style="color: #00C800;">Case</span> nKey == <span style="color: #000000;">85</span> <span style="color: #B900B9;">// Ctrl-U</span><br />           ::<span style="color: #000000;">Varput</span><span style="color: #000000;">&#40;</span>::<span style="color: #000000;">oGet</span>:<span style="color: #000000;">Original</span><span style="color: #000000;">&#41;</span><br />                       ::<span style="color: #0000ff;">Refresh</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />           <span style="color: #00C800;">RETURN</span> <span style="color: #000000;">0</span><br />                    <span style="color: #00C800;">endcase</span><br />     <span style="color: #00C800;">endif</span><br />     # <span style="color: #00C800;">endif</span><br /> </div>[/code:3a2liglx] This code is more tha a month active without problems Maybe only Ctrl-U is usefull , while we usung it in clipper. To test this, you need only a dialog with two Get's , one with a "@K" clausule , the other without. Frank
ADODB.RecordSet"" active in XBROWSE ?
hi, i do use DBF and "ADODB.RecordSet" with XBROWSE now i can call some Function but they are not the same for DBF and "ADODB.RecordSet" so i need to "detect" which ist running ... how <!-- s:?: --><img src="{SMILIES_PATH}/icon_question.gif" alt=":?:" title="Question" /><!-- s:?: -->
ADODB.RecordSet"" active in XBROWSE ?
[quote:1vqgopgs]so i need to "detect" which ist running ... how <!-- s:?: --><img src="{SMILIES_PATH}/icon_question.gif" alt=":?:" title="Question" /><!-- s:?: --> [/quote:1vqgopgs] [code=fw:1vqgopgs]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">if</span> oBrw:<span style="color: #000000;">nDataType</span> == DATATYPE_RDD<br />&nbsp; &nbsp;<span style="color: #B900B9;">// DBF</span><br />elseif oBrw:<span style="color: #000000;">nDataType</span> == DATATYPE_ADO<br />&nbsp; <span style="color: #B900B9;">// ADO</span><br /><span style="color: #00C800;">else</span><br /><span style="color: #B900B9;">///</span><br /><span style="color: #00C800;">endif</span></div>[/code:1vqgopgs] Please see \include\xbrowse.ch for the DATATYPE_??? defines. Another way: [code=fw:1vqgopgs]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">if</span> !Empty<span style="color: #000000;">&#40;</span> oBrw:<span style="color: #000000;">oRs</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #B900B9;">// ADO</span><br />elseif !Empty<span style="color: #000000;">&#40;</span> oBrw:<span style="color: #000000;">cAlias</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #B900B9;">// DBF</span><br /><span style="color: #00C800;">else</span><br /><span style="color: #B900B9;">////</span><br /><span style="color: #00C800;">endif</span></div>[/code:1vqgopgs]
ADODB.RecordSet"" active in XBROWSE ?
[quote:3e7qh9gz]i can call some Function but they are not the same for DBF and "ADODB.RecordSet" [/quote:3e7qh9gz] I would be glad if you can give some examples. Let us see if xbrowse can help
ADODB.RecordSet"" active in XBROWSE ?
hi, i´m still "play" with XBROWSE, now using ADO for EXCEL too i use sample FiveDBU.PRG and modify all Parts which i use for "Darkmode" i have now 2 x XBROWSE : for DBF or EXCEL (ADO) like FiveDBU i want to "reduce" it to 1 x XBROWSE but my Buttonbar are different ... it is like (Original) DBU that´s why i want to "detect" if DBF or ADO is "active"
ADODB.RecordSet"" active in XBROWSE ?
For information: To set dark theme for xbrowse, create xbrowse normally and then [code=fw:1i891ytf]<div class="fw" id="{CB}" style="font-family: monospace;">oBrw:<span style="color: #000000;">SetDarkTheme</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span></div>[/code:1i891ytf]
ADODB.RecordSet"" active in XBROWSE ?
hi, [quote="nageswaragunupudi":rkwny3du]To set dark theme for xbrowse, create xbrowse normally and then [code=fw:rkwny3du]<div class="fw" id="{CB}" style="font-family: monospace;">oBrw:<span style="color: #000000;">SetDarkTheme</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span></div>[/code:rkwny3du][/quote:rkwny3du] thx for Information. but it is not only XBROWSE where i want to have "Darkmode", it are all DIALOG / WINDOW and CONTROLs
ADODB.RecordSet"" active in XBROWSE ?
Jimmy, always post a small example. Regards, saludos.
ADODB.RecordSet"" active in XBROWSE ?
hi, [quote="karinha":3lxto049]always post a small example. [/quote:3lxto049] it was "just" a Question "IF active" so i have no Sample for it (yet) i have release Sample of "working" ADO with EXCEL but as i want to use 1 x XBROWSE "only" ( for DBF or ADO ) i need to know which "is active"
BCC 6.3"" Released
Hello, The new Borland Compiler version 6.3 is released packed with Embarcadero RAD Studio XE 2011. It is a better Borland family compiler, IMHO. Download and Install Trial Version here: [url:30zpp1v9]http&#58;//www&#46;embarcadero&#46;com/products/rad-studio[/url:30zpp1v9]
BCC 6.3"" Released
Andi, Would you mind to create a ZIP file with just the BCC 6.3 required files ? It may greatly ease the way to test it to many users, thanks
BCC 6.3"" Released
[quote="Antonio Linares":zjmkunif]Andi, Would you mind to create a ZIP file with just the BCC 6.3 required files ? It may greatly ease the way to test it to many users, thanks[/quote:zjmkunif] OK, here it is: [url:zjmkunif]http&#58;//www&#46;mediafire&#46;com/?b71rccdw8vlcl2b[/url:zjmkunif]
BCC 6.3"" Released
As a note, to pacify warnings, you have to modify a line refers to definition of "UNREFERENCED_PARAMETER" to "(void)" in WINNT.H as follows: [code=fw:2u3e1wzo]<div class="fw" id="{CB}" style="font-family: monospace;">#if ! defined<span style="color: #000000;">&#40;</span>lint<span style="color: #000000;">&#41;</span><br /><span style="color: #00D7D7;">#define</span> UNREFERENCED_PARAMETER<span style="color: #000000;">&#40;</span>P<span style="color: #000000;">&#41;</span>          <span style="color: #000000;">&#40;</span>void<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#40;</span>P<span style="color: #000000;">&#41;</span><br /><span style="color: #B900B9;">// #define UNREFERENCED_PARAMETER(P)          (P)</span></div>[/code:2u3e1wzo]
BCC 6.3"" Released
Andi, Thanks!
BCC 6.3"" Released
Andi, Thanks a lot. Toninho.
BCC 6.3"" Released
compilei meu aplicativo com 6.3 e funcionou 100 % [quote:2fqadgl2] \XFONTES\XRETAG\winretag.PRG(3151) Warning W0002 Ambiguous reference, assuming memvar 'I' D:\TOOLS\BCC63\bin\bcc32 -c -tWM -ID:\TOOLS\FWH\include -ID:\TOOLS\HARBOUR\include -ID:\TOOLS\BCC63\include -oobj\winretag obj\winretag.c Embarcadero C++ 6.30 for Win32 Copyright (c) 1993-2010 Embarcadero Technologies, Inc. obj\winretag.c: [/quote:2fqadgl2]
BCC 6.3"" Released
Porque me dara error en uuid.lib, alguien sabe, ya copie la uuid.lib al directorio de las lib pero me da error igual. Gracias Solucionado, me faltaba los archivos de configuracion, inlink32.cfg y bcc32.cfg. Impresionante poder compilar nuevamente todo con una version mas nueva y no tener inconvenientes. Saludos
BCC 6.3"" Released
[quote="Ruben Fernandez":13jo51n5]Porque me dara error en uuid.lib, alguien sabe, ya copie la uuid.lib al directorio de las lib pero me da error igual. Gracias Solucionado, me faltaba los archivos de configuracion, inlink32.cfg y bcc32.cfg. Impresionante poder compilar nuevamente todo con una version mas nueva y no tener inconvenientes. Saludos[/quote:13jo51n5] Ruben, si es version DEMO que restricciones tiene?
BCC 6.3"" Released
William: No tengo idea, ya que la probe para compilar un programa que estoy haciendo para saber que pasaba, y todo fue bien. Saludos
BCC 6.3"" Released
[quote="Ruben Fernandez":39gijy0l]William: No tengo idea, ya que la probe para compilar un programa que estoy haciendo para saber que pasaba, y todo fue bien. Saludos[/quote:39gijy0l] ok, hare mis pruebas. Gracias saludos
BCC 6.3"" Released
I had that error when I used BCC 6.3 . I am using Harbour 1.0.0 Intl. (Rev. 9201) and FiveWin for Harbour 8.06 - Jun. 2008 . TXDATA.C: G:\bcc\bin\bcc32 -M -c -IG:\harbour\include TXDATA.C Embarcadero C++ 6.30 for Win32 Copyright (c) 1993-2010 Embarcadero Technologies, Inc. TXDATA.C: G:\bcc\bin\bcc32 -M -c -IG:\harbour\include AUTORUSE.C Embarcadero C++ 6.30 for Win32 Copyright (c) 1993-2010 Embarcadero Technologies, Inc. AUTORUSE.C: G:\bcc\bin\bcc32 -M -c -IG:\harbour\include D_EXPAND.C Embarcadero C++ 6.30 for Win32 Copyright (c) 1993-2010 Embarcadero Technologies, Inc. D_EXPAND.C: G:\bcc\bin\bcc32 -M -c -IG:\harbour\include CUST.C Embarcadero C++ 6.30 for Win32 Copyright (c) 1993-2010 Embarcadero Technologies, Inc. CUST.C: G:\bcc\bin\bcc32 -M -c -IG:\harbour\include TMAIN.C Embarcadero C++ 6.30 for Win32 Copyright (c) 1993-2010 Embarcadero Technologies, Inc. TMAIN.C: Embarcadero C++ 6.30 for Win32 Copyright (c) 1993-2010 Embarcadero Technologies, Inc. TMAIN.C: Turbo Incremental Link 6.10 Copyright (c) 1997-2010 Embarcadero Technologies, In c. Error: Unresolved external '__rwstd::__rw_stdexcept_NoNamedException' referenced from G:\FWH\LIB\FIVEHC.LIB|ANIGIF Error: Unable to perform link * Application successfully built. 'tmain' is not recognized as an internal or external command, operable program or batch file. G:\programs\clipper\FWH\tdata\sitex>
BCC 6.3"" Released
Hello Ehab, __rwstd::__rw_stdexcept_NoNamedException is C++ exception specific to Borland C++ version 5.5 and no longer exist in the later versions. To resolve the problem, you should recompile all your C files with BCC 6.3.
BCC 6.3"" Released
I noticed an increasing in the EXE size using this new compiler. What is the exact reason? Is there a way to reduce it back? EMG
BCC 6.3"" Released
[quote="Enrico Maria Giordano":3cznffeo]I noticed an increasing in the EXE size using this new compiler. What is the exact reason? Is there a way to reduce it back?[/quote:3cznffeo] You must be comparing with 5.5, else the exe of 6.3 must be smaller that other previous versions as shown below: harbour.exe compiled with different version of BCC: Directory of D:\DEV\bin\55 09/27/2010 06:53 PM 614,912 harbour.exe Directory of D:\DEV\bin\58 09/27/2010 06:53 PM 680,960 harbour.exe Directory of D:\DEV\bin\59 09/27/2010 06:53 PM 683,008 harbour.exe Directory of D:\DEV\bin\61 09/27/2010 06:53 PM 725,504 harbour.exe Directory of D:\DEV\bin\62 09/27/2010 06:54 PM 629,760 harbour.exe Directory of D:\DEV\bin\63 09/27/2010 06:54 PM 627,200 harbour.exe The reason of increasing in application size must be due to that versions newer than 5.5 no longer uses RougueWave [url:3cznffeo]http&#58;//www&#46;roguewave&#46;com/[/url:3cznffeo] runtime. I have no knowledge to decrease the exe size <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
BCC 6.3"" Released
No, using BCC 6.30 I get bigger EXE than BCC 5.82, even with simple pure C samples. EMG
BCC 6.3"" Released
[quote="Enrico Maria Giordano":28jv3wee]No, using BCC 6.30 I get bigger EXE than BCC 5.82, even with simple pure C samples.[/quote:28jv3wee] Enrico, Sorry, I cannot confirm your finding because in my test, the following code: [code=fw:28jv3wee]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #B900B9;">// file test.c</span><br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"stdio.h"</span><br /><br />int main<span style="color: #000000;">&#40;</span>int argc, char *argv<span style="color: #000000;">&#91;</span><span style="color: #000000;">&#93;</span><span style="color: #000000;">&#41;</span><br /><span style="color: #000000;">&#123;</span><br />   printf<span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"Hello World<span style="color: #000000;">\n</span>"</span><span style="color: #000000;">&#41;</span>;<br /><span style="color: #000000;">&#125;</span><br /><span style="color: #B900B9;">// file test.c </span></div>[/code:28jv3wee] Compiled with command line: BCC32 test.c produced exe as follows: Compiled with BCC 5.82: 121,344 test.exe Compiled with BCC 6.3 : 60,928 test.exe
BCC 6.3"" Released
You're right! I retest the C sample and BCC 6.30 produces smaller EXEs than BCC 5.82 in pure C. But still my xHarbour console EXEs and my FWH EXEs are bigger with 6.30 compared with 5.82. Test this, please: [code=fw:15bilfji]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">FUNCTION</span> MAIN<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp; ? <span style="color: #ff0000;">"Hello, World!"</span><br /><br />&nbsp; &nbsp; <span style="color: #00C800;">RETURN</span> <span style="color: #00C800;">NIL</span></div>[/code:15bilfji] EMG
BCC 6.3"" Released
Hi Enrico, Sorry. Still my exe is smaller (by approx 10%): 09/29/2010 03:40 PM 671,744 hello58.exe 09/29/2010 03:40 PM 617,984 hello63.exe Make sure you re-compile ALL your PRG _AND_ C Codes.
BCC 6.3"" Released
[quote="andijahja":18hnzwvn]Hi Enrico, Sorry. Still my exe is smaller (by approx 10%): 09/29/2010 03:40 PM 671,744 hello58.exe 09/29/2010 03:40 PM 617,984 hello63.exe Make sure you re-compile ALL your PRG _AND_ C Codes.[/quote:18hnzwvn] Oops, that was console app compiled with Harbour. O Yes, I confirm the exe of 6.3 compiled with xHarbour is bigger than 5.82 <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
BCC 6.3"" Released
[quote="andijahja":1hek5z6w]O Yes, I confirm the exe of 6.3 compiled with xHarbour is bigger than 5.82 <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->[/quote:1hek5z6w] <!-- s:-( --><img src="{SMILIES_PATH}/icon_sad.gif" alt=":-(" title="Sad" /><!-- s:-( --> Ok, no problem. I'd only want to know the real reason... EMG
BCC 6.3"" Released
I found a bug in TLib of the new BCC 6.30. Building FWH takes forever using the following batch (it works fine if TLib from 5.82 is used): [code=fw:3mpr3w32]<div class="fw" id="{CB}" style="font-family: monospace;">@ ECHO OFF<br /><br />COPY e:\fwharbour\source\<span style="color: #00C800;">function</span>\*.prg<br />COPY e:\fwharbour\source\winapi\*.prg<br />COPY e:\fwharbour\source\classes\*.prg<br /><br />DEL expbuild.prg<br />DEL db10.prg<br />DEL odbc32.prg<br />DEL dbm.prg<br />DEL vbxctrl.prg<br />DEL _index.prg<br />DEL dbms.prg<br />DEL ddeserv.prg<br />DEL field.prg<br />DEL tnewsins.prg<br />DEL c3.prg<br />DEL fwppc.prg<br /><br />SET HARBOURCMD=/a /es1 /gc0 /l /m /n /q /w<br />SET INCLUDE=e:\fwharbour\include;e:\xharbour\include<br /><span style="color: #00C800;">FOR</span> %%i IN <span style="color: #000000;">&#40;</span>*.prg<span style="color: #000000;">&#41;</span> <span style="color: #00C800;">DO</span> e:\xharbour\harbour %%i<br />SET HARBOURCMD=<br />SET INCLUDE=<br /><span style="color: #00C800;">IF</span> EXIST *.prg DEL *.prg<br /><br /><span style="color: #00C800;">FOR</span> %%i IN <span style="color: #000000;">&#40;</span>*.c<span style="color: #000000;">&#41;</span> <span style="color: #00C800;">DO</span> e:\bcc\bin\bcc32 +xharbour.cfg -c %%i<br /><span style="color: #00C800;">IF</span> EXIST *.c DEL *.c<br /><br /><span style="color: #00C800;">FOR</span> %%i IN <span style="color: #000000;">&#40;</span>*.obj<span style="color: #000000;">&#41;</span> <span style="color: #00C800;">DO</span> e:\bccold\bin\tlib Fivehx /P32 /<span style="color: #000000;">0</span> +%%i<br /><span style="color: #00C800;">IF</span> EXIST *.obj DEL *.obj<br /><span style="color: #00C800;">IF</span> EXIST *.bak DEL *.bak<br /><br /><span style="color: #00C800;">IF</span> EXIST fivehx.lib COPY fivehx.lib e:\fwharbour\lib<br /><span style="color: #00C800;">IF</span> EXIST fivehx.lib DEL fivehx.lib</div>[/code:3mpr3w32] XHARBOUR.CFG [code=fw:3mpr3w32]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #000000;">-6</span><br />-a4<br />-DHB_GUI<br />-DHB_INCLUDE_WINEXCHANDLER<br />-DHB_NO_PROFILER<br />-DHB_NO_TRACE<br />-DHB_WIN32_IO<br />-d<br />-g0<br />-Ie:\fwharbour\include;e:\xharbour\include;e:\bcc\include;e:\bcc\include\windows\crtl;e:\bcc\include\windows\sdk;e:\bcc\include\dinkumware<br />-k-<br />-O<br />-O1<br />-O2<br />-OS<br />-Ob<br />-Oc<br />-Ov<br />-v-<br />-W<br />-w</div>[/code:3mpr3w32]
BCC 6.3"" Released
Hi, What are the advantages of this new version in terms of speed and perfomance? Thank you.
BCC 6.3"" Released
Probably nothing that you can see in a "real world" application. But it's still a good idea to keep your compiler updated. EMG
Bug"" in Tcbrowse.ch
At the end from this header-file are a pp-directive from "VALID" ! This directive should be "killed" as this make problems in gets, dialogs, etc. with VALID clause when Tcbrowse are used.
Bug"" in Tcbrowse.ch
Günther,Fixed, thanks! <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
Dibujar"" reportes
Caballeros Ilustres Quisiera me indiquen si existe alguna aplicación "Gratuita" que me permita dibujar reportes o formularios, algo así como se hace con las pantallas en Pelles C. Gracias Luis
Dibujar"" reportes
Prueba a valorar lo siguiente: <!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=3&t=27477#p153158">viewtopic.php?f=3&t=27477#p153158</a><!-- l -->
Dibujar"" reportes
Gracias cnavarro, esta muy pero muy bueno, pero ya me boto un error y no encuentro como solucionarlo, ¿Algún otro?
Dibujar"" reportes
Posiblemente el más popular sea FastReport, pero es comercial
Dibujar"" reportes
Creo que no voy a tener otra alternativa. Gracias Antonio!
Dibujar"" reportes
Hola Mlaffont Ya había dado la causa por perdida, o voy a probar. Gracias !!!
Dibujar"" reportes
Yo estoy utilizando el Repot Manager, se integra muy bien con Fivewin Harbour/xHarbour, lo utilizo tanto para leer archivos Dbf como SQL Server, Report Manager es un producto opensource bajo el modelo MPL(inglés), (se incluye permiso de uso en aplicaciones GPL), por lo que puede usarlo en sus aplicaciones comerciales, pero cualquier mejora introducida en el motor de impresión debe ser publicada bajo esta licencia. te dejo el link: <!-- m --><a class="postlink" href="http://reportman.sourceforge.net/indexes.html">http://reportman.sourceforge.net/indexes.html</a><!-- m -->
Dibujar"" reportes
Nada, no le agarro, ¿podrías darme un ejemplo de como se usa? Gracias
Dibujar"" reportes
Hola, disculpa no vi las repuestas, te dejo mi e-mail, me contactas y vemos algunos ejemplos. Saludos Miguel <!-- e --><a href="mailto:miguel_laffont@hotmail.com">miguel_laffont@hotmail.com</a><!-- e -->
Dibujar"" reportes
Hola Miguel, ¿Podrías compartir algún mini ejemplo o, al menos, sólo el .exe por favor de ese demo?. Así podemos ver qué tal funciona. Gracias.
Digital Persona"" Finger Print Id's Interface?
I have purchased the "Digital Persona" and libraries "Platinum SDK", has anyone made an interface using xharbour? If so I would like to purchase an interface for xharbour with code. Mike S. Buckler
Digital Persona"" Finger Print Id's Interface?
Hello I have a solution for it. Include Hardware and Library file. It's working within MySQL and ADS database. But my hardware factory in the Korea. Regards, Richard
Digital Persona"" Finger Print Id's Interface?
I began to set up some tests with this lib, more the variable ret always this null one, I didn't discover as solving still. <!-- m --><a class="postlink" href="http://www.griaule.com/page/pt-br/downloads">http://www.griaule.com/page/pt-br/downloads</a><!-- m --> #include "FiveWin.ch" STATIC xLib function Main() Local contextId,Ret lChDir("C:\Arquivos de programas\Griaule\GrFinger 4.1 FREE\bin") xLib:=LoadLib32("GrFinger.dll") Ret:=GrInitialize() ? ret contextId:=0 Ret:=GrCreateContext(@contextId) Ret:=GrFinalize() FreeLib32(xLib) RETURN nil ***************************** DLL32 FUNCTION GrInitialize() AS _INT PASCAL LIB xLib DLL32 FUNCTION GrFinalize() AS _INT PASCAL LIB xLib DLL32 FUNCTION GrCreateContext(@contextId As _INT) AS _INT PASCAL LIB xLib
Digital Persona"" Finger Print Id's Interface?
Hello <!-- m --><a class="postlink" href="http://hyperupload.com/download/02bfd94186/FINGERIN.rar.html">http://hyperupload.com/download/02bfd94 ... N.rar.html</a><!-- m --> I attach file include Fingerprint picture and sample code. you can buy Fingerprint package for developer. One small Fingerprint + One Fingerprint LIB file Regards, Richard
Digital Persona"" Finger Print Id's Interface?
Hi Richard Who are the suppliers of this Fingerprint Scanner and LIB?. Can you please provide their URL. Thanks - Ramesh Babu P
Digital Persona"" Finger Print Id's Interface?
Hi RAMESHBABU, That's me. I'm able to offer small Fingerprint hardware, device, CD and LIB file within xHarbour. Regards, Richard Fivetech.net Taiwan
Digital Persona"" Finger Print Id's Interface?
Hi Richard What is the price for "Fingerprint hardware, device, CD and LIB file within xHarbour" including the cost of handling charges to INDIA and what is the mode of Payment ? Regards - Ramesh Babu P
Digital Persona"" Finger Print Id's Interface?
Hi RAMESHBABU, I will EMail to you. Please check your mail box. Regards, Richard Fivetech.net Taiwan
Digital Persona"" Finger Print Id's Interface?
Richard Please, send it to me also. Regards
Digital Persona"" Finger Print Id's Interface?
Hi Manuel, I will EMail to you. Please check your mail box. Regards, Richard Fivetech.net Taiwan
Digital Persona"" Finger Print Id's Interface?
Richard, I would like to know the price too. Plz send it to me.
Digital Persona"" Finger Print Id's Interface?
Richard, I have SONY-FIU-500 and U.ARE.U digital-persona, your LIB work with this readers?. please send me information about this and others readers. Regards Alvaro Urdaneta
Digital Persona"" Finger Print Id's Interface?
CLEMERSON ¿Qué lector estás usando? Please, tell me the brand fingerprint reader. I am have a U. ARE. U Digital Persona. Thanks Fernando
Digital Persona"" Finger Print Id's Interface?
Richard Please, send it to me also. Regards <!-- e --><a href="mailto:clemerson@sysfar.com.br">clemerson@sysfar.com.br</a><!-- e -->
Digital Persona"" Finger Print Id's Interface?
[quote="fleal":39jhkc5v]CLEMERSON ¿Qué lector estás usando? Please, tell me the brand fingerprint reader. I am have a U. ARE. U Digital Persona. Thanks Fernando[/quote:39jhkc5v] Microsoft Figerprint Reader (Usb) model 1033 Clemerson
Digital Persona"" Finger Print Id's Interface?
Hi clemerson, My solution not support any Fingerprint hardware. My LIB file only support my Fingerprint hardware and drvice. It's different of hardware/device. Regards, Richard
Digital Persona"" Finger Print Id's Interface?
I understood, does he have the possibility of me to buy his harware for me to resell for my customers? I am of Brazil. Clemerson
Digital Persona"" Finger Print Id's Interface?
Hi Yes, this hardware support any PC/NB and no problem. Regards, Richard
Digital Persona"" Finger Print Id's Interface?
Richard , send it to me also. thanks Regards
Digital Persona"" Finger Print Id's Interface?
Hello Silvio, I will send Fingerprint information to your private mail. Regards, richard
Digital Persona"" Finger Print Id's Interface?
thanks but you sale YOUr package for many many many money .it is too!!! In italy I have two solution with smal purchase.... Sorry... ..
Digital Persona"" Finger Print Id's Interface?
Hello That's ok. <!-- s:P --><img src="{SMILIES_PATH}/icon_razz.gif" alt=":P" title="Razz" /><!-- s:P --> Regards, Richard
Digital Persona"" Finger Print Id's Interface?
Do you remeber for Dr_cam... ? I found the same ...source code free... Regards,
Digital Persona"" Finger Print Id's Interface?
Hello Silvio, Yes, I know it. But Dr_WebCam be publish very long time ago. First Dr_WebCam, Second webcamcapture Regards, Richard
Digital Persona"" Finger Print Id's Interface?
this is not correct... I want make another sample.... On 1991 a Italian society ( T.C.S.) made a Calendar Class....and the society saled this lib to all world fwuser ( with source) Then the author , on 1992, saw there is another calendar class ( Dr_class) Then the author of T.C.S. modified his class but not release none version to all... perhaps you have pubblish Dr_cal very long time ago. or perhaps the author of Tcs was wrong... This for many other classes... Many persons are usual to modify the copyright of other authors infact I saw my class Tplan ( Tgant32) used from a one person : This person said to me that I could not use my class because same he had recorded on Italian registry an application that used the class. I made anothers class but never I released a version ....
Digital Persona"" Finger Print Id's Interface?
Taiwan, He makes a smaller value of the class for the users Fivewin, I offered to my customers the value that passed me and none had interest, I am using a program that no and integrated into the Fivewin and I am not liking. Clemerson
Digital Persona"" Finger Print Id's Interface?
>First Dr_WebCam, Second webcamcapture But the sample make the same things....setup camera,effect... perhaps there is a same codes ? W OPEN SOURCE
Digital Persona"" Finger Print Id's Interface?
Hello Silvio, I think not same source code, but it same as target. Open source code idea from maker thinking. Regards, Richard
Digital Persona"" Finger Print Id's Interface?
open source and U can sale finger only with assistant if the customer need it !!!!!!!!!!!!! For sample in Italy there is a product in Delphi : you candownload it modified it sale to your customers but you if need assistant You must pay ....
Digital Persona"" Finger Print Id's Interface?
Hello Silvio, Yes, I think so that. My solution will support my customers. Now, I will use WebCam to check Users face for Login my system. Fingerprint was First solution. Now is Face check. Regards, Richard
Digital Persona"" Finger Print Id's Interface?
Buenas Tardes Foro: Recientemente consegui las librerias para manejar censores de lectura de huella digital Verifinger.dll y ScanMan.dll, sin embargo tengo muchas dudas con las llamadas a funciones externas. El siguiente fragmento es el que estoy usando en mi prueba: ----------------------------------------------------------------------------------- .... bioInicia=SMInitialize() MsgInfo(bioInicia,"Inicializo") // Escribe 10813440 y esperaba otra cosa nIndex=SMGetScannerCount() MsgInfo(nIndex,"Conectados") // Escribe 1179648 y esperaba 1 .... DLL32 FUNCTION SMInitialize() AS _INT PASCAL LIB "SCANMAN.DLL" DLL32 FUNCTION SMGetScannerCount() AS _INT PASCAL LIB "SCANMAN.DLL" ----------------------------------------------------------------------------------- Al parecer recibo apuntadores pero ignoro como extraer el contenido de ese apuntador desde FWH. La documenacion define asi las funciones: INT SCANMAN_API SMInitialize(); INT SCANMAN_API SMGetScannerCount(); En fin si alguien esta injteresado en experimentar sobre esas librerias, se las puedo enviar y de paso me podria compartir como puedo poner a funcionar el dichoso sensor. Cordial Saludo, Ricardo
Digital Persona"" Finger Print Id's Interface?
Richardo, Mira a ver como está definido SCANMAN_API. Te recomiendo que uses LONG en vez de _INT.
README.md exists but content is empty. Use the Edit dataset card button to edit it.
Downloads last month
44
Edit dataset card