topic
stringlengths
1
63
text
stringlengths
1
577k
xHb error - does anyone know what this means
Hello, try to Split your resource files in 2 or more.
xHb error - does anyone know what this means
Hello. I don't have resources inside the exe. I use one external DLL. Thanks
xHb error - does anyone know what this means
That was a year ago, and I found an answer ... but can't remember what it was ! I now have everything working fine. Thinking back, I believe I was linking in an extra file that made the build size far too large. I removed that and the build size was OK. If I can locate that I will post what I found
xIMAGE - ADJUST
Estimados Con la clase XIMAGE no ajusta la imagen en las dimensiones dadas [code=fw:1zju70ax]<div class="fw" id="{CB}" style="font-family: monospace;"><br />&nbsp;@<span style="color: #000000;">20</span>,<span style="color: #000000;">178</span> XIMAGE oFoto <span style="color: #0000ff;">OF</span> Vent3 SOURCE oEMPL:<span style="color: #000000;">FOTO</span> <span style="color: #0000ff;">PIXEL</span> <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">58</span>,<span style="color: #000000;">58</span> NOBORDER <span style="color: #0000ff;">ADJUST</span><br />&nbsp;</div>[/code:1zju70ax] Gracias por la ayuda
xIMAGE - ADJUST
You can use one of these methods after defining ximage. oImage:FitRect() oImage:FitWidth() oImage:FitHeight() oImage:Center() oImage:Zoom( n ) One main difference between TBitmap/TImage and TXImage is that in case of TXImage, the aspect ratio is never disturbed. Note: From version 18.02, TBitmap can display all types images that TXImage can display without requiring freeimage.dll
xIMAGE - ADJUST
Perfect I achieved it with TBITMAP Thank you very much Mr. Rao
xImage
Hola buenos días, estoy queriendo guardar en una tabla de mysql en un campo blob una imagen que se encuentra en el control xImage. El usuario puede pegar la imagen en cuestion en ese control, entonces lo que necesito es terminar la sentencia SQL que comparto a continuacion. [code=fw:1yehws5t]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #B900B9;">// El objeto oImage </span><br />....<br />@ <span style="color: #000000;">100</span>,<span style="color: #000000;">100</span> XIMAGE oImage <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">300</span>,<span style="color: #000000;">300</span> <span style="color: #0000ff;">OF</span> oWnd SOURCE <span style="color: #ff0000;">"logo.png"</span> <span style="color: #B900B9;">// NOBORDER</span><br />                oImage:<span style="color: #000000;">lCanPaste</span> := .T.   <span style="color: #B900B9;">// Habilita el copiar y pegar en el controñ</span><br />......<br /><br /><span style="color: #00C800;">FUNCTION</span> Guardar<span style="color: #000000;">&#40;</span>oImage<span style="color: #000000;">&#41;</span><br />         <span style="color: #00C800;">LOCAL</span> cSql<br /><br />         cSql  := SQL;<br />                  INSERT INTO imagenes <span style="color: #000000;">&#40;</span> descripcion, imagen <span style="color: #000000;">&#41;</span>;<br />                  VALUES <span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"prueba desde el sistema"</span>, STRTOHEX<span style="color: #000000;">&#40;</span> oImage <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br />         oCn:<span style="color: #000000;">Execute</span><span style="color: #000000;">&#40;</span> cSql <span style="color: #000000;">&#41;</span><br /><br /><span style="color: #00C800;">RETURN</span> <span style="color: #00C800;">NIL</span><br /> </div>[/code:1yehws5t] Espero haberme explicado, este ejemplo lo tengo funcionando pero desde un archivo que esta en el disco, lo que necesito es tomarlo del mismo objeto. Saludos Marcelo
xImage
If you are using FWH built-in Mariadb library: From XImage control: [code=fw:r09gl091]<div class="fw" id="{CB}" style="font-family: monospace;"><br />oCn:<span style="color: #000000;">Insert</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"imagenes"</span>, <span style="color: #ff0000;">"descripcion,imagen"</span>, <span style="color: #000000;">&#123;</span> <span style="color: #ff0000;">"prueba desde el sistema"</span>, BmpToStr<span style="color: #000000;">&#40;</span> oImage:<span style="color: #000000;">GetHBitmap</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#41;</span><br />&nbsp;</div>[/code:r09gl091] From File on Disk: [code=fw:r09gl091]<div class="fw" id="{CB}" style="font-family: monospace;"><br />oCn:<span style="color: #000000;">Insert</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"imagenes"</span>, <span style="color: #ff0000;">"descripcion,imagen"</span>, <span style="color: #000000;">&#123;</span> <span style="color: #ff0000;">"prueba desde el sistema"</span>, MEMOREAD<span style="color: #000000;">&#40;</span> cImageFile <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#41;</span><br />&nbsp;</div>[/code:r09gl091] If you are using ADO or any other library like Dolphin: From XImage control: [code=fw:r09gl091]<div class="fw" id="{CB}" style="font-family: monospace;"><br />cSql &nbsp;:= SQL;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;INSERT INTO imagenes <span style="color: #000000;">&#40;</span> descripcion, imagen <span style="color: #000000;">&#41;</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;VALUES <span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"prueba desde el sistema"</span>, BmpToStr<span style="color: #000000;">&#40;</span> oImage:<span style="color: #000000;">GetHBitmap</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 />oCn:<span style="color: #000000;">Execute</span><span style="color: #000000;">&#40;</span> cSql <span style="color: #000000;">&#41;</span><br />&nbsp;</div>[/code:r09gl091] From File on Disk: [code=fw:r09gl091]<div class="fw" id="{CB}" style="font-family: monospace;"><br />cSql &nbsp;:= SQL;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;INSERT INTO imagenes <span style="color: #000000;">&#40;</span> descripcion, imagen <span style="color: #000000;">&#41;</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;VALUES <span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"prueba desde el sistema"</span>, MEMOREAD<span style="color: #000000;">&#40;</span> cImageFile <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br />oCn:<span style="color: #000000;">Execute</span><span style="color: #000000;">&#40;</span> cSql <span style="color: #000000;">&#41;</span><br />&nbsp;</div>[/code:r09gl091]
xImage
Mr. RAO muchas gracias por la explicación, probe y me dio un error 2006 MySQL server has gone away, le amplie la memoria en mysql y desaparecio el error pero no me guarda el movimiento en la tabla. [code=fw:sbla0g9w]<div class="fw" id="{CB}" style="font-family: monospace;">oCn:<span style="color: #000000;">Insert</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"imagenes"</span>, <span style="color: #ff0000;">"descripcion,imagen"</span>, <span style="color: #000000;">&#123;</span> <span style="color: #ff0000;">"prueba desde el sistema"</span>, BmpToStr<span style="color: #000000;">&#40;</span> oImage:<span style="color: #000000;">GetHBitmap</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#41;</span></div>[/code:sbla0g9w] no da error tampoco Saludos Marcelo
xImage
First, please try this sample as it is. This sample uses the MySql Demo server provided by FWH. This sample demonstrates inserting directly into the table using oCn:Insert(...) syntax and also inserting into the RowSet using oRs:Append(...), if a RowSet is opened. Please ensure that the blob field is not minblob or mediumblob. largeblob is safer. Creating tables with FWH's oCn:CreateTable(...) is safe and avoids any possible problems in future. [url=https&#58;//imageshack&#46;com/i/plQw8UNVg:1jzpi6rs][img:1jzpi6rs]https&#58;//imagizer&#46;imageshack&#46;com/img921/4594/Qw8UNV&#46;gif[/img:1jzpi6rs][/url:1jzpi6rs] [code=fw:1jzpi6rs]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"fivewin.ch"</span><br /><br /><span style="color: #00C800;">function</span> Main<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br />   <span style="color: #00C800;">local</span> oCn, oRs<br />   <span style="color: #00C800;">local</span> oDlg, oFont, oBold, oImage, oBrw<br /><br />   oCn   := FW_DemoDB<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br />   <span style="color: #00C800;">if</span> !oCn:<span style="color: #000000;">TableExists</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"images"</span> <span style="color: #000000;">&#41;</span><br />      oCn:<span style="color: #000000;">CreateTable</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"images"</span>, <span style="color: #000000;">&#123;</span> <span style="color: #000000;">&#123;</span> <span style="color: #ff0000;">"name"</span>, <span style="color: #ff0000;">"C"</span>, <span style="color: #000000;">20</span>, <span style="color: #000000;">0</span> <span style="color: #000000;">&#125;</span>, <span style="color: #000000;">&#123;</span> <span style="color: #ff0000;">"image"</span>, <span style="color: #ff0000;">"m"</span>, <span style="color: #000000;">10</span>, <span style="color: #000000;">0</span> <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#41;</span><br />   <span style="color: #00C800;">endif</span><br /><br />   oRs   := oCn:<span style="color: #000000;">RowSet</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"images"</span> <span style="color: #000000;">&#41;</span><br /><br />   <span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">FONT</span> oFont <span style="color: #0000ff;">NAME</span> <span style="color: #ff0000;">"TAHOMA"</span> <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">0</span>,<span style="color: #000000;">-14</span><br />   <span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">FONT</span> oBold <span style="color: #0000ff;">NAME</span> <span style="color: #ff0000;">"TAHOMA"</span> <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">0</span>,<span style="color: #000000;">-14</span> BOLD<br /><br />   <span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">DIALOG</span> oDlg <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">900</span>,<span style="color: #000000;">700</span> <span style="color: #0000ff;">PIXEL</span> TRUEPIXEL <span style="color: #0000ff;">FONT</span> oFont<br /><br />   @ <span style="color: #000000;">20</span>, <span style="color: #000000;">20</span> XIMAGE oImage FILE <span style="color: #ff0000;">"c:<span style="color: #000000;">\f</span>wh<span style="color: #000000;">\b</span>itmaps<span style="color: #000000;">\o</span>lga1.jpg"</span> <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">300</span>,<span style="color: #000000;">400</span> <span style="color: #0000ff;">OF</span> oDlg<br />   oImage:<span style="color: #000000;">lCanPaste</span>  := .t.<br /><br />   @ <span style="color: #000000;">20</span>,<span style="color: #000000;">340</span> <span style="color: #0000ff;">XBROWSE</span> oBrw <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">-20</span>,<span style="color: #000000;">-20</span> <span style="color: #0000ff;">PIXEL</span> <span style="color: #0000ff;">OF</span> oDlg ;<br />      DATASOURCE oRs COLUMNS <span style="color: #ff0000;">"ID"</span>, <span style="color: #ff0000;">"NAME"</span>, <span style="color: #ff0000;">"IMAGE"</span> ;<br />      CELL LINES NOBORDER<br /><br />   WITH OBJECT oBrw<br />      :<span style="color: #000000;">lCanPaste</span>        := .t.<br />      :<span style="color: #0000ff;">Image</span>:<span style="color: #000000;">cDataType</span>  := <span style="color: #ff0000;">"P"</span><br />      :<span style="color: #0000ff;">Image</span>:<span style="color: #000000;">nDataBmpAlign</span> := AL_CENTER<br />      :<span style="color: #000000;">nRowHeight</span>       :=  <span style="color: #000000;">100</span><br />      :<span style="color: #000000;">nStretchCol</span>      := <span style="color: #000000;">3</span><br />      <span style="color: #B900B9;">//</span><br />      :<span style="color: #000000;">CreateFromCode</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />   END<br /><br />   @ <span style="color: #000000;">450</span>, <span style="color: #000000;">20</span> <span style="color: #0000ff;">BUTTON</span> <span style="color: #ff0000;">"INSERT IMAGE INTO TABLE"</span> <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">300</span>,<span style="color: #000000;">30</span> <span style="color: #0000ff;">PIXEL</span> <span style="color: #0000ff;">OF</span> oDlg <span style="color: #0000ff;">FONT</span> oBold ;<br />      <span style="color: #0000ff;">ACTION</span> <span style="color: #000000;">&#40;</span> ;<br />      oCn:<span style="color: #000000;">Insert</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"images"</span>, <span style="color: #ff0000;">"name,image"</span>, <span style="color: #000000;">&#123;</span> TIME<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>, BmpToStr<span style="color: #000000;">&#40;</span> oImage:<span style="color: #000000;">GetHBitmap</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#41;</span>, ;<br />      oRs:<span style="color: #000000;">ReQuery</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>, ;<br />      oBrw:<span style="color: #000000;">GoBottom</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>, ;<br />      oBrw:<span style="color: #0000ff;">Refresh</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br /><br />   @ <span style="color: #000000;">500</span>, <span style="color: #000000;">20</span> <span style="color: #0000ff;">BUTTON</span> <span style="color: #ff0000;">"INSERT IMAGE INTO ROWSET"</span> <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">300</span>,<span style="color: #000000;">30</span> <span style="color: #0000ff;">PIXEL</span> <span style="color: #0000ff;">OF</span> oDlg <span style="color: #0000ff;">FONT</span> oBold ;<br />      <span style="color: #0000ff;">ACTION</span> <span style="color: #000000;">&#40;</span> ;<br />      oRs:<span style="color: #000000;">Append</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"name,image"</span>, <span style="color: #000000;">&#123;</span> TIME<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>, BmpToStr<span style="color: #000000;">&#40;</span> oImage:<span style="color: #000000;">GetHBitmap</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#41;</span>, ;<br />      oBrw:<span style="color: #0000ff;">Refresh</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br /><br />   <span style="color: #0000ff;">ACTIVATE</span> <span style="color: #0000ff;">DIALOG</span> oDlg <span style="color: #0000ff;">CENTERED</span><br />   <span style="color: #0000ff;">RELEASE</span> <span style="color: #0000ff;">FONT</span> oFont, oBold<br /><br />   oRs:<span style="color: #000000;">Close</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />   oCn:<span style="color: #000000;">Close</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br /><span style="color: #00C800;">return</span> <span style="color: #00C800;">nil</span><br /><br /><span style="color: #B900B9;">//----------------------------------------------------------------------------//</span><br /> </div>[/code:1jzpi6rs] Step-1: Please copy this sample to \fwh\samples folder. Change image file path "c:\fwh\bitmaps\olga1.jpg" to your fwh path, if necessary. Build with buildh.bat or buildx.bat. Step-2: Change oCn := FW_DemoDB() with your connection to your server and try again. Step-3: Please check for differences between your "imagen" table and this "images" table and the exact code you have used in your program.
xImage
Mr. Rao efectivamente ese ejemplo funciona, lo adapte en forma local y también. La diferencia es que la tabla la había creado a mano no por código. Solo me queda saber como incrustar la foto desde la tabla al control [b:3m6clv1t]xImage[/b:3m6clv1t]. Saludos y gracias por el ejemplo y tomarse el tiempo Marcelo
xImage
ya esta Mr. Rao revisando la clase encontre el metodo SetSource() [code=fw:2kqc9953]<div class="fw" id="{CB}" style="font-family: monospace;">:<span style="color: #000000;">bChange</span> := <span style="color: #000000;">&#123;</span>|| &nbsp;oImage:<span style="color: #000000;">SetSource</span><span style="color: #000000;">&#40;</span> oRs:<span style="color: #0000ff;">IMAGE</span> <span style="color: #000000;">&#41;</span> &nbsp; <span style="color: #000000;">&#125;</span></div>[/code:2kqc9953] Muchas gracias Marcelo
xImage
Mr. Rao Sobre el ejemplo suyo todo bien, pero en mi codigo no se por que no me lo guarda. Adjunto el codigo [code=fw:5j1tta87]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"FiveWin.ch"</span><br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"xbrowse.ch"</span><br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"adodef.ch"</span>    <span style="color: #B900B9;">// IMPORTANT</span><br /><br /><span style="color: #00C800;">STATIC</span> oCn, oRs<br />****************************************************************************<br />*<br /><span style="color: #00C800;">FUNCTION</span> MAIN<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />         <span style="color: #00C800;">LOCAL</span> oWnd, oBar<br /><br />         FWCONNECT oCn HOST <span style="color: #ff0000;">"localhost"</span> USER <span style="color: #ff0000;">"root"</span> PASSWORD <span style="color: #ff0000;">"1234"</span> DB <span style="color: #ff0000;">"fwh"</span><br /><br />         <span style="color: #00C800;">if</span> !oCn:<span style="color: #000000;">TableExists</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"imagenes"</span> <span style="color: #000000;">&#41;</span><br />            oCn:<span style="color: #000000;">CreateTable</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"imagenes"</span>, <span style="color: #000000;">&#123;</span> <span style="color: #000000;">&#123;</span> <span style="color: #ff0000;">"name"</span>,  <span style="color: #ff0000;">"C"</span>, <span style="color: #000000;">20</span>, <span style="color: #000000;">0</span> <span style="color: #000000;">&#125;</span>,;<br />                                           <span style="color: #000000;">&#123;</span> <span style="color: #ff0000;">"foto"</span>,  <span style="color: #ff0000;">"m"</span>, <span style="color: #000000;">10</span>, <span style="color: #000000;">0</span> <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#41;</span><br />         <span style="color: #00C800;">endif</span><br /><br />         oRs   := oCn:<span style="color: #000000;">RowSet</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"imagenes"</span> <span style="color: #000000;">&#41;</span><br /><br />         <span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">WINDOW</span> oWnd<br /><br />            <span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">BUTTONBAR</span> oBar <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">100</span>,<span style="color: #000000;">50</span> <span style="color: #0000ff;">OF</span> oWnd <span style="color: #000000;">2007</span><br /><br />                       <span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">BUTTON</span> <span style="color: #0000ff;">PROMPT</span> <span style="color: #ff0000;">"Fotos"</span> GROUP <span style="color: #0000ff;">OF</span> oBar;<br />                              FILE <span style="color: #ff0000;">"C:<span style="color: #000000;">\F</span>WH<span style="color: #000000;">\B</span>ITMAPS<span style="color: #000000;">\3</span>2x32<span style="color: #000000;">\i</span>mage.bmp"</span>;<br />                      <span style="color: #0000ff;">ACTION</span> DlgImage<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br />                       <span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">BUTTON</span> <span style="color: #0000ff;">PROMPT</span> <span style="color: #ff0000;">"Salir"</span> GROUP <span style="color: #0000ff;">OF</span> oBar;<br />                              FILE <span style="color: #ff0000;">"C:<span style="color: #000000;">\F</span>WH<span style="color: #000000;">\B</span>ITMAPS<span style="color: #000000;">\3</span>2x32<span style="color: #000000;">\q</span>uit.bmp"</span>;<br />                              <span style="color: #0000ff;">ACTION</span> oWnd:<span style="color: #000000;">end</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br />                <span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">MESSAGE</span> BAR <span style="color: #0000ff;">OF</span> oWnd <span style="color: #0000ff;">PROMPT</span> <span style="color: #ff0000;">"xImage DB"</span> <span style="color: #0000ff;">CENTERED</span><br /><br />         <span style="color: #0000ff;">ACTIVATE</span> <span style="color: #0000ff;">WINDOW</span> oWnd <span style="color: #0000ff;">CENTERED</span> <span style="color: #0000ff;">MAXIMIZED</span><br /><br /><span style="color: #00C800;">RETURN</span> <span style="color: #00C800;">NIL</span><br />*<br />****************************************************************************<br />*<br /><span style="color: #00C800;">Function</span> DlgImage<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />         <span style="color: #00C800;">LOCAL</span> oDlg, oBrw, oImage<br /><br />         <span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">DIALOG</span> oDlg <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">1200</span>,<span style="color: #000000;">700</span> <span style="color: #0000ff;">PIXEL</span> TRUEPIXEL<br /><br />                @ <span style="color: #000000;">0</span>,<span style="color: #000000;">0</span> XIMAGE oImage <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">300</span>,<span style="color: #000000;">300</span> <span style="color: #0000ff;">OF</span> oDlg SOURCE <span style="color: #ff0000;">"logoSam.png"</span> <span style="color: #B900B9;">// NOBORDER</span><br />                oImage:<span style="color: #000000;">lCanPaste</span> := .T.<br /><br />                @ <span style="color: #000000;">450</span>, <span style="color: #000000;">20</span> <span style="color: #0000ff;">BUTTON</span> <span style="color: #ff0000;">"Guardar"</span> <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">300</span>,<span style="color: #000000;">30</span> <span style="color: #0000ff;">PIXEL</span> <span style="color: #0000ff;">OF</span> oDlg;<br />                          <span style="color: #0000ff;">ACTION</span> Guardar<span style="color: #000000;">&#40;</span>oImage<span style="color: #000000;">&#41;</span><br /><br />                @ <span style="color: #000000;">0</span>,<span style="color: #000000;">400</span> <span style="color: #0000ff;">XBROWSE</span> oBrw <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">-20</span>,<span style="color: #000000;">-20</span> <span style="color: #0000ff;">PIXEL</span> <span style="color: #0000ff;">OF</span> oDlg;<br />                        DATASOURCE oRs COLUMNS <span style="color: #ff0000;">"id"</span>, <span style="color: #ff0000;">"name"</span>, <span style="color: #ff0000;">"foto"</span>;<br />                        CELL LINES NOBORDER<br /><br />                WITH OBJECT oBrw<br />                     :<span style="color: #000000;">lCanPaste</span>          := .t.<br />                     :<span style="color: #000000;">foto</span>:<span style="color: #000000;">cDataType</span>     := <span style="color: #ff0000;">"P"</span><br />                     :<span style="color: #000000;">foto</span>:<span style="color: #000000;">nDataBmpAlign</span> := AL_CENTER<br />                     :<span style="color: #000000;">nRowHeight</span>         :=  <span style="color: #000000;">100</span><br />                     :<span style="color: #000000;">nStretchCol</span>        := <span style="color: #000000;">3</span><br />                     :<span style="color: #000000;">CreateFromCode</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />                END<br /><br />         <span style="color: #0000ff;">ACTIVATE</span> <span style="color: #0000ff;">DIALOG</span> oDlg <span style="color: #0000ff;">CENTERED</span><br /><br /><span style="color: #00C800;">RETURN</span> <span style="color: #00C800;">NIL</span><br />*<br />****************************************************************************<br />*<br /><span style="color: #00C800;">FUNCTION</span> Guardar<span style="color: #000000;">&#40;</span>oImage<span style="color: #000000;">&#41;</span><br /><br />         oCn:<span style="color: #000000;">Insert</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"imagenes"</span>, <span style="color: #ff0000;">"name,foto"</span>, <span style="color: #000000;">&#123;</span> <span style="color: #ff0000;">"Nombre de la Foto"</span>, BmpToStr<span style="color: #000000;">&#40;</span> oImage:<span style="color: #000000;">GetHBitmap</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#41;</span><br />         oRs:<span style="color: #000000;">ReQuery</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br /><span style="color: #00C800;">RETURN</span> <span style="color: #00C800;">NIL</span><br />*<br />****************************************************************************<br />*</div>[/code:5j1tta87] No logro entender el porque no me funciona Saludos Marcelo
xImage
After oRs:Requery(), add oBrw:GoBottom() oBrw:Refresh()
xImage - problem with < MOVE >
Hello, using a window-style without border, ( extra design ) xImage move doesn't work anymore. Instead the complete window is moved on imagecapture. All other functions are working. [color=#0000FF:3kth13rg] [b:3kth13rg]DEFINE WINDOW oWnd FROM 0,0 TO 850, 600 PIXEL ; STYLE WS_POPUP BRUSH oBrush1 [/color:3kth13rg][/b:3kth13rg] [img:3kth13rg]http&#58;//www&#46;service-fivewin&#46;de/IMAGES/Move9&#46;jpg[/img:3kth13rg] regards Uwe <!-- s:?: --><img src="{SMILIES_PATH}/icon_question.gif" alt=":?:" title="Question" /><!-- s:?: --> <!-- s:?: --><img src="{SMILIES_PATH}/icon_question.gif" alt=":?:" title="Question" /><!-- s:?: -->
xImage - problem with < MOVE >
Yes, actually that is how we programmed. The idea is for the user, we can make it appear that the image itself is moving over the desktop.
xImage - problem with < MOVE >
Mr. Rao, I still have some questions about working on my XImage-editor I can merge now multiple images to 1 output image. It can have any background : brush,selected color or alpha-blended ( transparent ) I can work on each imported image like zoom, rotate, position ... before accepting it as final result Is it possible to add some text as well <!-- s:?: --><img src="{SMILIES_PATH}/icon_question.gif" alt=":?:" title="Question" /><!-- s:?: --> Do I have to keep the normal window.style because of the not working < image-move > and not drawing my own border styled window ( my question from above ) <!-- s:?: --><img src="{SMILIES_PATH}/icon_question.gif" alt=":?:" title="Question" /><!-- s:?: --> [img:v7ami4s4]http&#58;//www&#46;service-fivewin&#46;de/IMAGES/XIMAGE3&#46;jpg[/img:v7ami4s4] regards Uwe <!-- s:?: --><img src="{SMILIES_PATH}/icon_question.gif" alt=":?:" title="Question" /><!-- s:?: --> <!-- s:?: --><img src="{SMILIES_PATH}/icon_question.gif" alt=":?:" title="Question" /><!-- s:?: -->
xImage - problem with < MOVE >
Uwe, I need to merge also serveral images from a loop, no dialog or moving A 500 x 500 pix image could have a image overlay in one of the for corner's or 2 of them.. like you see here : <!-- m --><a class="postlink" href="https://www.maveco-webshop.be/outlet/bovenkleding/">https://www.maveco-webshop.be/outlet/bovenkleding/</a><!-- m --> I would also combine a brand label or a out of stock label .... You have a working option for this?
xImage - problem with < MOVE >
Marc, A practical use of the tool. Is that what You need merging different infos on any position to the main-image and save as new <!-- s:?: --><img src="{SMILIES_PATH}/icon_question.gif" alt=":?:" title="Question" /><!-- s:?: --> It would be perfect to make it possible to add some free text. It is easy to make any combinations. 1. select the main image from the browser -> jpg-directory 2. select and add other needed parts from the png-directory. resize, rotate, zoom .... whatever You need [img:es82d7aq]http&#58;//www&#46;service-fivewin&#46;de/IMAGES/Merge5&#46;jpg[/img:es82d7aq] regards Uwe <!-- s:?: --><img src="{SMILIES_PATH}/icon_question.gif" alt=":?:" title="Question" /><!-- s:?: -->
xImage - problem with < MOVE >
Uwe, The tool is not for this purpose. I've seen somewhere post of Mr. Rao that we can merge images : Img1, img2, img3 and they can be put to 1 imgDone.jpg (so combined) and I will be using this in a do/enddo loop while creating a online import file.
xImage formats
Wich ext support xImage ? I saw of docx,xlsx,pptx and emf,wmf,jpg,jpeg,bmp and on other format ximage can be saved ? I not seen save method on xImage class
xImage formats
[quote="Silvio.Falconi":2yj3qgzs] .../... and on other format ximage can be saved ? I not seen save method on xImage class[/quote:2yj3qgzs] But GDIBmp() Class, yes, have method ::Save() [quote:2yj3qgzs] { "BMP", "JPG", "GIF", "TIF", "PNG" } [/quote:2yj3qgzs]
xImage formats
Sorry But I not understood I ' m using XImage object I have OimagePreview obj where I show the image , how I can save it on other format ?
xImage formats
Look, but it's possible not save with quality 100% in all formats [code=fw:1wc6y5cn]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #B900B9;">//----------------------------------------------------------------------------//</span><br /><br /><span style="color: #00C800;">Function</span> SaveImg<span style="color: #000000;">&#40;</span> oImg <span style="color: #000000;">&#41;</span><br /><br />   <span style="color: #00C800;">local</span> oBmp  := GdiBmp<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>:<span style="color: #00C800;">New</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />   oBmp:<span style="color: #000000;">hBmp</span>   := GDIP_FROMHBITMAP<span style="color: #000000;">&#40;</span> oImg:<span style="color: #000000;">GetHBitmap</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>, oImg:<span style="color: #000000;">aPalBmp</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#93;</span>, .T. <span style="color: #000000;">&#41;</span><br />   ? oBmp:<span style="color: #000000;">Save</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"ejemplo.png"</span> <span style="color: #000000;">&#41;</span><br />   oBmp:<span style="color: #000000;">End</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br /><span style="color: #00C800;">Return</span> <span style="color: #00C800;">nil</span><br /><br /><span style="color: #B900B9;">//----------------------------------------------------------------------------//</span><br /><br /><br /> </div>[/code:1wc6y5cn]
xImage formats
Cris run ok
xImage formats
This is running ok for me [code=fw:1agirnbb]<div class="fw" id="{CB}" style="font-family: monospace;"> &nbsp; hIco &nbsp;:= ICON_EXEREAD<span style="color: #000000;">&#40;</span> cFile, <span style="color: #000000;">4</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;hBmp &nbsp;:= HBMPFROMHICON<span style="color: #000000;">&#40;</span> hIco <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;DestroyIcon<span style="color: #000000;">&#40;</span> hIco <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;oImage:<span style="color: #000000;">SetSource</span><span style="color: #000000;">&#40;</span> hBmp <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;DeleteObject<span style="color: #000000;">&#40;</span> hBmp <span style="color: #000000;">&#41;</span><br />&nbsp;</div>[/code:1agirnbb] The function HBMPFROMHICON() is available in FWH library and this function also is contributed by Mr mastintin
xImage formats
Rao thanks now run ok [img:j4asjicm]https&#58;//s18&#46;postimg&#46;org/posh9mh21/image&#46;png[/img:j4asjicm]
xImage formats
[quote="Silvio.Falconi":1kagtgez]Cris run ok[/quote:1kagtgez] Silvio, please use and try this function better [code=fw:1kagtgez]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br /><span style="color: #B900B9;">//----------------------------------------------------------------------------//</span><br /><br /><span style="color: #00C800;">Function</span> SaveImg<span style="color: #000000;">&#40;</span> oImg <span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;<span style="color: #00C800;">local</span> oBmp &nbsp;:= GdiBmp<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>:<span style="color: #00C800;">New</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;oBmp:<span style="color: #000000;">hBmp</span> &nbsp; := oImg:<span style="color: #000000;">aPalBmp</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#93;</span><br />&nbsp; &nbsp;? oBmp:<span style="color: #000000;">Save</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"ejemplo0.png"</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;oBmp:<span style="color: #000000;">End</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br /><span style="color: #00C800;">Return</span> <span style="color: #00C800;">nil</span><br /><br /><span style="color: #B900B9;">//----------------------------------------------------------------------------//</span><br /><br />&nbsp;</div>[/code:1kagtgez]
xImage formats
I use this function [code=fw:1adt7baf]<div class="fw" id="{CB}" style="font-family: monospace;"> <span style="color: #00C800;">Function</span> &nbsp; SalvaImage<span style="color: #000000;">&#40;</span>oImg<span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00C800;">Local</span> &nbsp; nType<br />&nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #00C800;">local</span> oBmp &nbsp;:= GdiBmp<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>:<span style="color: #00C800;">New</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #00C800;">local</span> cFile := cGetFile<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"Bitmap (*.bmp)| *.bmp|"</span> + &nbsp; &nbsp; &nbsp; &nbsp; ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #ff0000;">"JPEG &nbsp;(*.jpg)| *.jpg|"</span> + &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #ff0000;">"GIF &nbsp; (*.gif)| *.gif|"</span> &nbsp;+ &nbsp; &nbsp; &nbsp; &nbsp; ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #ff0000;">"TIFF (*.tif)| *.tif|"</span> + &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #ff0000;">"PNG &nbsp; (*.png)| *.png"</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ,<span style="color: #ff0000;">"Salva con il nome"</span>, &nbsp;hb_CurDrive<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> , .t. <span style="color: #000000;">&#41;</span><br /><br /><br />&nbsp; * oBmp:<span style="color: #000000;">hBmp</span> &nbsp; := GDIP_FROMHBITMAP<span style="color: #000000;">&#40;</span> oImg:<span style="color: #000000;">GetHBitmap</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>, oImg:<span style="color: #000000;">aPalBmp</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#93;</span>, .T. <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;oBmp:<span style="color: #000000;">hBmp</span> &nbsp; := oImg:<span style="color: #000000;">aPalBmp</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#93;</span><br /><br />&nbsp; &nbsp;<span style="color: #00C800;">IF</span> .NOT. EMPTY<span style="color: #000000;">&#40;</span> cFile <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;nType := NGETFILEFILTER<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00C800;">DO</span> <span style="color: #00C800;">CASE</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00C800;">CASE</span> nType == <span style="color: #000000;">1</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;cExt := <span style="color: #ff0000;">"bmp"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00C800;">CASE</span> nType == <span style="color: #000000;">2</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;cExt := <span style="color: #ff0000;">"jpg"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00C800;">CASE</span> nType == <span style="color: #000000;">3</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;cExt := <span style="color: #ff0000;">"gif"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00C800;">CASE</span> nType == <span style="color: #000000;">4</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;cExt := <span style="color: #ff0000;">"tif"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00C800;">CASE</span> nType == <span style="color: #000000;">5</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;cExt := <span style="color: #ff0000;">"png"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00C800;">ENDCASE</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;cFile := cFilePath<span style="color: #000000;">&#40;</span> cFile <span style="color: #000000;">&#41;</span> + cFileNoExt<span style="color: #000000;">&#40;</span> cFile <span style="color: #000000;">&#41;</span> + <span style="color: #ff0000;">"."</span> + cExt<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oBmp:<span style="color: #000000;">Save</span><span style="color: #000000;">&#40;</span>cfile<span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">MsgInfo</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"saved as: "</span>+ cFile<span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;oBmp:<span style="color: #000000;">End</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; <span style="color: #00C800;">Endif</span><br /><span style="color: #00C800;">Return</span> <span style="color: #00C800;">nil</span><br />&nbsp;</div>[/code:1adt7baf] I cannot believe xmage cannot save in other Graphics format
xImage formats
[quote="Silvio.Falconi":36vxomvj] I cannot believe xmage cannot save in other Graphics format[/quote:36vxomvj] This not a problem with XIMAGE, is GDIPLUS It is possible that GDIPLUS supports other formats, I do not know, and maybe there is someone who can study if it can be saved in other formats. Out of curiosity, what formats do you need?
xImage formats
Now I have a strange problem Sometimes xmage not read some graphics files . I made a folder with the most format and I have problems to show them for a sample I have problems to show : tga tif emf pbm pcx while I can show jpg jpeg bmp gif png this can happen if the computer does not open those formats but if I use the paint or infarview I can open them all. With Image I could open all files with ximage I have limitations
xImage formats
[quote="Silvio.Falconi":1a1j6c72]Now I have a strange problem Sometimes xmage not read some graphics files . I made a folder with the most format and I have problems to show them for a sample I have problems to show : tga tif emf pbm pcx while I can show jpg jpeg bmp gif png this can happen if the computer does not open those formats but if I use the paint or infarview I can open them all. With Image I could open all files with ximage I have limitations[/quote:1a1j6c72] Ah!, You are talking about showing this type of images with the XIMAGE class?
xImage formats
FWH and XImage can display BMP, ICO, GIF, PNG, JPG, JPEG, TIF, TIFF on its own without freeimage.dll. If freeimage.dll exists in the path, it automatically uses fi.dll to display all other image formats too.
xImage formats
[b:2o7wz4x7]CONFIRM[/b:2o7wz4x7] If I insert into path of my exe also freeimage.dll and run ok I can show pcx tga but I not show pbm I must control if freeimage open pbm files
xImage question
When I change from Image to Ximage (trying not to use freeimage.dll anymore) I get a "cannot create Dialog Box" error. My code is fairly simple (the IMAGE version worked perfectly): [code=fw:kumco55p]<div class="fw" id="{CB}" style="font-family: monospace;">   <span style="color: #00C800;">LOCAL</span> aPath:=<span style="color: #000000;">&#123;</span><span style="color: #000000;">&#125;</span>, oDlg, oImages, oGet, CText<span style="color: #000000;">&#91;</span><span style="color: #000000;">3</span><span style="color: #000000;">&#93;</span><br /><br />   <span style="color: #00C800;">IF</span> Fill_Images<span style="color: #000000;">&#40;</span> aPath<span style="color: #000000;">&#41;</span>  <span style="color: #B900B9;">//Search all user images "JPG"</span><br />     cText<span style="color: #000000;">&#91;</span><span style="color: #000000;">1</span><span style="color: #000000;">&#93;</span>:=<span style="color: #000000;">1</span><br />     cText<span style="color: #000000;">&#91;</span><span style="color: #000000;">2</span><span style="color: #000000;">&#93;</span>:=LEN<span style="color: #000000;">&#40;</span>aPath<span style="color: #000000;">&#41;</span><br />     cText<span style="color: #000000;">&#91;</span><span style="color: #000000;">3</span><span style="color: #000000;">&#93;</span>:=<span style="color: #ff0000;">""</span><br />     <span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">DIALOG</span> oDlg <span style="color: #0000ff;">RESOURCE</span> <span style="color: #ff0000;">"diaporama"</span> ;<br />      <span style="color: #0000ff;">TITLE</span> <span style="color: #ff0000;">"Exa Pedigree: Photo album Bulls"</span><br />         <span style="color: #0000ff;">REDEFINE</span> XIMAGE oImages <span style="color: #0000ff;">ID</span> <span style="color: #000000;">101</span> <span style="color: #0000ff;">OF</span> oDlg<br />         <span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">GET</span> oGet <span style="color: #0000ff;">VAR</span> cText<span style="color: #000000;">&#91;</span><span style="color: #000000;">3</span><span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">ID</span> <span style="color: #000000;">102</span> <span style="color: #0000ff;">OF</span> oDlg <span style="color: #0000ff;">UPDATE</span> READONLY<br />         <span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">BUTTON</span> <span style="color: #0000ff;">ID</span> <span style="color: #000000;">504</span> <span style="color: #0000ff;">OF</span> oDlg <span style="color: #0000ff;">ACTION</span> Next_Img<span style="color: #000000;">&#40;</span> @oImages, @cText, @oDlg, @oGet, aPath <span style="color: #000000;">&#41;</span><br />         <span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">BUTTON</span> <span style="color: #0000ff;">ID</span> <span style="color: #000000;">503</span> <span style="color: #0000ff;">OF</span> oDlg <span style="color: #0000ff;">ACTION</span> Prev_Img<span style="color: #000000;">&#40;</span> @oImages, @cText, @oDlg, @oGet, aPath <span style="color: #000000;">&#41;</span><br />         <span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">BUTTON</span> <span style="color: #0000ff;">ID</span> <span style="color: #000000;">501</span> <span style="color: #0000ff;">OF</span> oDlg <span style="color: #0000ff;">ACTION</span> oDlg:<span style="color: #000000;">End</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />      <span style="color: #0000ff;">ACTIVATE</span> <span style="color: #0000ff;">DIALOG</span> oDlg <span style="color: #0000ff;">CENTER</span> <span style="color: #0000ff;">ON</span> <span style="color: #0000ff;">INIT</span> <span style="color: #000000;">&#40;</span>HB_SYMBOL_UNUSED<span style="color: #000000;">&#40;</span><span style="color: #00C800;">self</span><span style="color: #000000;">&#41;</span>, ;<br />                                           Img_Update<span style="color: #000000;">&#40;</span> @oImages, @cText, @oDlg, @oGet, aPath<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><br />   <span style="color: #00C800;">ELSE</span><br />     MsgStop<span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"No available photos"</span>,<span style="color: #ff0000;">"No photos"</span><span style="color: #000000;">&#41;</span><br />   <span style="color: #00C800;">ENDIF</span><br /><br />...<br /><br /><span style="color: #00C800;">STATIC</span> <span style="color: #00C800;">FUNCTION</span> Img_Update<span style="color: #000000;">&#40;</span> oImages, cText, oDlg, oGet, aPath <span style="color: #000000;">&#41;</span><br />  oImages:<span style="color: #000000;">SetSource</span><span style="color: #000000;">&#40;</span> aPath<span style="color: #000000;">&#91;</span>cText<span style="color: #000000;">&#91;</span><span style="color: #000000;">1</span><span style="color: #000000;">&#93;</span><span style="color: #000000;">&#93;</span> <span style="color: #000000;">&#41;</span><br />  oImages:<span style="color: #0000ff;">Refresh</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />  cText<span style="color: #000000;">&#91;</span><span style="color: #000000;">3</span><span style="color: #000000;">&#93;</span>:=cFileName<span style="color: #000000;">&#40;</span> aPath<span style="color: #000000;">&#91;</span>cText<span style="color: #000000;">&#91;</span><span style="color: #000000;">1</span><span style="color: #000000;">&#93;</span><span style="color: #000000;">&#93;</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 />  oDlg:<span style="color: #0000ff;">UPDATE</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><span style="color: #00C800;">RETURN</span> <span style="color: #00C800;">NIL</span></div>[/code:kumco55p] Something simple that I am doing wrong here? Thanks Emiliano Llano Díaz
xImage question
Can you please post your rc file?
xImage question
[code=fw:1t5she0a]<div class="fw" id="{CB}" style="font-family: monospace;">...<br /><br />DIAPORAMA <span style="color: #0000ff;">DIALOG</span> <span style="color: #000000;">22</span>, <span style="color: #000000;">26</span>, <span style="color: #000000;">311</span>, <span style="color: #000000;">205</span><br /><span style="color: #0000ff;">STYLE</span> DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU<br />CAPTION <span style="color: #ff0000;">"Pedigree BullFight Photos"</span><br /><span style="color: #0000ff;">FONT</span> <span style="color: #000000;">12</span>, <span style="color: #ff0000;">"MS Sans Serif"</span><br /><span style="color: #000000;">&#123;</span><br />    PUSHBUTTON  <span style="color: #ff0000;">"Close"</span>, <span style="color: #000000;">501</span>, <span style="color: #000000;">246</span>,  <span style="color: #000000;">84</span>, <span style="color: #000000;">45</span>, <span style="color: #000000;">15</span><br />    PUSHBUTTON  <span style="color: #ff0000;">"->"</span>, <span style="color: #000000;">503</span>, <span style="color: #000000;">269</span>, <span style="color: #000000;">53</span>, <span style="color: #000000;">16</span>, <span style="color: #000000;">17</span><br />    PUSHBUTTON  <span style="color: #ff0000;">"<-"</span>, <span style="color: #000000;">504</span>, <span style="color: #000000;">247</span>, <span style="color: #000000;">53</span>, <span style="color: #000000;">16</span>, <span style="color: #000000;">17</span><br />    EDITTEXT    <span style="color: #000000;">102</span>, <span style="color: #000000;">10</span>, <span style="color: #000000;">172</span>, <span style="color: #000000;">225</span>, <span style="color: #000000;">13</span><br />    CONTROL     <span style="color: #ff0000;">""</span>, <span style="color: #000000;">101</span>, <span style="color: #ff0000;">"TImage"</span>, <span style="color: #000000;">0</span> | WS_CHILD | WS_VISIBLE, <span style="color: #000000;">10</span>, <span style="color: #000000;">14</span>, <span style="color: #000000;">225</span>, <span style="color: #000000;">150</span><br /><span style="color: #000000;">&#125;</span></div>[/code:1t5she0a] The same control (Timage) works correctly in other dialog when using xImage <!-- s:?: --><img src="{SMILIES_PATH}/icon_question.gif" alt=":?:" title="Question" /><!-- s:?: -->
xImage question
[quote:3k7yq7il]The same control (Timage) works correctly in other dialog when using xImage <!-- s:?: --><img src="{SMILIES_PATH}/icon_question.gif" alt=":?:" title="Question" /><!-- s:?: -->[/quote:3k7yq7il] Even then, please change TImage as TXImage in this rc file. Your sample should work with this change.
xImage question
The other image (else where in the program in a more elaborated and complex code) continues to work nicely with the change, but this one refuses to do the work. Error occurred at: 27/09/2018, 07:52:01 Error description: Error BASE/1004 No exported method: EVAL Args: [ 1] = U Stack Calls =========== Called from: => (b)EVAL( 0 ) Called from: .\source\classes\XIMAGE.PRG => TXIMAGE:DEFAULT( 204 ) Called from: .\source\classes\XIMAGE.PRG => TXIMAGE:INITIATE( 189 ) Called from: => __OBJSENDMSG( 0 ) Called from: .\source\function\HARBOUR.PRG => OSEND( 291 ) Called from: .\source\function\HARBOUR.PRG => ASEND( 259 ) Called from: .\source\classes\DIALOG.PRG => TDIALOG:INITIATE( 781 ) Called from: .\source\classes\DIALOG.PRG => TDIALOG:HANDLEEVENT( 1036 ) Called from: => DIALOGBOX( 0 ) Called from: .\source\classes\DIALOG.PRG => TDIALOG:ACTIVATE( 287 )
xImage question
Complex? Actually it is very simple to program with XImage. I simplified your program to demonstrate the simplicity in dealing with ximage. [code=fw:3hdvnnny]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"fivewin.ch"</span><br /><br /><span style="color: #00C800;">function</span> Main<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br />   <span style="color: #00C800;">local</span> oDlg, oImage, oSay<br />   <span style="color: #00C800;">local</span> cPath    := <span style="color: #ff0000;">"c:<span style="color: #000000;">\\</span>fwh<span style="color: #000000;">\\</span>bitmaps<span style="color: #000000;">\\</span>pngs<span style="color: #000000;">\\</span>"</span><br />   <span style="color: #00C800;">local</span> aImages  := DIRECTORY<span style="color: #000000;">&#40;</span> cPath + <span style="color: #ff0000;">"*.png"</span> <span style="color: #000000;">&#41;</span><br />   <span style="color: #00C800;">local</span> nImage   := <span style="color: #000000;">1</span><br /><br />   AEval<span style="color: #000000;">&#40;</span> aImages, <span style="color: #000000;">&#123;</span> |a,i| aImages<span style="color: #000000;">&#91;</span> i <span style="color: #000000;">&#93;</span> := cPath + a<span style="color: #000000;">&#91;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#93;</span> <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#41;</span><br /><br />   <span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">DIALOG</span> oDlg <span style="color: #0000ff;">RESOURCE</span> <span style="color: #ff0000;">"diaporama"</span> ;<br />      <span style="color: #0000ff;">TITLE</span> <span style="color: #ff0000;">"Exa Pedigree: Photo album Bulls"</span><br /><br />   <span style="color: #0000ff;">REDEFINE</span> XIMAGE oImage SOURCE aImages<span style="color: #000000;">&#91;</span> nImage <span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">ID</span> <span style="color: #000000;">101</span> <span style="color: #0000ff;">OF</span> oDlg <span style="color: #0000ff;">UPDATE</span><br />   <span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">SAY</span> oSay <span style="color: #0000ff;">PROMPT</span> <span style="color: #000000;">&#123;</span> || cFileName<span style="color: #000000;">&#40;</span> aImages<span style="color: #000000;">&#91;</span> nImage <span style="color: #000000;">&#93;</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#125;</span> <span style="color: #0000ff;">ID</span> <span style="color: #000000;">102</span> <span style="color: #0000ff;">OF</span> oDlg <span style="color: #0000ff;">UPDATE</span> <span style="color: #0000ff;">COLOR</span> CLR_BLACK,CLR_WHITE<br />   <span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">BUTTON</span> <span style="color: #0000ff;">ID</span> <span style="color: #000000;">504</span> <span style="color: #0000ff;">OF</span> oDlg <span style="color: #0000ff;">WHEN</span> nImage > <span style="color: #000000;">1</span> <span style="color: #0000ff;">ACTION</span> <span style="color: #000000;">&#40;</span> nImage--, oDlg:<span style="color: #0000ff;">Update</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br />   <span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">BUTTON</span> <span style="color: #0000ff;">ID</span> <span style="color: #000000;">503</span> <span style="color: #0000ff;">OF</span> oDlg <span style="color: #0000ff;">WHEN</span> nImage < Len<span style="color: #000000;">&#40;</span> aImages <span style="color: #000000;">&#41;</span> <span style="color: #0000ff;">ACTION</span> <span style="color: #000000;">&#40;</span> nImage++, oDlg:<span style="color: #0000ff;">Update</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br />   <span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">BUTTON</span> <span style="color: #0000ff;">ID</span> <span style="color: #000000;">501</span> <span style="color: #0000ff;">OF</span> oDlg <span style="color: #0000ff;">ACTION</span> oDlg:<span style="color: #000000;">End</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br />   oDlg:<span style="color: #000000;">bPainted</span> := <span style="color: #000000;">&#123;</span> || oDlg:<span style="color: #000000;">Box</span><span style="color: #000000;">&#40;</span> oSay:<span style="color: #000000;">nTop</span><span style="color: #000000;">-1</span>, oSay:<span style="color: #000000;">nLeft</span><span style="color: #000000;">-1</span>, oSay:<span style="color: #000000;">nTop</span> + oSay:<span style="color: #000000;">nHeight</span>, ;<br />                         oSay:<span style="color: #000000;">nLeft</span> + oSay:<span style="color: #000000;">nWidth</span>, CLR_GRAY <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#125;</span><br /><br />   <span style="color: #0000ff;">ACTIVATE</span> <span style="color: #0000ff;">DIALOG</span> oDlg <span style="color: #0000ff;">CENTER</span><br /><br /><span style="color: #00C800;">return</span> <span style="color: #00C800;">nil</span></div>[/code:3hdvnnny] Simple nImage++ or nImage-- switches images without any additional code. rc file (minor changes) [code=fw:3hdvnnny]<div class="fw" id="{CB}" style="font-family: monospace;">DIAPORAMA <span style="color: #0000ff;">DIALOG</span> <span style="color: #000000;">22</span>, <span style="color: #000000;">26</span>, <span style="color: #000000;">311</span>, <span style="color: #000000;">205</span><br /><span style="color: #0000ff;">STYLE</span> DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU<br />CAPTION <span style="color: #ff0000;">"Pedigree BullFight Photos"</span><br /><span style="color: #0000ff;">FONT</span> <span style="color: #000000;">12</span>, <span style="color: #ff0000;">"MS Sans Serif"</span><br /><span style="color: #000000;">&#123;</span><br />    PUSHBUTTON  <span style="color: #ff0000;">"Close"</span>, <span style="color: #000000;">501</span>, <span style="color: #000000;">246</span>,  <span style="color: #000000;">84</span>, <span style="color: #000000;">45</span>, <span style="color: #000000;">15</span><br />    PUSHBUTTON  <span style="color: #ff0000;">"->"</span>, <span style="color: #000000;">503</span>, <span style="color: #000000;">269</span>, <span style="color: #000000;">53</span>, <span style="color: #000000;">16</span>, <span style="color: #000000;">17</span><br />    PUSHBUTTON  <span style="color: #ff0000;">"<-"</span>, <span style="color: #000000;">504</span>, <span style="color: #000000;">247</span>, <span style="color: #000000;">53</span>, <span style="color: #000000;">16</span>, <span style="color: #000000;">17</span><br />    CTEXT  <span style="color: #ff0000;">""</span>  <span style="color: #000000;">102</span>, <span style="color: #000000;">10</span>, <span style="color: #000000;">172</span>, <span style="color: #000000;">225</span>, <span style="color: #000000;">13</span>, SS_CENTERIMAGE<br />    CONTROL     <span style="color: #ff0000;">""</span>, <span style="color: #000000;">101</span>, <span style="color: #ff0000;">"TXImage"</span>, <span style="color: #000000;">0</span> | WS_CHILD | WS_VISIBLE, <span style="color: #000000;">10</span>, <span style="color: #000000;">14</span>, <span style="color: #000000;">225</span>, <span style="color: #000000;">150</span><br /><span style="color: #000000;">&#125;</span></div>[/code:3hdvnnny] [url=https&#58;//imageshack&#46;com/i/plNo9E2sg:3hdvnnny][img:3hdvnnny]https&#58;//imageshack&#46;com/a/img921/8176/No9E2s&#46;gif[/img:3hdvnnny][/url:3hdvnnny]
xImage question
Indeed, simpler (ahaha the answer was in the SOURCE key word). Nevertheless, it refused to work until I did this slight change to your otherwise elegant code: [code=fw:25fnq7nb]<div class="fw" id="{CB}" style="font-family: monospace;"><br />       <span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">BUTTON</span> <span style="color: #0000ff;">ID</span> <span style="color: #000000;">504</span> <span style="color: #0000ff;">OF</span> oDlg <span style="color: #0000ff;">WHEN</span> nImage > <span style="color: #000000;">1</span> <span style="color: #0000ff;">ACTION</span> <span style="color: #000000;">&#40;</span> nImage--, oImage:<span style="color: #0000ff;">REFRESH</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br />       <span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">BUTTON</span> <span style="color: #0000ff;">ID</span> <span style="color: #000000;">503</span> <span style="color: #0000ff;">OF</span> oDlg <span style="color: #0000ff;">WHEN</span> nImage < Len<span style="color: #000000;">&#40;</span> aDirectorio <span style="color: #000000;">&#41;</span> <span style="color: #0000ff;">ACTION</span> <span style="color: #000000;">&#40;</span> nImage++, oImage:<span style="color: #0000ff;">REFRESH</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br /> </div>[/code:25fnq7nb] Thanks for your time and interest in the question Emiliano Llano Díaz
xMate
Buenas, puede alguien compartir el fichero de entorno/configuración de xMate para usarlo con Harbour y FWH ? Muchas gracias. Saludos, Felix
xMate
Hola Felix, hace un tiempo dejé de usar xMate ya que según su autor no tendrá soporte ni se va a actualizar. Estoy usando x-Edit (basado en scintilla), lo tengo configurado con Harbour+FWH y funciona muy bien, hasta tiene un mini-dbu incorporado, y puedes debuguear en Harbour y (con algunas dificultades) en FW. Tambien te vale, al igual que xMate, para tener diferentes entornos. Otra alternativa que también está activa es Notepad++, en algún momento comencé a usarlo y configurarlo pero al final me decanté por x-Edit. Un saludo
xMate
Hola Carlos, me podrias pasar la URL de x-Edit y el fichero de configuración para usarlo con Harbour y FWH ? Muchas gracias. Saludos, Felix
xMate
<!-- m --><a class="postlink" href="http://tinyurl.com/xeditor">http://tinyurl.com/xeditor</a><!-- m --> envíame un mail así te reenvío la configuracion
xMate
Carlos, a qué dirección ? <!-- s8) --><img src="{SMILIES_PATH}/icon_cool.gif" alt="8)" title="Cool" /><!-- s8) --> Saludos, Felix
xMate
Felix, aqui te pongo un ejemplo de configuracion para FW8.08. A mi parecer xMate es muy buen IDE para xBase, lo malo como lo dice Carlos, es que no habra la esperada version 2, si revisas todo lo que tiene te sorprenderas, tienes generacion automatica de formas prg y rc, completacion de campos de dbf si seteas el xmate y con ESC luego de <alias> -> automaticamente te mostrara la lista de campos del DBF, te muestra la sistanxis y definicion de parametros de las funciones y bla ......... para la verdad no hay mejor que este ademas, corre en un pendrive <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> si se que otros tambien. Por mi parte a xEdit lo he colgado varias veces, talvez, esta ultima opcion este estable, ademas le faltaba la opcion de manejar espacion virtuales. Por otro lado la gente de Harbour esta desarrollando un clone de xMate con la colaboracion de su autor, es multiplataforma en base a qt. [url:2n7uhjjp]http&#58;//old&#46;nabble&#46;com/HBIDE---An-Overview-td26379927&#46;html#a26379927[/url:2n7uhjjp] solo un comentario saludos Marcelo [code=fw:2n7uhjjp]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br /><span style="color: #000000;">&#91;</span>Environment<span style="color: #000000;">&#93;</span><br />Description <span style="color: #000000;">1</span>=<br />Description <span style="color: #000000;">2</span>=<br />Description <span style="color: #000000;">3</span>=<br />PRG Compiler ver=<br />C compiler ver=<br />Subsystem=<br />Author=<br />Last <span style="color: #0000ff;">update</span>=<span style="color: #000000;">02</span>/<span style="color: #000000;">19</span>/<span style="color: #000000;">2009</span><br /><br /><span style="color: #000000;">&#91;</span>Advanced<span style="color: #000000;">&#93;</span><br />Command types=<span style="color: #000000;">1</span>,<span style="color: #000000;">1</span>,<span style="color: #000000;">1</span>,<span style="color: #000000;">1</span>,<span style="color: #000000;">1</span>,<span style="color: #000000;">1</span>,<span style="color: #000000;">1</span>,<span style="color: #000000;">1</span>,<span style="color: #000000;">1</span><br /><br /><span style="color: #000000;">&#91;</span>Harbour<span style="color: #000000;">&#93;</span><br />HB_INSTALL=c:\dev\xH8<span style="color: #000000;">.08</span><br />HB_COMMAND=%HB_BIN_INSTALL%\Harbour.Exe %PRG% -m -n -gc0 -w -es2 -i%HB_INC_INSTALL% -dHB_API_MACROS -dHB_FM_STATISTICS_OFF -dHB_STACK_MACROS<br />Option prefix=-<br /><br /><span style="color: #000000;">&#91;</span>C<span style="color: #000000;">&#93;</span><br />C_INSTALL=c:\dev\BCC<br />C_COMP_COMMAND=%C_BIN_INSTALL%\Bcc32.Exe -DHB_API_MACROS -M -c -O2 -e &nbsp;-tWM %CRLF%-DHB_STACK_MACROS -DHB_OS_WIN_32 -DHB_FM_STATISTICS_OFF -D__HARBOUR__ -DHB_NO_PROFILER -I%HB_INC_INSTALL%;%C_INC_INSTALL% &nbsp;-n%HOME%\Obj %C%<br />C_LIB_COMMAND=%C_BIN_INSTALL%\TLib.Exe %LIB% /P512 @%RSP% , %LST%<br />C_LINK_COMMAND=%C_BIN_INSTALL%\iLink32.Exe -Gn -aa -Tpe -s @%LNK%<br />C_RC_COMMAND=%C_BIN_INSTALL%\Brc32.Exe -r &nbsp;-fo%RES% &nbsp;%RC%<br />C_DLL_COMMAND=<br />Option prefix=-<br /><br /><span style="color: #000000;">&#91;</span>User<span style="color: #000000;">&#93;</span><br />POSTEXE_COMMAND=<br />POSTLIB_COMMAND=<br />POSTDLL_COMMAND=<br /><br /><span style="color: #000000;">&#91;</span>Files<span style="color: #000000;">&#93;</span><br />%C_LIB_INSTALL%\C0W32.OBJ=<span style="color: #000000;">1</span><br />c:\dev\FWH8<span style="color: #000000;">.08</span>\lib\Fivehc.lib=<span style="color: #000000;">2</span><br />c:\dev\FWH8<span style="color: #000000;">.08</span>\lib\Fivehx.lib=<span style="color: #000000;">3</span><br />%HB_LIB_INSTALL%\rtl.lib=<span style="color: #000000;">4</span><br />%HB_LIB_INSTALL%\vm.lib=<span style="color: #000000;">5</span><br />%HB_LIB_INSTALL%\lang.lib=<span style="color: #000000;">6</span><br />%HB_LIB_INSTALL%\macro.lib=<span style="color: #000000;">7</span><br />%HB_LIB_INSTALL%\rdd.lib=<span style="color: #000000;">8</span><br />%HB_LIB_INSTALL%\dbfcdx.lib=<span style="color: #000000;">9</span><br />%HB_LIB_INSTALL%\dbfntx.lib=<span style="color: #000000;">10</span><br />%HB_LIB_INSTALL%\common.lib=<span style="color: #000000;">11</span><br />%HB_LIB_INSTALL%\pp.lib=<span style="color: #000000;">12</span><br />%C_LIB_INSTALL%\CW32.LIB=<span style="color: #000000;">13</span><br />%C_LIB_INSTALL%\IMPORT32.LIB=<span style="color: #000000;">14</span><br />%C_LIB_INSTALL%\WS2_32.LIB=<span style="color: #000000;">15</span><br />%HB_LIB_INSTALL%\dbffpt.lib=<span style="color: #000000;">16</span><br />%HB_LIB_INSTALL%\hbzip.lib=<span style="color: #000000;">17</span><br />%HB_LIB_INSTALL%\codepage.lib=<span style="color: #000000;">18</span><br />%HB_LIB_INSTALL%\hbsix.lib=<span style="color: #000000;">19</span><br />%HB_LIB_INSTALL%\gtgui.lib=<span style="color: #000000;">20</span><br />%HB_LIB_INSTALL%\pcrepos.lib=<span style="color: #000000;">21</span><br />%HB_LIB_INSTALL%\rddads.lib=<span style="color: #000000;">22</span><br />%HB_LIB_INSTALL%\ace32.lib=<span style="color: #000000;">23</span><br />%C_LIB_INSTALL%\PSDK\msimg32.lib=<span style="color: #000000;">24</span><br />%C_LIB_INSTALL%\inet.lib=<span style="color: #000000;">25</span><br />%HB_LIB_INSTALL%\zlib.lib=<span style="color: #000000;">26</span><br />%C_LIB_INSTALL%\PSDK\iphlpapi.lib=<span style="color: #000000;">27</span><br />&nbsp;</div>[/code:2n7uhjjp]
xMate
Carlos, Marcelo, muchas gracias por vuestra ayuda. Habrá que seguir a HBIDE. Saludos,
xMate
Marcelo, de donde se puede bajar HBIDE ? Muchas gracias. Saludos,
xMate
Baxajaun, Para el hbide debes descargar la ultima version en el svn de harbour. En <!-- w --><a class="postlink" href="http://www.harbour-project.org">www.harbour-project.org</a><!-- w --> me parece hay instrucciones para bajar y construir el harbour desde el svn. Si no encuentras nada, dame un aviso y lo hacemos funcionar. <!-- s;) --><img src="{SMILIES_PATH}/icon_wink.gif" alt=";)" title="Wink" /><!-- s;) --> Saludos Lautaro Moreira
xMate
Felix, dale una mirada a este enlace [url:1wfmvj0s]http&#58;//docs&#46;google&#46;com/View?id=dhmtv9fs_235db6hz754[/url:1wfmvj0s] saludos Marcelo
xMate
[quote="Lautaro":pkmlvrdy]Baxajaun, Para el hbide debes descargar la ultima version en el svn de harbour. En <!-- m --><a class="postlink" href="http://www.harbour-project.org">http://www.harbour-project.org</a><!-- m --> me parece hay instrucciones para bajar y construir el harbour desde el svn. Si no encuentras nada, dame un aviso y lo hacemos funcionar. <!-- s;) --><img src="{SMILIES_PATH}/icon_wink.gif" alt=";)" title="Wink" /><!-- s;) --> Saludos Lautaro Moreira[/quote:pkmlvrdy] Saludos, Lo he tratado de bajar pero no lo encuentro, Esta herramiento sirbe tambien para xharbour.
xMate
Buenas, alguien ha conseguido configurar HBIDE para que funcione con Harbour y FWH ? Muchas gracias. Saludos, Felix
xMate
Lo he tratado de bajar pero no lo encuentro, Alquine tiene el link de donde puedo bajarlo
xMate
Hola Ruben Dario, lo puedes descargar de <!-- m --><a class="postlink" href="http://hbide.vouch.info/">http://hbide.vouch.info/</a><!-- m --> , en esta página tienes la documentación en línea. Saludos, Félix
xMate
[quote="Carlos Mora":15cq6j2s]http://tinyurl.com/xeditor envíame un mail así te reenvío la configuracion[/quote:15cq6j2s] Saludos, Podrias enviarme el archivo de configuracion para mi tambien a mi email <!-- e --><a href="mailto:wbguerrero@gmail.com">wbguerrero@gmail.com</a><!-- e -->. Usare Habour Gracias de antemano
xMate
Hola Lautaro Seria muy util para todos si pudieras publicar la configuración del HBIDE para Harbour y Xharbour. Saludos Martín
xMate
Martin, El hbide solo lo he usado con harbour y aqui va un .hbp de ejemplo, solo hay que cambiar las rutas para las librerias. Yo uso harbour ( del svn ) y MSVC. del sdk para windows 7 [code=fw:2a2ay94e]<div class="fw" id="{CB}" style="font-family: monospace;"><br />-ic:\trabajo_abinsa\fwh9<span style="color: #000000;">.08</span>\include<br />-lc:\trabajo_abinsa\trees\treereal\lib\tree32m<br />-lc:\trabajo_abinsa\fwh9.08_corregida\fivehm<br />-lc:\trabajo_abinsa\fwh9.08_corregida\fivehcm<br />-lhbwin<br />-gui<br />-debug<br />-ldflag=<span style="color: #000000;">&#123;</span>msvc<span style="color: #000000;">&#125;</span>-nodefaultlib:<span style="color: #000000;">msvcrt</span>.lib<br />-ldflag=<span style="color: #000000;">&#123;</span>msvc<span style="color: #000000;">&#125;</span>-defaultlib:<span style="color: #000000;">libcmt</span>.lib<br />-ldflag=<span style="color: #000000;">&#123;</span>msvc<span style="color: #000000;">&#125;</span>-nodefaultlib:<span style="color: #000000;">libc</span>.lib<br />-lminizip<br />-lhbzlib<br />-lhbziparc<br />-lhbmzip<br />-loledlg<br />-lversion<br />-ldflag=<span style="color: #000000;">&#123;</span>msvc<span style="color: #000000;">&#125;</span>-force:<span style="color: #000000;">multiple</span><br />-lhbfimage<br />-lE:\proyectos\imagenes\FreeImage\Dist\freeimage<br /> <br />Source/DOCTOS.PRG<br /><span style="color: #0000ff;">Resource</span>/doctos.Res<br />Source/utiles.prg<br />Source/mitarray.prg<br />Source/<span style="color: #0000ff;">xbrowse</span>.prg<br />Source/bitmap.prg<br /> <br /> </div>[/code:2a2ay94e] En general si tienes la instalacion de harbour, no deberias tener problemas para usarlo, ya que es solo una mascara para el hbmk2 de harbour. Saludos, Lautaro Moreira
xMate
Hola no se si me podrían compartir ese archivito de configuración <!-- s:mrgreen: --><img src="{SMILIES_PATH}/icon_mrgreen.gif" alt=":mrgreen:" title="Mr. Green" /><!-- s:mrgreen: --> <!-- e --><a href="mailto:aida_p_z@hotmail.com">aida_p_z@hotmail.com</a><!-- e --> Saluditos <!-- s:wink: --><img src="{SMILIES_PATH}/icon_wink.gif" alt=":wink:" title="Wink" /><!-- s:wink: -->
xMate
Aida, Si usas Fivedit.prg nunca más te volverá a pasar lo que te ha pasado con Verce, etc. <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> [url:33neqo82]https&#58;//bitbucket&#46;org/fivetech/fivewin-contributions/downloads/FivEdit&#46;zip[/url:33neqo82]
xMate
Hola sale que el Link esta muerto <!-- s:shock: --><img src="{SMILIES_PATH}/icon_eek.gif" alt=":shock:" title="Shocked" /><!-- s:shock: --> Saluditos <!-- s:wink: --><img src="{SMILIES_PATH}/icon_wink.gif" alt=":wink:" title="Wink" /><!-- s:wink: -->
xMate
Aida, Solucionado. Vuelve a intentar descargarlo, gracias <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> [url:1u4nuujq]https&#58;//bitbucket&#46;org/fivetech/fivewin-contributions/downloads/FivEdit&#46;zip[/url:1u4nuujq] Cristobal está trabajando en una versión mejorada que tambien puedes descargar desde: [url:1u4nuujq]https&#58;//bitbucket&#46;org/fivetech/fivewin-contributions/downloads/FivEdit2&#46;zip[/url:1u4nuujq]
xMate
Cristóbal: Comencé a probar fivedit y me ha gustado mucho. Baje del link de fivedit2 y con Windows 10 y me da el siguiente error: Error description: Erro BASE/1004 No exported method: NCOUNT Called from: => NCOUNT(0) Called from: fivedit.prg => MAIN(63) Lo descargue del link que publico Antonio.
xMate
Mauro Gracias Estas descargando una version no actualizada Aqui está el hilo que le da soporte con el link de descarga de la ultima version publicada <!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=6&t=24025&start=360#p181652">viewtopic.php?f=6&t=24025&start=360#p181652</a><!-- l --> Ya tengo una version posterior, pero en este momento estoy ocupadillo con el tema de dar soporte a Unicode Si todo va bien, entre hoy y mañana la subiré para su descarga A ver si entre todos podemos hacer una buena herramienta Gracias de nuevo
xMate
Buen día a tod@s ¿ Alguno de ustedes me podría facilitar un enlace para descargar xMate ?
xMate
Hi I've been searching xMate on Internet with out success. There are somebody can shared it with me ?
xMate
Thanks, I found it ! You can download it from this link <!-- m --><a class="postlink" href="https://bitbucket.org/fivetech/fivewin-contributions/downloads/xMate_1_15_Setup.exe">https://bitbucket.org/fivetech/fivewin- ... _Setup.exe</a><!-- m -->
xMate
Ya lo encontré <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> <!-- m --><a class="postlink" href="https://bitbucket.org/fivetech/fivewin-contributions/downloads/xMate_1_15_Setup.exe">https://bitbucket.org/fivetech/fivewin- ... _Setup.exe</a><!-- m --> Saludos
xMate
Hola Vikthor: Te aconsejo que le des una oportunidad a FivEdit, a pesar de que xmate es muy estable no se va a actualizar mas, sin embargo cualquier problema que pueda surgir en FivEdit se arregla en un tiempo record, el amigo Cristobal efectua un soporte inmejorable. Plenamente operativo. Para proyectos enormes, sino mira los videos de Cristobal la cantidad de prgs. que maneja y el numero de lineas. En fin, solo es una sugerencia, repito que no desmerezco en nada a Xmate muy buen IDE . Saludos. Jose.
xMate
José gracias por el comentario. No conozco FiveEdit, ¿ de dónde puedo descargarlo ? Usaba xMate para compilar mis aplicaciones para 64 bits, ¿ FiveEdit tiene esa opción ? Saludos
xMate
Gracias José Vicente. Viktor, si soporta cualquier compilador ya sea de 32 o de 64 bits Las instrucciones de instalación las puedes ver en <!-- m --><a class="postlink" href="http://wiki.fivetechsoft.com/doku.php?id=fivedit_instalacion">http://wiki.fivetechsoft.com/doku.php?i ... nstalacion</a><!-- m --> En este hilo del foro hay mucha información ( más de 90000 posts ), y hay otro hilo en el foro de inglés. <!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=6&t=24025&start=945#p227177">viewtopic.php?f=6&t=24025&start=945#p227177</a><!-- l --> Pero tal y como aparece en ese post, lo mejor es meterse en el slack en el que aparecen las dudas, inquietudes y comentarios de los usuarios y se publican las novedades y nuevas versiones. La principal novedad que traerá en breve será poder trabajar directamente con los repositorios de Github: ya los lee y puedes editar sus ficheros. Si tienes problemas para entrar en el slack, ponme un correo y te añado
xMate
Ya descargué el .exe, la documentación me vendría muy bien. Gracias Mi correo es el siguiente rohtkiv at gmail dot com
xMate
Vikthor, no olvides descargar el .zip también Cuando entres en el slack, ya aparece la última versión ( sólo el .exe ) Pd.: ya puedes borrar tu correo del post anterior, ya te he enviado la invitación
xMate
Buenas Yo tambien estaba interesado en la documentacion o como se configura el FIVEDIT, ya descarge el zip y el exe del programa pero no logro configurarlo, Te agradeceria ese dato. [quote="cnavarro":ywu90h31]Vikthor, no olvides descargar el .zip también Cuando entres en el slack, ya aparece la última versión ( sólo el .exe ) Pd.: ya puedes borrar tu correo del post anterior, ya te he enviado la invitación[/quote:ywu90h31]
xMate
Lubin, no puedes entrar en el SLACK ? Ahí estan todos los videos además de las ultimas actualizaciones de FivEdit [url:2ua9rlkb]https&#58;//join&#46;slack&#46;com/t/fivedit/shared_invite/enQtNzU3NDc1NzMyODAzLTBiMmNiMzZhZjY4NWY3NzI5Y2ZhYjAzZDM3NmVmNWZiOGM2YjM0ZTM1MTBjYTY0ZmQ0YjIzOGJiZTY1YTQ5OWY[/url:2ua9rlkb] Si no te funciona el enlace, dame una cuenta de correo y te mando una invitación
xMate
Además, aunque antiguos y haya algunas pantallas que hayan cambiado un poco, estos videos de darán una idea de los pasos a seguir <!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=6&t=24025&p=212908&hilit=five1.mp4#p212908">viewtopic.php?f=6&t=24025&p=212908&hilit=five1.mp4#p212908</a><!-- l --> Pero como saben todos los usuarios, si tienes algún problema, estoy encantado de ayudarte, y en el slack habrá compañeros que ya han pasado por lo mismo que tú
xMate
Hola Cristobal, podrías enviarme una invitación para acceder a Slack, mi correo es sergio at Vacarezza dot cl, el mismo que sale en mi pie de firma. De ante mano muchas gracias Un abrazo desde Chile
xMate
Hecho, enviada, si tienes algún problema para conectarte no dudes en ponerte en contacto conmigo
xMate - Ultima version
Hola Foro: Donde consigo la ultima version del xMate ? Cual es el numero de la ultima version ? Busque en el google, pero la una version del 2006 ? Es esto correcto <!-- s:?: --><img src="{SMILIES_PATH}/icon_question.gif" alt=":?:" title="Question" /><!-- s:?: --> ? Alguien me la puede enviar. Saludos ,
xMate - Ultima version
<!-- m --><a class="postlink" href="http://www.andywos.ih.co.za/xmate/">http://www.andywos.ih.co.za/xmate/</a><!-- m -->
xMate - Ultima version
Many Thanks Silvio
xMate .ENV for FWH64
Dear All , I am setting up the environment in xMate for FWH64 18.07 using Harbour 64 3.2 , BCC++ 7.1. Do you the xMate .ENV File for this environment ? if yes , would request to you to share the same. Thanks in advance...! Thanks Shridhar
xMate .env file for Harbour 3.0
Hi friends, does anyone have the enveironment file for xMate and Harbour 3.0 ? I have a lot of unresolved externals
xMate .env file for Harbour 3.0
Ok, problem solved
xMate .env file for Harbour 3.0
Stefan, do you show me the libs that I need to link to start testing harbor + FWH? or better do you send me the env file to <!-- e --><a href="mailto:marcelo.via@gmail.com">marcelo.via@gmail.com</a><!-- e --> regards Marcelo
xMate .env file for Harbour 3.0
[quote:3iou24iy] [Environment] Description 1=Harbour Compiler Description 2= Description 3= PRG Compiler ver=3.1 C compiler ver=6.41 Subsystem=GtGui Author=Carlos Vargas Last update=02/10/2012 [Advanced] Command types=1,1,1,1,1,1,1,1,1 [Harbour] HB_INSTALL=D:\borland\harbour HB_COMMAND=%HB_BIN_INSTALL%\Harbour.Exe %PRG% /m /n /gc0 /w0 /es2 /i%HB_INC_INSTALL% /q0 /d__HARBOUR__ Option prefix=/ [C] C_INSTALL=D:\borland\bcc643 C_COMP_COMMAND=%C_BIN_INSTALL%\Bcc32.Exe %CRLF%-M -c -O2 -e -tWM -q %CRLF%-D__HARBOUR__ %CRLF%-I%HB_INC_INSTALL%;%C_INC_INSTALL% -n%HOME%\Obj %C% C_LIB_COMMAND=%C_BIN_INSTALL%\TLib.Exe %LIB% /P1024 @%RSP% , %LST% C_LINK_COMMAND=%C_BIN_INSTALL%\iLink32.Exe -Gn -q -aa -Tpe -s @%LNK% C_RC_COMMAND=%C_BIN_INSTALL%\brc32.exe -r -i%C_INC_INSTALL%\windows\sdk -I%C_INC_INSTALL%\windows\crtl -fo%RES% %RC% C_DLL_COMMAND=%C_BIN_INSTALL%\iLink32.Exe -Gn -q -aa -Tpd -M -L%C_LIB_INSTALL% @%LNK% Option prefix=- [User] POSTEXE_COMMAND= POSTLIB_COMMAND= POSTDLL_COMMAND= [Files] %C_LIB_INSTALL%\c0w32.obj=1 D:\fwh\lib\patch.Lib=2 D:\fwh\lib\twbrowse.lib=3 D:\fwh\lib\filexls.lib=4 D:\fwh\lib\Fiveh.lib=5 D:\fwh\lib\Fivehc.lib=6 %HB_LIB_INSTALL%\hbrtl.lib=7 %HB_LIB_INSTALL%\hbvm.lib=8 %HB_LIB_INSTALL%\hbcommon.lib=9 %HB_LIB_INSTALL%\gtgui.lib=10 %HB_LIB_INSTALL%\hblang.lib=11 %HB_LIB_INSTALL%\hbmacro.lib=12 %HB_LIB_INSTALL%\hbrdd.lib=13 %HB_LIB_INSTALL%\rddntx.lib=14 %HB_LIB_INSTALL%\rddcdx.lib=15 %HB_LIB_INSTALL%\rddfpt.lib=16 %HB_LIB_INSTALL%\hbsix.lib=17 %HB_LIB_INSTALL%\hbdebug.lib=18 %HB_LIB_INSTALL%\hbpp.lib=19 %HB_LIB_INSTALL%\hbcpage.lib=20 %HB_LIB_INSTALL%\hbwin.lib=21 %HB_LIB_INSTALL%\hbcplr.lib=22 %HB_LIB_INSTALL%\hbct.lib=23 %HB_LIB_INSTALL%\hbnf.lib=24 %HB_LIB_INSTALL%\xhb.lib=25 %HB_LIB_INSTALL%\hbziparc.lib=26 %HB_LIB_INSTALL%\hbmzip.lib=27 %HB_LIB_INSTALL%\hbzlib.lib=28 %HB_LIB_INSTALL%\minizip.lib=29 %HB_LIB_INSTALL%\rddads.lib=30 %HB_LIB_INSTALL%\ace32.lib=31 %HB_LIB_INSTALL%\hbpcre.lib=32 %HB_LIB_INSTALL%\hbcomm.lib=33 %HB_LIB_INSTALL%\hbmisc.lib=34 %HB_LIB_INSTALL%\hbxpp.lib=35 %HB_LIB_INSTALL%\hbfship.lib=36 %C_LIB_INSTALL%\cw32.lib=37 %C_LIB_INSTALL%\uuid.lib=38 %C_LIB_INSTALL%\import32.lib=39 %C_LIB_INSTALL%\psdk\odbc32.lib=40 %C_LIB_INSTALL%\psdk\nddeapi.lib=41 %C_LIB_INSTALL%\psdk\iphlpapi.lib=42 %C_LIB_INSTALL%\psdk\msimg32.lib=43 %C_LIB_INSTALL%\psdk\psapi.lib=44 %C_LIB_INSTALL%\psdk\shell32.lib=45 [DLL Files] %HB_LIB_INSTALL%\harbour.lib=1 %C_LIB_INSTALL%\C0W32.OBJ=2 %C_LIB_INSTALL%\CW32.LIB=3 %C_LIB_INSTALL%\IMPORT32.LIB=4 [/quote:3iou24iy]
xMate .env file for Harbour 3.0
Carlos, muchas gracias
xMate Config
Hola a todos, Necesito probar y valorar xMate. Alguien me puede pasar los ficheros de configuracion necesarios para entorno FWH0812 + Harbour ?. Habeis probado proyectos con grandes cargas de fuentes ? Algun inconveniente de entrada a tener en cuenta ? Salutacions. C.
xMate Config
Hola Carles este es el fichero .env que utilizo para FWH0812 [code:16du1mpr] &#91;Environment&#93; Description 1=Harbour+FiveWin para Bccc Description 2= Description 3= PRG Compiler ver=HB 1&#46;0&#46;0RC1(Rev&#46;8835) C compiler ver=Bcc55 Subsystem=FWH812 Author=Biel Maimó Last update=01/14/2009 &#91;Advanced&#93; Command types=1,1,1,1,1,1,1,1,1 &#91;Harbour&#93; HB_INSTALL=C&#58;\FW\0812\harbour HB_COMMAND=%HB_BIN_INSTALL%\Harbour&#46;Exe %PRG% /m /n /gc0 /es2 /i%HB_INC_INSTALL% /dHB_API_MACROS /dHB_FM_STATISTICS_OFF /dHB_STACK_MACROS /iC&#58;\FW\0812\FWH\INCLUDE;%HB_INSTALL%\INCLUDE;%HOME%\INCLUDE /d__WINDOWS__ Option prefix=/ &#91;C&#93; C_INSTALL=C&#58;\Borland\BCC55 C_COMP_COMMAND=%C_BIN_INSTALL%\Bcc32&#46;Exe -DHB_API_MACROS -M -c -O2 -e -tWM %CRLF%-DHB_STACK_MACROS -DHB_OS_WIN_32 -DHB_FM_STATISTICS_OFF -I%HB_INC_INSTALL%;%C_INC_INSTALL% -n%HOME%\Obj %C% C_LIB_COMMAND=%C_BIN_INSTALL%\TLib&#46;Exe %LIB% /P512 @%RSP% , %LST% C_LINK_COMMAND=%C_BIN_INSTALL%\iLink32&#46;Exe -Gn -aa -Tpe -s @%LNK% C_RC_COMMAND=C&#58;\archiv~1\PellesC\Bin\PORC&#46;EXE %RC% /I c&#58;\archiv~1\pellesc\include /I c&#58;\archiv~1\pellesc\include\win C_DLL_COMMAND= Option prefix=- &#91;User&#93; POSTEXE_COMMAND= POSTLIB_COMMAND= POSTDLL_COMMAND= &#91;Files&#93; %C_LIB_INSTALL%\c0w32&#46;obj=1 C&#58;\FW\0812\FWH\LIB\FiveH&#46;lib=2 C&#58;\FW\0812\FWH\lib\FiveHC&#46;lib=3 %HB_LIB_INSTALL%\hbrtl&#46;lib=4 %HB_LIB_INSTALL%\hbvm&#46;lib=5 %HB_LIB_INSTALL%\gtgui&#46;lib=6 %HB_LIB_INSTALL%\hblang&#46;lib=7 %HB_LIB_INSTALL%\hbmacro&#46;lib=8 %HB_LIB_INSTALL%\hbrdd&#46;lib=9 %HB_LIB_INSTALL%\rddcdx&#46;lib=10 %HB_LIB_INSTALL%\rddfpt&#46;lib=11 %HB_LIB_INSTALL%\hbsix&#46;lib=12 %HB_LIB_INSTALL%\rddntx&#46;lib=13 %HB_LIB_INSTALL%\hbcommon&#46;lib=14 %HB_LIB_INSTALL%\hbpp&#46;lib=15 %HB_LIB_INSTALL%\hbcpage&#46;lib=16 %HB_LIB_INSTALL%\hbw32&#46;lib=17 %C_LIB_INSTALL%\CW32&#46;LIB=18 %C_LIB_INSTALL%\IMPORT32&#46;LIB=19 %C_LIB_INSTALL%\WS2_32&#46;LIB=20 %C_LIB_INSTALL%\PSDK\odbc32&#46;lib=21 %C_LIB_INSTALL%\PSDK\nddeapi&#46;lib=22 %C_LIB_INSTALL%\PSDK\iphlpapi&#46;lib=23 %C_LIB_INSTALL%\PSDK\msimg32&#46;lib=24 %C_LIB_INSTALL%\PSDK\rassapi&#46;lib=25 %C_LIB_INSTALL%\wininet&#46;lib=26[/code:16du1mpr] Para que te funcione revisa el path donde tengas FWH, Harbour y Bcc. Este fichero asume BCC en C:\Borland\BCC55 Harbour en C:\FW\0812\harbour y FWH en C:\FW\0812\FWH Esta configurado para usar el compilador de recursos de PellesC. Bueno ya sabes, alguna duda me llamas. a10
xMate Config
Biel, Gracies. Hoy intentare 'testear' la herramienta y como dice un colega de este foro '...cambiar de entorno de editor, es como cambiar de religion...' <!-- s;-) --><img src="{SMILIES_PATH}/icon_wink.gif" alt=";-)" title="Wink" /><!-- s;-) --> Gracias a los demas que me habeis enviado en privado todos los otros files... Biel => Salutacions. C.
xMate ENV file ( Solved )
Ya tengo practicamente todo listo para seguir trabajando... a excepcion del archivo ENV para el xmate. Alguien que use el xMate con FWH 10.5 , Bcc582 y xHarbour que me pueda facilitar ese archivo le agradecere enormemente. Saludos
xMate ENV file ( Solved )
[quote="Raymundo Islas M.":28s7skf2]Ya tengo practicamente todo listo para seguir trabajando... a excepcion del archivo ENV para el xmate. Alguien que use el xMate con FWH 10.5 , Bcc582 y xHarbour que me pueda facilitar ese archivo le agradecere enormemente. Saludos[/quote:28s7skf2] Tengo un ENV para bcc55 pero te podria servir a que correo te lo envio? <!-- e --><a href="mailto:wmormar@yahoo.com.mx">wmormar@yahoo.com.mx</a><!-- e -->
xMate ENV file ( Solved )
Hola Raymundo, pasate a hbIDE [url:7tb8aniy]http&#58;//forums&#46;fivetechsupport&#46;com/viewtopic&#46;php?f=3&t=18977[/url:7tb8aniy], en un momento lo tendrás configurado y funcionando con tus proyectos. Saludos, Felix
xMate ENV file ( Solved )
William, El correo es : islasdevsys @ hotmail.com Muchisimas gracias por tu apoyo. Felix, Sip, vengo siguiendo el hilo desde hace rato, ya que al ser el sucesor del xMate, y todas las cosas que le estan ajustando para FWH, debe ser algo excelente. Lo instale ayer, pero me perdi a medio camino, de igual manera su tuvieras alguna guia o algun archivo a ajustar te lo agradeceria. Saludos
xMate ENV file ( Solved )
Baxajaun, el hbIde funciona con (x)Harbour ? hasta donde tengo entendido esta configurado para Harbour... Saludos,
xMate ENV file ( Solved )
Raymundo, Albeiroval, como diría Jack "vayamos por partes" <!-- s;-) --><img src="{SMILIES_PATH}/icon_wink.gif" alt=";-)" title="Wink" /><!-- s;-) --> , Albeiroval, hasta lo que yo sé, puedes utilizar hbIDE con xHarbour. Cuando configuras el entorno de tu proyecto le pasas el camino a [x]Harbour. Raymundo, si tienes instalado hbIDE. Primero crea un proyecto, File/New/Project [img:pwbrc9cf]http&#58;//img189&#46;imageshack&#46;us/img189/5109/newtm&#46;png[/img:pwbrc9cf] o Project/New [img:pwbrc9cf]http&#58;//img709&#46;imageshack&#46;us/img709/4365/projectr&#46;png[/img:pwbrc9cf] [img:pwbrc9cf]http&#58;//img208&#46;imageshack&#46;us/img20[/img:pwbrc9cf] En Project Properties en la pestaña General introduces los datos de tu proyecto. [img:pwbrc9cf]http&#58;//img693&#46;imageshack&#46;us/img693/4245/saveproject&#46;jpg[/img:pwbrc9cf] y le das a Save and Close, y en la parte izquierda en Projects verás que se ha generado en el arbol de proyectos uno llamado, en mi caso ToTo [img:pwbrc9cf]http&#58;//img641&#46;imageshack&#46;us/img641/8648/newprojectn&#46;jpg[/img:pwbrc9cf] En la pestaña Sources de Project Properties introducirias los fuentes del proyecto [img:pwbrc9cf]http&#58;//img33&#46;imageshack&#46;us/img33/4350/sourcesj&#46;jpg[/img:pwbrc9cf] En la pestaña Flags pondriamos los flags que usa hbIDE [img:pwbrc9cf]http&#58;//img638&#46;imageshack&#46;us/img638/9436/flags&#46;jpg[/img:pwbrc9cf] en la imagen puedes ver -ic:\develop\fwh\include -lc:\develop\fwh\lib\fiveh -lc:\develop\fwh\lib\fivehc -lhbwin -gui -i directorio de inludes, en este caso los de FWH. -l librerias a incluir en el proceso de enlazado. -gui para indicarle a [x]Harbour que se utilizará un interfaz gráfico de usuario y no la consola. Por ejemplo para indicarle que incluya información para depuración añadiriamos al principio el flag -b Si pinchamos en la pestaña Compiler Environments de la parte inferior derecha de hbIDE nos aparecerá algo parecido a [img:pwbrc9cf]http&#58;//img408&#46;imageshack&#46;us/img408/5973/enviroment&#46;jpg[/img:pwbrc9cf] en función del compilador de C tendrías que modificar la variable PATH y lo que necesites. En mi caso he modificado la variable PATH [img:pwbrc9cf]http&#58;//img84&#46;imageshack&#46;us/img84/5852/compiladordec&#46;jpg[/img:pwbrc9cf] quedando como {content} set PATH=c:\develop\harbour;c:\develop\borland\bcc582\bin; Si no posicionamos en el proyecto y le damos al botón derecho del ratón nos aparecerá [img:pwbrc9cf]http&#58;//img706&#46;imageshack&#46;us/img706/420/currentn&#46;jpg[/img:pwbrc9cf] Set as Current ... para ponerlo como proyecto actual. Properties ... para poder modificar las propiedades del proyecto. Build Project ... para construir el ejecutable del proyecto. Build and Launch ... para construir y ejecutar el programa. Rebuild Project ... para volver a construir el ejecutable del proyecto. Rebuid and Launch .. para volver a construir el ejecutable del proyecto y lanzarlo. Launch ... para lanzar el ejecutable resultante del proyecto Remove Project ... para borrar el proyecto. Select an environment ... para elgir uno de los compiladores de C. Espero no haberme olvidado de nada. Si tenési algún problema, comentadlo y trataremos de ayuda. Saludos, Felix
xMate ENV file ( Solved )
Hello Everybody Sorry to write in English as I know this language only (besides my mother tounge and natioanl language ). If you post it in English forum I will be extremely happy to assist you. Please use the only thread which exist in English forum.
xMate ENV file ( Solved )
Felix, Muchas gracias por tu explicacion esta completa... Solo una cosa.. seria muy completo si tuviera un editor de recursos jejeje.. <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D --> Saludos, Albeiro.
xMate ENV file ( Solved )
Felix, Excelente mini-tutor, te agradezco mucho. Sin embargo, sigo haciendo algo mal por que no me funca, sera que no he dormido bien los ultimos dias y estoy omitiendo algo. Deja empiezo de cero otra vez, voy a desinstalar y empezar paso a paso. Mr. Pritpal , I haven't had the chance to thank you for such amazing IDE you're doing. I've been using xMate for a long time and zero problems at all. And I know this hbIde is gonna be even much better !! Congrats and best regards !! Saludos
xMate ENV file ( Solved )
[quote="Raymundo Islas M.":z07qqrmo]I haven't had the chance to thank you for such amazing IDE you're doing. I've been using xMate for a long time and zero problems at all. And I know this hbIde is gonna be even much better !! Congrats and best regards !! Saludos[/quote:z07qqrmo] Thanks for the kind words. Me too has been a happy user of xMate all these years since its birth. And as you can gather from the interface itself, hbIDE is greatly inspired by xMate. So by all means hbIDE is destined to carry more features than xMate which is/was its mission statement. hbIDE is supposed to provide more natural way how we programmers think of to manage our projects and which other features we may need in the future. As it is entirely based on PRG code, and alo it employs a powerful plugin ( .prg, .hrb ) formats, it can be extended to any extend a develpers wants it to be. Still hbIDE is very young, only six months old, almost started crawling, so expect that it will empower you with a lot in near future.