topic
stringlengths
1
63
text
stringlengths
1
577k
Bcc72 Prsht.h resource compile error
Antonio This is the only error I get when I compile my .rc files [code=fw:339jotpz]<div class="fw" id="{CB}" style="font-family: monospace;"><br />WORKORD.RC<br />WORKRPT.RC<br />WORKTECH.RC<br />WORKVEH.RC<br />WOTIRE.RC<br />WRKADD.RC<br />xplook.rc<br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;">1</s...
Bcc72 Prsht.h resource compile error
Can I have the RC file to test here? EMG
Bcc72 Prsht.h resource compile error
Enrico The e-mail is on its way to you .. I included both header files and have marked the locations I rem'd out. Rick Lipkin
Bcc72 Prsht.h resource compile error
Sorry Rick, I need the .RC file not the .H files (that I already have in my BCC72, of course). EMG
Bcc72 Prsht.h resource compile error
Enrico I have sent you my contribution sample AdoRick.prg and AdoRick.rc and have added the Resedit include files to the .rc .. see below. Rick Lipkin [code=fw:2wplzzw7]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #B900B9;">// Generated by ResEdit 1.6.6</span><br /><span style=...
Bcc72 Prsht.h resource compile error
I simply commented out these lines from the .RC: [code=fw:361sha1q]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #B900B9;">//#include <windows.h></span><br /><span style="color: #B900B9;">//#include <commctrl.h></span><br /><span style="color: #B900B9;">//#include <richedit.h></span><br...
Bcc72 Prsht.h resource compile error
Enrico I realize that you can take out the include files and I wish I had a 32\64 bit resource editor like Resource Workshop .. but unfortunately, for Resedit to work properly, Resedit needs to see those include files in the .rc. I have hundreds of .rc's configured to open under Resedit .. I wish I have a better reso...
Bcc72 Prsht.h resource compile error
Ok, understood. EMG
Bcc72 Prsht.h resource compile error
[quote="Rick Lipkin":1oreb9hy]To fix in line 283 of Combaseapi.h rem out the entire line // #define PURE[/quote:1oreb9hy] Severe warning! With this change BCC no longer compiles C modules! So, never ever modify the include files of your C compiler! <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title...
Bcc72 Prsht.h resource compile error
Enrico I have been searching for another Resource Editor other than Resedit that has no Include dependencies .. On a side note .. the ResEdit.net website has been hacked and has been blacklisted. I downloaded a new verson of Resedit last week and I ended up getting a terrible virus that wrecked my laptop. Needless to ...
Bcc72 Prsht.h resource compile error
[quote="Rick Lipkin":2hlav0r9]Enrico I have been searching for another Resource Editor other than Resedit that has no Include dependencies .. On a side note .. the ResEdit.net website has been hacked and has been blacklisted. I downloaded a new verson of Resedit last week and I ended up getting a terrible virus that w...
Bcc72 Prsht.h resource compile error
Enrico Thank you VERY much! I will check it out. Rick Lipkin
Bcc72 Prsht.h resource compile error
Enrico, great work, congratulations <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> An english version would be very useful
Bcc72 Prsht.h resource compile error
Thank you. I'll think about it. <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> EMG
Bcc72 Prsht.h resource compile error
Enrico, thanks What do I do wrong? I am not allowed to use it [img:3i6tw3df]https&#58;//s22&#46;postimg&#46;org/wcybaa9kh/emag01&#46;png[/img:3i6tw3df]
Bcc72 Prsht.h resource compile error
Can you send me the offending RC file? Keep in mind that my resource editor is currently compatible with CONTROL type statements only. EMG
Bcc73
To All Just downloaded Bcc73 32 bit and I am pleased to let everyone know there is only one issue ( like bcc72 ) .. which only occurs if you Compile .rc's in your link script .. Like Bcc72 the same modification needs to be made to \bcc73\include\windows\sdk\Prsht.h by removing the trailing backslash on line 184. [q...
Bcc73
Sr. Rick, Compiling... Harbour 3.2.0dev (r1601050904) Copyright (c) 1999-2015, <!-- m --><a class="postlink" href="http://harbour-project.org/">http://harbour-project.org/</a><!-- m --> Compiling 'testdlg.prg' and generating preprocessed output to 'testdlg.ppo'... Lines 4708, Functions/Procedures 1 Generating C source...
Bcc73
please review bcc32.cfg, and modify the path.
Bcc73
Obrigado Carlos.
Bcc73
Carlos, ao usar HB_COMPILER() Me retorna Borland/Embarcadero c++ 7.0 (32 bit) não deveria ser 7.3? gracias!
Bcc73
[img:1klrzvb6]http&#58;//i&#46;imgur&#46;com/GOPdqX6&#46;png[/img:1klrzvb6] [code=fw:1klrzvb6]<div class="fw" id="{CB}" style="font-family: monospace;">?HB_Compiler<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>,OS<span style="color: #000000;">&#40;</span><span style="color: #000000...
Bcc73
i build my harbour and xharbour compilers. [code=fw:dimjmqgu]<div class="fw" id="{CB}" style="font-family: monospace;">?HB_Compiler<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span></div>[/code:dimjmqgu] return the c compiler used for build the compiler not the exe.
Bcc73
To All In order for HB_Compiler() to work properly .. you have to use the matching xHarbor build for Bcc73. You can go to xHarbour.org <!-- m --><a class="postlink" href="http://xharbour.org/index.asp?page=download/windows/binaries_win">http://xharbour.org/index.asp?page=down ... naries_win</a><!-- m --> Look for 10...
Bcc73
After: <!-- m --><a class="postlink" href="http://whosaway.com/">http://whosaway.com/</a><!-- m --> Worked perfect <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D --> Rick, Carlos: Would you know which improvements to use BCC73?
Bcc73
Hi Carlos. I had just download an evaluation versión from Embarcadero. (for evaluation only) The message still show Versión 7.0 an the Windows versión it's tha same of yours. Any suggestion? Regards Ruben Fernandez
Bcc73
[url:3v91a64g]http&#58;//www&#46;xharbour&#46;org[/url:3v91a64g] EMG
Bcc73
Thank you Enrico. Regards Ruben Dario Fernandez
Bcc73
Master Enrico, porquê me muestra BCC7.2 ? Estoy con la versión correcta. [code=fw:3d7xjxwd]<div class="fw" id="{CB}" style="font-family: monospace;"><br />I<span style="color: #ff0000;">"C:<span style="color: #000000;">\B</span>CC73<span style="color: #000000;">\i</span>nclude"</span>;<span style="color: #ff0000;">"C...
Bcc73
No comprendo, [img:1v5myvnu]https&#58;//i&#46;imgur&#46;com/eKdyWzy&#46;png[/img:1v5myvnu] Regards, saludos.
Bcc73
Con Harbour muestra 7.0 ??? No comprendo, [img:14p0t3o7]https&#58;//i&#46;imgur&#46;com/8N2RzGI&#46;png[/img:14p0t3o7] Regards, saludos.
Bcc73
Resuelto, mi xHarbour en la versión incorrecto. [img:2m40fsp8]https&#58;//i&#46;imgur&#46;com/H99kKs6&#46;png[/img:2m40fsp8] Mil desculpas. Many thanks. Regards, saludos.
Bcc73
Can I see the source code you are using? EMG
Bcc73
C:\FWH..\SAMPLES\MNU02.PRG [code=fw:ruhbv6g2]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"Fivewin.ch"</span><br /><br /><span style="color: #B900B9;">//-----------------------------------------------------------------------...
Bcc73
This is what I get: [code=fw:26esj2o9]<div class="fw" id="{CB}" style="font-family: monospace;">Borland/Embarcadero C++ <span style="color: #000000;">7.3</span> <span style="color: #000000;">&#40;</span><span style="color: #000000;">32</span>-bit<span style="color: #000000;">&#41;</span> Windows <span style="color: #0...
Beacon
[b:2gghhk5m][u:2gghhk5m][size=150:2gghhk5m]BEACON[/size:2gghhk5m][/u:2gghhk5m][/b:2gghhk5m] Good night I have created a SLACK in which I have attached the initial documentation about BEACON. It is an introduction and 10 initial examples so that you can get an idea of ??the technique that is used, but I am willing to an...
Beacon table
Dear Cristobal, May I ask you which TABLE componente you use in Beacon, or have you built one yourself? Best regards Otto
Beacon table
Dear Otto Use, until now DATATABLE, always trying to implement it with AJAX. In the near future you may add other table controls than DATATABLE
Beacon table
Dear Cristobal, I ask because I think a homemade browser might be easier for simple tasks and for beginners. I have to look at seamap.prg again. Maybe we can just expand that. Mr. Rao has posted a function where you can easily create a table. This function would also be optimal. Best regards, Otto
Beacon table
Dear Otto Yes, I have also had a function for years to make an html table from a data source (array), but for me it is essential that privacy is maintained. That is the reason for using AJAX and that when you see "Source code" on a web page, you do not see the data contained in the table. I hope I have explained myself...
Beacon table
Dear Cristobal, I think one of the problems for beginners is that getting started is too complicated. If we now use AJAX, then the matter is already more complex than a simple table. I mean, I have a minimal application here, a simple list of links. So far, I have been maintaining the database with the DBU. Yesterday I...
Beacon table
Dear Otto With Beacon, [code=fw:bucca6lj]<div class="fw" id="{CB}" style="font-family: monospace;"><br />Tables<span style="color: #000000;">&#40;</span> oMain, oCard:<span style="color: #000000;">oBodyCard</span>, nInd, <span style="color: #ff0000;">"SimpleAccessData"</span>, <span style="color: #000000;">&#123;</spa...
Beacon table
Dear Otto, > A function AP_xbrowse (), AP_recordEdit (), AP_Login() would be ideal I fully agree with you <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
Beacon table
Hi, [quote="cnavarro":dhahof4r]Yes, I have also had a function for years to make an html table from a data source (array), but for me it is essential that privacy is maintained. That is the reason for using AJAX and that when you see "Source code" on a web page, you do not see the data contained in the table[/quote:dh...
Beacon table
Hi, [quote="Antonio Linares":2wxobswd] > A function AP_xbrowse (), AP_recordEdit (), AP_Login() would be ideal I fully agree with you <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->[/quote:2wxobswd] About xBrowse... [code=fw:2wxobswd]<div class="fw" id="{CB}" style="f...
Bed and Breakfast
I need a booking for the reservation of rooms for the morning and/or for the afternoon or for the whole day. I can't use neither Tplan nor Tgant because it is not possible to divide the days into two AM and PM parts. Is there anyone who can help me?
Bed and Breakfast
Hola Silvio: Te puede servir la clase TCalex [url=https&#58;//ibb&#46;co/MnDWQv1:2vfkewz9][img:2vfkewz9]https&#58;//i&#46;ibb&#46;co/CB5NDc9/Sin-t-tulo&#46;jpg[/img:2vfkewz9][/url:2vfkewz9]
Bed and Breakfast
Hi Could you share some samples of this class . How do you save and read data into/from a table ? Thanks
Bed and Breakfast
[quote="Jack":234v8gex]Hi Could you share some samples of this class . How do you save and read data into/from a table ? Thanks[/quote:234v8gex] wich class ? calex ? CLASS SampleCalex sample01.prg samples folder But this class not manage the Am and PM as I wish
Beep exiting dialogs
Try to close this dialog using ESC and you will hear a beep: [code:noa8nequ]#include "Fivewin&#46;ch" FUNCTION MAIN&#40;&#41; LOCAL oDlg LOCAL oGet LOCAL cVar &#58;= SPACE&#40; 30 &#41; DEFINE DIALOG oDlg @ 1, 1 GET oGet VAR cVar @ 3, 1 BUTTON "&Close" ACTION oDlg&#58;End&#40;&#41; ...
Beep exiting dialogs
Enrico, Is that for the new release? I do not hear a beep using FW2.7, May 2005 build. James
Beep exiting dialogs
[quote="James Bott":181bwotg]Enrico, Is that for the new release? I do not hear a beep using FW2.7, May 2005 build. James[/quote:181bwotg] Yes, February build. EMG
Beep exiting dialogs
Enrico, It is something related with the GET because if the button has the focus, then there is no beep. We are searching... <!-- s:) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /><!-- s:) -->
Beep exiting dialogs
Fixed: [code:1hp4l3ml] METHOD KeyChar&#40; nKey, nFlags &#41; CLASS TGet local nHi, nLo local lAccept local bKeyAction &#58;= SetKey&#40; nKey &#41; local nDefButton if nKey == VK_ESCAPE // new return 1 endif &#46;&#46;&#46; [/cod...
Beep exiting dialogs
Thank you! EMG
Beep exiting dialogs
Enrico, This is the right code: [code:20immp4n] METHOD KeyChar&#40; nKey, nFlags &#41; CLASS TGet local nHi, nLo local lAccept local bKeyAction &#58;= SetKey&#40; nKey &#41; local nDefButton if nKey == VK_ESCAPE // avoids a beep! &#58;&#58;oWnd&#58;KeyChar&#40; nKey, nFlags &#41; return 1...
Beep exiting dialogs
Thank you again! EMG
Beep on ALT-key
I'm trying to trap ALT-key. It works, but I hear a sound. How can I avoid it? EMG
Beep on ALT-key
For Example? Regards.
Beep on ALT-key
Just press ALT-letter on any dialog. EMG
Beep on ALT-key
Button, Listbox, combo, Where? Do you have a test code? Regards.
Beep on ALT-key
Normal. Master, see if you haven't connected anything in the windows settings. [code=fw:ff6cm40a]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #B900B9;">// Testing NON-Modal Dialog Boxes - \SAMPLES\TESTDLGN.PRG</span><br /><br /><span style="color: #00D7D7;">#include</span> <spa...
Beep on ALT-key
Yes, as I want to handle the ALT-key combination through bKeyDown not with a menu item. EMG
Beep on ALT-key
Master: En wBrowse.prg o Dialog.prg haga esto: In wBrowse.prg or Dialog.prg... [code=fw:11q6fkgx]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br />&nbsp; &nbsp;<span style="color: #00C800;">DATA</span> &nbsp; bAltKey<br /><br />&nbsp; &nbsp; <span style="color: #B900B9;">// Para Acionamento da Te...
Beep on ALT-key
Thank you, but I don't want to change FWH sources. EMG
Beep on ALT-key
ok. ahora, és con el maestro Cristóbal. Regards, saludos.
Beep on ALT-key
Enrico, I believe that this characteristic is changed in the configuration of the Operating System.
Beep on ALT-key
So, it cannot be disabled programmatically? EMG
Beep on ALT-key
Enrico, I will remember that we changed for a similar case METHOD HandleEvent( nMsg, nWParam, nLParam ) CLASS TControl case nMsg == WM_SYSCOMMAND return ::SysCommand( nWParam, nLoWord( nLParam ), nHiWord( nLParam ) ) Best regards, Otto
Beep on ALT-key
I don't want to alter the FWH source code. Anyway, I tried with OVERRIDE command and it didn't work (the program didn't start). EMG
Beep on ALT-key
Enrico, You don't have to modify the source, you can subclass instead. James
Beep on ALT-key
Subclass TControl? Don't think that class is thought for subclassing. EMG
Beep with Harbour MSVC
I'm now getting a very annoying beep for each keystroke in a get field using Harbour 3.0 FWH 12.04 MSVC 2010 I do not get it when building with xHarbour ( .com ) and xCC I also do not get it in a memo field. Also it beeps when a dialog is displayed, and when pressing a bitmap control. Any ideas how to shu...
Beep with Harbour MSVC
No ideas on this ? Its very annoying. SET BELL OFF does not help.
Beep with Harbour MSVC
Tim, Can you post a self contained example to test, i just build all applications with mvc and no issue ? Regards,
Beep with Harbour MSVC
Programming has strange happenings ! I took my main window, blocked commented out the bar and menu, and no sound. Then I started adding back. I came down to one Shell Execute in the menu which I eliminated ( won't need it ) and it remains quiet. This was so very strange ! It only occured on Harbour builds, and I h...
Beep with Harbour MSVC
good <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
Beginners Error With ADO (Harbour)
I'm trying to get my feet wet with ADO in Harbour, but I'm evidently missing a necessary file. When I attempt to compile my simple code, I get the following compile error: Error: Unresolved external '_HB_FUN_ADORDD' referenced from C:\32BIT\OCW\DEBUG\TRANSFER.OBJ Can anyone tell me what I didn't add to my project th...
Beginners Error With ADO (Harbour)
HI, I think that u need add lib rdd.lib in your project.
Beginners Error With ADO (Harbour)
Michael, Are you linking AdoRdd.lib ?
Beginners Error With ADO (Harbour)
No I didn't, and that was the problem. <!-- s:) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /><!-- s:) --> Once I added that lib and usrrdd.lib to the .mak file, everything worked perfectly. Thank you.
Beginners Error With ADO (Harbour)
Ok, maybe not "perfectly". <!-- s:) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /><!-- s:) --> I can now open and browse the database I'm after, but when I hit the last record by scrolling down the browse or with a simple skip command, I get the following error: Error description: Error ADOD...
Beginners Error With ADO (Harbour)
FYI, I was able to work around the problem, and convert the data I was after by calling a recnumber() function and using a while loop to make sure it never tried to skip past the last record. I'd still like to make sure I'm using the current libs.
Beginners Error With ADO (Harbour)
Michael, It seems as you are using Access database engine and see the comment in the error line that you have posted: > ------> IF oADO:Status == adRecDeleted // To be checked, ACCESS does not uses it <------- It seems as Access does not support it. Try to comment those lines and check it again, thanks <!-- s:-) -->...
Behavior of dialog elements and the ENTER key with FWH 11.12
Hi to all, I'm still not clear with the behavior of some dialog elements and what FWH users want. Understanding that there is a standard Clipper and a standard windows behavior and they are different in some points: [b:rdzg9muf]Clipper[/b:rdzg9muf] shall function as follows: - ENTER key: focus changes to next dialog...
Behavior of dialog elements and the ENTER key with FWH 11.12
[quote="frose":1aiumm1e]- ENTER key: focus changes to next dialog element[/quote:1aiumm1e] Only if no button is defined as standard button. [quote="frose":1aiumm1e]- Entering an element with TAB or ENTER key: the text isn't selected automatically[/quote:1aiumm1e] It's a good choice for me. Anyway, it should be very ...
Behavior of dialog elements and the ENTER key with FWH 11.12
[quote:ugtpzwht]frose wrote:- Entering an element with TAB or ENTER key: the text isn't selected automatically[/quote:ugtpzwht] In clipper the picture "@K" makes the first key erase the contents. Shouldn't the windows version also do the same thing? And if it is going to erase the contents shouldn't it be selected so ...
Behavior of dialog elements and the ENTER key with FWH 11.12
[quote:2ep7y8xt][quote:2ep7y8xt]frose wrote:- ENTER key: focus changes to next dialog element[/quote:2ep7y8xt] Enrico wrote: Only if no button is defined as standard button.[/quote:2ep7y8xt] It works with the 'DEFAULT' clause, but [color=#FF0000:2ep7y8xt]not[/color:2ep7y8xt] when the focus is in the combo box! [quote:...
Behavior of dialog elements and the ENTER key with FWH 11.12
[quote="frose":3tx8sxwb]It works with the 'DEFAULT' clause, but [color=#FF0000:3tx8sxwb]not[/color:3tx8sxwb] when the focus is in the combo box![/quote:3tx8sxwb] Ok, the combobox behavior definitely needs to be fixed. [quote="frose":3tx8sxwb]Ok, understanding the need for backwards compatibility, so please, implement...
Behavior of dialog elements and the ENTER key with FWH 11.12
[quote:2dgksk2y]frose wrote:- Entering an element with TAB or ENTER key: the text isn't selected automatically[quote:2dgksk2y]Gale FORd wrote: In clipper the picture "@K" makes the first key erase the contents. Shouldn't the windows version also do the same thing?[/quote:2dgksk2y][/quote:2dgksk2y] Yes! [quote:2dgksk2y]...
Behavior of dialog elements and the ENTER key with FWH 11.12
The first key does erase the text if picture "@K" is used but it does not select all text so the user can know. I had to modify my tget so that selectall() is used when it has picture "@K".
Behavior of dialog elements and the ENTER key with FWH 11.12
Gale, thank you for the "@K". I think the best way is, if Antonio changes the TGet class for FWH 12.01, calling the SelectAll() method when entering the get field.
Behavior of dialog elements and the ENTER key with FWH 11.12
Antonio, please change the behavior of the COMBOBOX, when the ENTER key is clicked: executes the action of the standard button! IMHO the text of the GET shall be selected automatically when entering (like the COMBOBOX already do), maybe depending of the PICTURE clause!? In any case, make both, COMBOBOX and GET actin...
Behavior of dialog elements and the ENTER key with FWH 11.12
Frank, Is it an editable combobox ? Windows behavior is to fire the default pushbutton action. What we are doing is MsDos backwards compatibility... <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
Behavior of dialog elements and the ENTER key with FWH 11.12
Antonio, yes! Please test the COMBOBOX and the GET within this sample: [code=fw:1665mqnv]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">FUNCTION</span> main<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br />   <span style="color: #0...
Behaviour of GET on TMDIChild differs from TDialog
Hello, I'm a long time ClipperHead programmer and now a newbie in Fivewin converting an aplication to graphical. Our aplication is MDI and we are working with the MDIClhild windows. When I place a GET in the window the result is diferent that if I place it on a dialog. The GET lacks the 3D effect, see image: [img:a81r...
Behaviour of GET on TMDIChild differs from TDialog
Josep You can add themes support which will change the appearance of your controls and give them a much more professional look. Look for the resource file called xplook.rc \fwh\samples\winxp and the WindowsXp.Manifest file. Copy them to your project folder, Edit xplook.rc with notepad and change the path of the manfe...
Behaviour of GET on TMDIChild differs from TDialog
Hi Rick, many thanks. This did the trick. But copying the manifest file as name.exe.manifest in the aplication folder. Compiling with the rc file doesn't work. Is necessary any other step besides to compiling the manifest file as a resource ? Thanks again Josep.
Behaviour of GET on TMDIChild differs from TDialog
Josep Take the code below and save it to the file xplook.rc. Make sure the Windows.Manifest file is located in the same folder as xplook.rc, then compile the file xplook.rc into your exe. Rick [code=fw:xldk5m3o]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br />#ifdef __FLAT__<br />   <span style=...
Behaviour of GET on TMDIChild differs from TDialog
Josep, Also keep in mind that dialogboxes use "dialog base units" meanwhile the MdiChild windows use pixels: <!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?p=119360#p119360">viewtopic.php?p=119360#p119360</a><!-- l -->