topic
stringlengths
1
63
text
stringlengths
1
577k
Can we read a massive online directory structure ?
In a Prestashop shopcard, the pictures are saved in a huge amount of directories. I see more that 4.000 !!! dir/subdirs/subdir/subdir/ ..... The structure must be enormous. I would like to populate a Xbrowse with the structure and all of it's subdirs, and also the filenames that are into it. I can then call a Xbrowse lookup for the file, and the locate inside the directory is given. How can we do this in a online website
Can we read a massive online directory structure ?
Have you considered using PrestaShop's web service? You might have it there. [url:3ubx7hi3]http://doc.prestashop.com/display/PS16/Chapter+9+-+Image+management[/url:3ubx7hi3] Regards
Can we read a massive online directory structure ?
Thanks. I look into it, but If I can get this done by FWH, I can update/upload the files directly from FWH.
Can we turn off FWDbg ? No .dll found !
I recently downloaded 10.05. I'm working with an XML transmission and I get an alert that says "FWDbg.dll not found. Impossible to continue". I assume there is a call to SET RESOURCES TO "FWDbg.dll", and when it can't be found, I get the alert. However, when pressing OK, the code then executes properly. I cannot find FWDbg.dll anywhere and it would appear it is an older file no longer distributed. Could some code have been left in a .prg from testing that would be calling this I did a text scan of all my code and it isn't used anywhere. The new libs I'm using don't even use FW. Any help would be greatly appreciated. If we can't find the source of the call, then getting a copy of FWDbg.dll would at least eliminate the error.
Can we turn off FWDbg ? No .dll found !
Hello Tim, do you use UeStudio. If so there is a combobox where you can select Release or Debug mode. Best regards, Otto
Can we turn off FWDbg ? No .dll found !
I use xHarbour xBuilder. Certainly there must be a call to turn off the debugger that I can put into my code, but I cannot find anything in the docs or these forums. Is their a SET option that can be used in the MAIN( ) program ? I do have the debugger options un-checked in xBuilder
Can we turn off FWDbg ? No .dll found !
Anyone ? Please ?
Can we turn off FWDbg ? No .dll found !
Hello Tim, If you see this alert message, you have some flag of debugging in the compiler (/b). This activates the internal debugger and activates FWDbg. If not found FwDbg.dll then the message appears. Can you see this dll in dll folder of fwh ?
Can we turn off FWDbg ? No .dll found !
I only have default flags set for the compiler, and the link script has all references to debug as .F. No, the .dll is not in the latest FWH folder ( 10.05 ). Is there a flag to force it to not debug ?
Can we turn off FWDbg ? No .dll found !
Tim, FWdbg only work fine in Harbour and xHarbour, but not in xH builder. I dont understand why you app start FWDbg if u dont have any flag of debugging. I think that xH builder have their debug. I think that you can have problems using FWDbg. I will try to solve possible bugs in Harbour and xHarbour. I don't use xHarbour Builder, i'm sorry <!-- s:( --><img src="{SMILIES_PATH}/icon_sad.gif" alt=":(" title="Sad" /><!-- s:( -->
Can we turn off FWDbg ? No .dll found !
The xBuilder debug options are all OFF. I never had this problem before but now I'm using some new libs. Debug is NOT implemented in any of them.
Can we turn off FWDbg ? No .dll found !
Tim, If you compile for example tutor01.prg , appears the alert message of FWDbg.dll again ?
Can we turn off FWDbg ? No .dll found !
Tim, getting the same error message. This message comes up, if some debug codes are still in any obj-files when building the project without debug flag. For me 'Force clean build' turn off this error message <!-- s:) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /><!-- s:) -->
Can we turn off FWDbg ? No .dll found !
Unfortunately Force Rebuild didn't do the job here ... I've tried it a couple of times. I had to remove the error message from the source and link the FWdbg.prg file into my code. I don't understand why it would even call a file that doesn't exist in the current build ( FWDbg.dll ). Secondly, I never use the debugger and my xBuilder has never had the debugger flags turned on. Finally, I don't know why there is not a flag, ie. SET FWDEBUG OFF that would disable it completely. I'd sure appreciate some answers to this. Tim
Can we turn off FWDbg ? No .dll found !
Tim, I'll try to help you but u have to know that i don't use xH builder. I'm thinking that Frank have reason and i think the same. Is posible that you have some obj compiled with a flag /b. Can you delete all obj's and rebuild all your app ? And another question, if you compile with you environment for example tutor01 of fwh, also appears message alert ?
Can we turn off FWDbg ? No .dll found !
Hiho, I'm having the same problem with UEStudio, I wonder if they found a solution to the case. Grateful
Can we turn off FWDbg ? No .dll found !
[img:bdydpe5o]http&#58;//www&#46;atzwanger-software&#46;com/fw/uestudio&#46;jpg[/img:bdydpe5o]
Can we turn off FWDbg ? No .dll found !
I you have no linenumbers inside your errorlog remove this flag. Best regards, Otto [img:28vzhq1k]http&#58;//www&#46;atzwanger-software&#46;com/fw/uestudio2&#46;jpg[/img:28vzhq1k]
Can we turn off FWDbg ? No .dll found !
Apart from the question how to turn on or off debug, one important point raised by Mr. Tim is to be answered. [quote:20l35n0e]I don't understand why it would even call a file that doesn't exist in the current build ( FWDbg.dll ). [/quote:20l35n0e] I am using FWH borland. I do not have FWHDBG.DLL. Then why should FWH libraries call a DLL which is not distributed? Or the distribution should include that DLL.
Can we turn off FWDbg ? No .dll found !
Rao, The FWDBG.DLL is located in FWH\DLL folder. It contains the resources used by the FWH debugger. If the DLL is getting loaded (or tried to be loaded) then it means that a linked OBJ has been compiled used /B.
Can we turn off FWDbg ? No .dll found !
Mr. Antonio This is the directory listing on my computer ( fwh 10.6 ). [code=fw:n5997bof]<div class="fw" id="{CB}" style="font-family: monospace;"> Volume in drive C has no label.<br />&nbsp;Volume Serial Number is 82B7-57D9<br /><br />&nbsp;Directory <span style="color: #0000ff;">of</span> C:\FWH\dll<br /><br /><span style="color: #000000;">13</span><span style="color: #000000;">-07</span><span style="color: #000000;">-2010</span> &nbsp;<span style="color: #000000;">09</span>:<span style="color: #000000;">34</span> AM &nbsp; &nbsp;<DIR> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;.<br /><span style="color: #000000;">13</span><span style="color: #000000;">-07</span><span style="color: #000000;">-2010</span> &nbsp;<span style="color: #000000;">09</span>:<span style="color: #000000;">34</span> AM &nbsp; &nbsp;<DIR> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;..<br /><span style="color: #000000;">13</span><span style="color: #000000;">-07</span><span style="color: #000000;">-2010</span> &nbsp;<span style="color: #000000;">09</span>:<span style="color: #000000;">34</span> AM &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;">0</span> dir.txt<br /><span style="color: #000000;">11</span><span style="color: #000000;">-06</span><span style="color: #000000;">-2010</span> &nbsp;<span style="color: #000000;">07</span>:<span style="color: #000000;">54</span> AM &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;">1</span>,<span style="color: #000000;">245</span> files.txt<br /><span style="color: #000000;">11</span><span style="color: #000000;">-06</span><span style="color: #000000;">-2010</span> &nbsp;<span style="color: #000000;">07</span>:<span style="color: #000000;">54</span> AM &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;">2</span>,<span style="color: #000000;">084</span>,<span style="color: #000000;">864</span> freeimage.dll<br /><span style="color: #000000;">11</span><span style="color: #000000;">-06</span><span style="color: #000000;">-2010</span> &nbsp;<span style="color: #000000;">07</span>:<span style="color: #000000;">54</span> AM &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #000000;">61</span>,<span style="color: #000000;">440</span> prev32.dll<br /><span style="color: #000000;">11</span><span style="color: #000000;">-06</span><span style="color: #000000;">-2010</span> &nbsp;<span style="color: #000000;">07</span>:<span style="color: #000000;">54</span> AM &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #000000;">61</span>,<span style="color: #000000;">440</span> prev32sp.dll<br /><span style="color: #000000;">11</span><span style="color: #000000;">-06</span><span style="color: #000000;">-2010</span> &nbsp;<span style="color: #000000;">07</span>:<span style="color: #000000;">54</span> AM &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;">365</span> rc2dll32.bat<br /><span style="color: #000000;">11</span><span style="color: #000000;">-06</span><span style="color: #000000;">-2010</span> &nbsp;<span style="color: #000000;">07</span>:<span style="color: #000000;">54</span> AM &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;">340</span> screen32.c<br /><span style="color: #000000;">11</span><span style="color: #000000;">-06</span><span style="color: #000000;">-2010</span> &nbsp;<span style="color: #000000;">07</span>:<span style="color: #000000;">54</span> AM &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #000000;">46</span>,<span style="color: #000000;">080</span> screen32.dll<br /><span style="color: #000000;">11</span><span style="color: #000000;">-06</span><span style="color: #000000;">-2010</span> &nbsp;<span style="color: #000000;">07</span>:<span style="color: #000000;">54</span> AM &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;">1</span>,<span style="color: #000000;">701</span> screens.txt<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #000000;">9</span> File<span style="color: #000000;">&#40;</span>s<span style="color: #000000;">&#41;</span> &nbsp; &nbsp; &nbsp;<span style="color: #000000;">2</span>,<span style="color: #000000;">257</span>,<span style="color: #000000;">475</span> bytes<br />&nbsp;</div>[/code:n5997bof] Possible that the installation could be incomplete. I shall reinstall again and confirm.
Can we turn off FWDbg ? No .dll found !
I installed fwh 10.6 once again after deleting c:\fwh folder. Still the \fwh\dll folder does not contain fwdbg.dll. But I observed a peculiar thing while installing FWH.EXE on my Windows-7 (32 bit ) computer. After installing, this message appeared on the screen: [url=http&#58;//img30&#46;imageshack&#46;us/my&#46;php?image=installr&#46;jpg:1wqvvebr][img:1wqvvebr]http&#58;//img30&#46;imageshack&#46;us/img30/310/installr&#46;jpg[/img:1wqvvebr][/url:1wqvvebr] I clicked "Reinstall using recommended options". It reinstalled once again, this time with no complaints.
Can we turn off FWDbg ? No .dll found !
[quote:hstvb8ii]it means that a linked OBJ has been compiled used /B.[/quote:hstvb8ii] I suppose it could be that one of the FWH source files was linked with the /B parameter. And perhaps is it only rarely used so it doesn't always generate the error. James
Can we turn off FWDbg ? No .dll found !
Hi friends, If the program is trying to load the fwdbg.dll, is there any prg module that was compiled with the flag /b. When it is executed generates an internal entry in the debugger module. It's true, we could solve this type of errors simply blocking the message, but this does not mean that every time the system enters the debugger and go out again without our notice, but this process would produce internally. I think it is not the right solution. The correct solution is re-compiled all modules without /b (i think...) Nageswaragunupudi, fwdbg.dll exist in .\samples folder. Maybe the most correct is that it shouldd be in the folder .\dll
Can we turn off FWDbg ? No .dll found !
It might be a 3rd party library. When I reported the problem, the person who gave me the files does not use the /B on any files and was also not using FWH. It may have been a FWH newer version that became sensitive to this problem. I don't use /B and I also have very little in the way of 3rd party files that I don't rebuild myself.
Can we turn off FWDbg ? No .dll found !
Tim, I'm sorry but I don't agree with this assertion. I think that FWDbg is part of FWH, but anyway this is not my decision. Anyway, we must find a solution. You can easily add this line of code and we can see the message which module has the call from the debugger and rebuild it again here if needed. FWDbg.prg -> line 205 [code=fw:1zpq10ng]<div class="fw" id="{CB}" style="font-family: monospace;">MsgStop<span style="color: #000000;">&#40;</span> ::<span style="color: #000000;">cResFile</span> + <span style="color: #ff0000;">" not found, imposible to continue"</span> + CRLF + CRLF + ;<br />         <span style="color: #ff0000;">"Entry Point: "</span> + ProcFile<span style="color: #000000;">&#40;</span><span style="color: #000000;">2</span><span style="color: #000000;">&#41;</span> + <span style="color: #ff0000;">' -> '</span>          + ;<br />                           ProcName<span style="color: #000000;">&#40;</span><span style="color: #000000;">2</span><span style="color: #000000;">&#41;</span> + <span style="color: #ff0000;">'('</span>             + ;<br />                           Ltrim<span style="color: #000000;">&#40;</span>Str<span style="color: #000000;">&#40;</span>ProcLine<span style="color: #000000;">&#40;</span><span style="color: #000000;">2</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span> + <span style="color: #ff0000;">')'</span> , ;<br />         <span style="color: #ff0000;">"FWH Debugger Error"</span> <span style="color: #000000;">&#41;</span></div>[/code:1zpq10ng] I tried to execute without FWdbg.dll and the result is: [url=http&#58;//img204&#46;imageshack&#46;us/i/image1gu&#46;jpg/:1zpq10ng][img:1zpq10ng]http&#58;//img204&#46;imageshack&#46;us/img204/3530/image1gu&#46;jpg[/img:1zpq10ng][/url:1zpq10ng] I insist that we must find the right solution. So far I have found only users who have encountered problems using UE, and is simply a compilation error flags. You can try this solution to see if it can help fix this?
Can we use ActiveX DLL with FW24
FW, Can we use ActiveX DLL with FW24. If posible kindly show samples. Thanks, Jose
Can we use ActiveX DLL with FW24
No, sorry. ActiveX is 32 bits code and can only be used from FWH and Harbour/xHarbour
Can we use ActiveX DLL with FW24
Antonio, Kindly check if this third party product can be use from FW24. If okay please show samples. Thank you, Jose <!-- m --><a class="postlink" href="https://www.anzio.com/support/documentation/printwiz/Using%20Print%20Wizard%20in%20your%20own%20application.htm">https://www.anzio.com/support/documenta ... cation.htm</a><!-- m -->
Can we use ActiveX DLL with FW24
Jose, It seems as they provide a 32 bits DLL: printwiz.dll You can access some 32 bits DLLs from FW 16 bits, but never an ActiveX. Windows does not allow it.
Can we use ActiveX DLL with FW24
Antonio, Just curious. Can we build a dll in XHB that can be accessible from fw24/clipper (16bit) then the XHB dll access an activeX dll. I am just thinking a way to access activeX from 16bit application. Thanks for your comments. Regards, Jose
Can we use ActiveX DLL with FW24
Jose, We did a similar test to use richedit from 16 bits and it did not work
Can you implement ADO type 'adGUID' for ADS 12?
can you please expand adofuncs.prg to the type 'adGuid'? ADS 12 has the new type Guid as database field. Example: function FieldTypeAdoToDbf (nType) do case case AScan ({} 8,128,129,130,200,201,202,203,204,205, nType)> 0; return 'C' -> case AScan ({} 8,72,128,129,130,200,201,202,203,204,205, nType)> 0; return 'C' case AScan ({7, 133, 135}, nType)> 0; return 'D' case nType == 11; return 'L' Case AScan ({2, 3, 4, 5, 6, 14, 16, 17, 18, 19, 20, 21, 131, 139}, nType)> 0; return 'N' endcase return "" function FWAdoFieldStruct (ORS, n) .... nType: = oField: Type if nType == adBoolean cType: = 'L' nLen: = 1 elseif nType == adGUID <------ cType: = 'C' nLen: = 36 ... thank you Manfred
Can you implement ADO type 'adGUID' for ADS 12?
Thanks We implemented your suggestion for the next release.
Can you implement ADO type 'adGUID' for ADS 12?
Thanks Manfred
Can you pass a file pattern to cGetFile()
Hi Antonio I just started trying the cGetFile() function. Looks great but I would like to be able to pass it a filter, For example if I just wanted .dbf files I would like to be able to do something like [code:9eb2w1fe]sChosenFile &#58;= cGetFile&#40; " *&#46;dbf" &#41;[/code:9eb2w1fe] Is this possible? Thanks Doug (xProgrammer)
Can you pass a file pattern to cGetFile()
Try this: [code:15a4ymer]cDbf = CGETFILE&#40; "File DBF &#40;*&#46;DBF&#41;|*&#46;DBF", "Apri tabella&#46;&#46;&#46;", , CURDRIVE&#40;&#41; + "&#58;\" + CURDIR&#40;&#41; &#41;[/code:15a4ymer] EMG
Can you pass a file pattern to cGetFile()
Thanks for the suggestion but it didn't work. Remember we are talking Linux here. Regards Doug (xProgrammer)
Can you pass a file pattern to cGetFile()
Ops! Sorry. EMG
Can you run a RMK file from an exe?
Can you run a RMK file from an exe? If so how?
Can you run a RMK file from an exe?
Hello Harvey, The part from the Tools, to create a Exe-File : F needed, You can call a Editor to check the PRG, before creating a EXE-file You can find < Angelwriter > in the Main-directory of the Tools. [code=fw:1gz42x05]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00C800;">FUNCTION</span> MAKE_Exe<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br />c_path := CURDRIVE<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> + <span style="color: #ff0000;">":<span style="color: #000000;">\"</span> + GETCURDIR()  <br /><br />IF FILE ( c_path + "</span>\PROJECT.PRG<span style="color: #ff0000;">" )<br />    // If File exists open with Editor<br />    WAITRUN( "</span>Angelwriter.exe PROJECT.PRG<span style="color: #ff0000;">" ) // Open PRG with Editor<br />    // Close Editor and create EXE-File<br />    IF MsgYesNo( "</span><span style="color: #00C800;">Do</span> you want <span style="color: #0000ff;">to</span> Create / Run : <span style="color: #ff0000;">" + CRLF + ;<br />                            c_path + "</span>\PROJECT.PRG<span style="color: #ff0000;">" + "</span> ?<span style="color: #ff0000;">","</span>PROJECT<span style="color: #ff0000;">")<br />                WAITRUN( "</span>GO1.BAT<span style="color: #ff0000;">"  )<br />        IF FILE ( c_path + "</span>\PROJECT.EXE<span style="color: #ff0000;">" )<br />            WINEXEC( "</span>&c_path\PROJECT.EXE<span style="color: #ff0000;">" )<br />        ELSE<br />            MsgAlert( "</span>The EXE-File : <span style="color: #ff0000;">" + CRLF + ;<br />                         "</span>is not created !<span style="color: #ff0000;">","</span>Error<span style="color: #ff0000;">" )<br />        ENDIF<br />    ENDIF<br />ELSE<br />    MsgAlert( "</span>The File : <span style="color: #ff0000;">" + CRLF + ;<br />            "</span>&c_Path\PROJECT.PRG<span style="color: #ff0000;">" + CRLF + ;<br />            "</span>is not created !<span style="color: #ff0000;">", "</span>Error<span style="color: #ff0000;">" )<br />ENDIF<br /><br />RETURN(  NIL )<br /></span></div>[/code:1gz42x05] Save the 2 Lines as a BATCH-file ( change Path and Borland-version if needed ) The Batch-file GO1.BAT opens the defined MAKE-File : [code=fw:1gz42x05]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00C800;">IF</span> not exist obj md obj<br />c:\bcc55\bin\make -f Project.rmk<br /> </div>[/code:1gz42x05] CREATING a PRG from inside a Application ( NOT EASY !!! ) Sample : Background defines for Main-window The defined numeric vars ( colors ) must be converted to Strings [code=fw:1gz42x05]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00C800;">FUNCTION</span> MAKE_PRG<span style="color: #000000;">&#40;</span>nOption1,nOption2<span style="color: #000000;">&#41;</span><br /><br /><span style="color: #00C800;">IF</span> FILE <span style="color: #000000;">&#40;</span> c_path + <span style="color: #ff0000;">"<span style="color: #000000;">\P</span>ROJECT.PRG"</span> <span style="color: #000000;">&#41;</span><br />   DELETE FILE  <span style="color: #ff0000;">"&c_path<span style="color: #000000;">\P</span>ROJECT.PRG"</span><br /><span style="color: #00C800;">ENDIF</span><br /><br />oText := TTxtFile<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>:<span style="color: #00C800;">New</span><span style="color: #000000;">&#40;</span> c_path + <span style="color: #ff0000;">"<span style="color: #000000;">\P</span>ROJECT.PRG"</span> <span style="color: #000000;">&#41;</span><br /><br /><span style="color: #00C800;">IF</span> oText:<span style="color: #000000;">Open</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />   oText:<span style="color: #000000;">Add</span><span style="color: #000000;">&#40;</span><span style="color: #ff0000;">'#include "fivewin.ch"'</span> <span style="color: #000000;">&#41;</span> <br />   oText:<span style="color: #000000;">Add</span><span style="color: #000000;">&#40;</span><span style="color: #ff0000;">''</span><span style="color: #000000;">&#41;</span><br />   oText:<span style="color: #000000;">Add</span><span style="color: #000000;">&#40;</span><span style="color: #ff0000;">'STATIC hDC, oWndMain, oFont1'</span> <span style="color: #000000;">&#41;</span><br />   oText:<span style="color: #000000;">Add</span><span style="color: #000000;">&#40;</span><span style="color: #ff0000;">'STATIC c_path'</span> <span style="color: #000000;">&#41;</span>  <br />   oText:<span style="color: #000000;">Add</span><span style="color: #000000;">&#40;</span><span style="color: #ff0000;">''</span><span style="color: #000000;">&#41;</span><br />   oText:<span style="color: #000000;">Add</span><span style="color: #000000;">&#40;</span><span style="color: #ff0000;">'FUNCTION MAIN()'</span><span style="color: #000000;">&#41;</span><br />   oText:<span style="color: #000000;">Add</span><span style="color: #000000;">&#40;</span><span style="color: #ff0000;">'LOCAL oBar, aColors1,aColors2,aColors3'</span> <span style="color: #000000;">&#41;</span><br />   oText:<span style="color: #000000;">Add</span><span style="color: #000000;">&#40;</span><span style="color: #ff0000;">'LOCAL oBtn1, oBtn2, oBtn3, oBtn4'</span> <span style="color: #000000;">&#41;</span><br />   oText:<span style="color: #000000;">Add</span><span style="color: #000000;">&#40;</span><span style="color: #ff0000;">'LOCAL oTmp, oBrush1, oBrush2, oBrush3, oBrush4'</span> <span style="color: #000000;">&#41;</span><br />   oText:<span style="color: #000000;">Add</span><span style="color: #000000;">&#40;</span><span style="color: #ff0000;">'LOCAL aRect3 := GetSysmetrics( 1 ) // Screen-Height'</span> <span style="color: #000000;">&#41;</span><br />   oText:<span style="color: #000000;">Add</span><span style="color: #000000;">&#40;</span><span style="color: #ff0000;">'LOCAL aRect4 := GetSysmetrics( 0 ) // Screen-Width'</span> <span style="color: #000000;">&#41;</span><br />   oText:<span style="color: #000000;">Add</span><span style="color: #000000;">&#40;</span><span style="color: #ff0000;">''</span><span style="color: #000000;">&#41;</span><br />   oText:<span style="color: #000000;">Add</span><span style="color: #000000;">&#40;</span><span style="color: #ff0000;">'c_path := CURDRIVE() + ":<span style="color: #000000;">\"</span> + GETCURDIR()'</span> <span style="color: #000000;">&#41;</span><br />   oText:<span style="color: #000000;">Add</span><span style="color: #000000;">&#40;</span><span style="color: #ff0000;">'oFont1 := TFont():New( "'</span> + AF + <span style="color: #ff0000;">'",'</span> + A1 + <span style="color: #ff0000;">','</span> + A2 + <span style="color: #ff0000;">',.F.,'</span> + A3 + <span style="color: #ff0000;">','</span> + A4 + <span style="color: #ff0000;">',0,0,'</span> + A5 + <span style="color: #ff0000;">','</span> + A6 + <span style="color: #ff0000;">')'</span> <span style="color: #000000;">&#41;</span><br />   oText:<span style="color: #000000;">Add</span><span style="color: #000000;">&#40;</span><span style="color: #ff0000;">''</span><span style="color: #000000;">&#41;</span><br />   <span style="color: #00C800;">IF</span> nOption1 = <span style="color: #000000;">1</span> <span style="color: #B900B9;">// Window with Color selected</span><br />      oText:<span style="color: #000000;">Add</span><span style="color: #000000;">&#40;</span><span style="color: #ff0000;">'DEFINE BRUSH oBrush1 COLOR '</span> + ALLTRIM<span style="color: #000000;">&#40;</span>STR<span style="color: #000000;">&#40;</span>nColor1a<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span>  <span style="color: #000000;">&#41;</span><br />      oText:<span style="color: #000000;">Add</span><span style="color: #000000;">&#40;</span><span style="color: #ff0000;">'DEFINE WINDOW oWndMain FROM 0, 0 TO aRect3, aRect4 TITLE "Window- and Dialog-test"  BRUSH oBrush1 PIXEL'</span> <span style="color: #000000;">&#41;</span><br />   <span style="color: #00C800;">ENDIF</span><br />   <span style="color: #00C800;">IF</span> nOption1 = <span style="color: #000000;">2</span> <span style="color: #B900B9;">// Windows with Gradient selected</span><br />      oText:<span style="color: #000000;">Add</span><span style="color: #000000;">&#40;</span><span style="color: #ff0000;">'DEFINE WINDOW oWndMain FROM 0, 0 TO aRect3, aRect4;'</span> <span style="color: #000000;">&#41;</span>  <br />      oText:<span style="color: #000000;">Add</span><span style="color: #000000;">&#40;</span><span style="color: #ff0000;">'TITLE "Window- and Dialog-test"  PIXEL'</span> <span style="color: #000000;">&#41;</span> <br />      oText:<span style="color: #000000;">Add</span><span style="color: #000000;">&#40;</span><span style="color: #ff0000;">'aColors1 := { { '</span> + ALLTRIM<span style="color: #000000;">&#40;</span>STR<span style="color: #000000;">&#40;</span>nMove1<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span> + <span style="color: #ff0000;">', '</span> + ALLTRIM<span style="color: #000000;">&#40;</span>STR<span style="color: #000000;">&#40;</span>nColor1a<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span> + <span style="color: #ff0000;">', '</span> + ALLTRIM<span style="color: #000000;">&#40;</span>STR<span style="color: #000000;">&#40;</span>nColor1b<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span> + <span style="color: #ff0000;">' }, { '</span> +  + ALLTRIM<span style="color: #000000;">&#40;</span>STR<span style="color: #000000;">&#40;</span>nMove1<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span> + <span style="color: #ff0000;">', '</span>  + ALLTRIM<span style="color: #000000;">&#40;</span>STR<span style="color: #000000;">&#40;</span>nColor1b<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span> + <span style="color: #ff0000;">', '</span>  + ALLTRIM<span style="color: #000000;">&#40;</span>STR<span style="color: #000000;">&#40;</span>nColor1a<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span> + <span style="color: #ff0000;">' } }'</span> <span style="color: #000000;">&#41;</span> <br />      oText:<span style="color: #000000;">Add</span><span style="color: #000000;">&#40;</span><span style="color: #ff0000;">'hDC = CreateCompatibleDC( oWndMain:GetDC() )'</span> <span style="color: #000000;">&#41;</span><br />      oText:<span style="color: #000000;">Add</span><span style="color: #000000;">&#40;</span><span style="color: #ff0000;">'hBmp = CreateCompatibleBitMap( oWndMain:hDC, oWndMain:nWidth(), oWndMain:nHeight() )'</span> <span style="color: #000000;">&#41;</span><br />      oText:<span style="color: #000000;">Add</span><span style="color: #000000;">&#40;</span><span style="color: #ff0000;">'hBmpOld = SelectObject( hDC, hBmp )'</span> <span style="color: #000000;">&#41;</span><br />      oText:<span style="color: #000000;">Add</span><span style="color: #000000;">&#40;</span><span style="color: #ff0000;">'GradientFill( hDC, -50, 0, oWndMain:nHeight(), oWndMain:nWidth(), aColors1, lDirect1 )'</span> <span style="color: #000000;">&#41;</span><br />      oText:<span style="color: #000000;">Add</span><span style="color: #000000;">&#40;</span><span style="color: #ff0000;">'DeleteObject( oWndMain:oBrush:hBrush )'</span> <span style="color: #000000;">&#41;</span><br />      oText:<span style="color: #000000;">Add</span><span style="color: #000000;">&#40;</span><span style="color: #ff0000;">'oWndMain:oBrush:hBitmap = hBmp'</span> <span style="color: #000000;">&#41;</span><br />      oText:<span style="color: #000000;">Add</span><span style="color: #000000;">&#40;</span><span style="color: #ff0000;">'oWndMain:oBrush:hBrush = CreatePatternBrush( hBmp )'</span> <span style="color: #000000;">&#41;</span> <br />      oText:<span style="color: #000000;">Add</span><span style="color: #000000;">&#40;</span><span style="color: #ff0000;">'SelectObject( hDC, hBmpOld )'</span> <span style="color: #000000;">&#41;</span><br />      oText:<span style="color: #000000;">Add</span><span style="color: #000000;">&#40;</span><span style="color: #ff0000;">'oWndMain:ReleaseDC()'</span> <span style="color: #000000;">&#41;</span><br />   <span style="color: #00C800;">ENDIF</span><br />   <span style="color: #00C800;">IF</span> nOption1 = <span style="color: #000000;">3</span> <span style="color: #B900B9;">// Windows with Brush selected</span><br />      oText:<span style="color: #000000;">Add</span><span style="color: #000000;">&#40;</span><span style="color: #ff0000;">'DEFINE BRUSH oBrush1 FILENAME c_Path + "<span style="color: #000000;">\b</span>itmaps<span style="color: #000000;">\'</span> + cBrush1 + '</span><span style="color: #ff0000;">"' )<br />      oText:Add('DEFINE WINDOW oWndMain FROM 0, 0 TO aRect3, aRect4;' ) <br />      oText:Add('TITLE "</span>Window- and Dialog-test<span style="color: #ff0000;">"  BRUSH oBrush1 PIXEL' )<br />   ENDIF<br />   IF nOption1 = 4 // Windows with Image selected<br />      oText:Add('DEFINE IMAGE oTmp FILENAME c_Path + "</span>\<span style="color: #0000ff;">bitmaps</span>\<span style="color: #ff0000;">' + cImage1 + '</span><span style="color: #ff0000;">"' )<br />      oText:Add('oBrush1 := TBrush():new( ,,,, ResizeBmp( oTmp:hBitmap, aRect4, aRect3, .T. ) )' ) <br />      oText:Add('DEFINE WINDOW oWndMain FROM 0, 0 TO aRect3, aRect4 ;' )<br />      oText:Add('TITLE "</span>Window- and Dialog-test<span style="color: #ff0000;">"  BRUSH oBrush1 PIXEL' )<br />      oText:Add('oTmp:End()' )<br />   ENDIF<br />   IF nPreview > 1<br />      oText:Add('ACTIVATE WINDOW oWndMain MAXIMIZED ;' )<br />      oText:Add('ON INIT MDI_DIALOG() ;' )<br />      oText:Add('ON PAINT ABPaint( hDC, 30, 380, oAlpha:hBitmap, 255 )  // Horiz / Vertical' )<br />   ELSE<br />      oText:Add('ACTIVATE WINDOW oWndMain MAXIMIZED ;' )<br />      oText:Add('ON PAINT ABPaint( hDC, 30, 380, oAlpha:hBitmap, 255 )  // Horiz / Vertical' )<br />   ENDIF<br />   oText:Add('')<br />   oText:Add('SET MESSAGE OF oWndMain TO FWVERSION + "</span>  TechData Software <span style="color: #ff0000;">" ;' )<br />   oText:Add('CENTERED 2007' ) <br />   oText:Add('')<br />   oText:Add('oFont1:End()' )<br />   IF nOption1 <> 2<br />      oText:Add('oBrush1:End()' )<br />   ENDIF<br />   IF nOption2 <> 2<br />      oText:Add('oBrush2:End()' )<br />   ENDIF<br />   oText:Add('')<br />   oText:Add('RETURN NIL' )  <br />   oText:Add('')<br /><br />   oText:Close()<br />ENDIF<br /><br />IF FILE ( c_path + "</span>\PROJECT.PRG<span style="color: #ff0000;">" )<br />   // File exists open with Editor<br />   WAITRUN( "</span>Angelwriter.exe PROJECT.PRG<span style="color: #ff0000;">" ) // copy from .PRG<br />   // Close Editor and create EXE-File<br />   IF MsgYesNo( "</span><span style="color: #00C800;">Do</span> you want <span style="color: #0000ff;">to</span> Create / Run : <span style="color: #ff0000;">" + CRLF + ;<br />      c_path + "</span>\PROJECT.PRG<span style="color: #ff0000;">" + "</span> ?<span style="color: #ff0000;">","</span>PROJECT<span style="color: #ff0000;">")<br />      WAITRUN( "</span>GO1.BAT<span style="color: #ff0000;">"  )<br />      IF FILE ( c_path + "</span>\PROJECT.EXE<span style="color: #ff0000;">" )<br />         WINEXEC( "</span>&c_path\PROJECT.EXE<span style="color: #ff0000;">" )<br />      ELSE<br />         MsgAlert( "</span>The EXE-File : <span style="color: #ff0000;">" + CRLF + ;<br />         "</span>is not created !<span style="color: #ff0000;">","</span>Error<span style="color: #ff0000;">" )<br />      ENDIF<br />   ENDIF<br />ELSE<br />   MsgAlert( "</span>The File : <span style="color: #ff0000;">" + CRLF + ;<br />         "</span>&c_Path\PROJECT.PRG<span style="color: #ff0000;">" + CRLF + ;<br />         "</span>is not created !<span style="color: #ff0000;">", "</span>Error<span style="color: #ff0000;">" )<br />ENDIF<br /><br />RETURN(  NIL )<br /></span></div>[/code:1gz42x05] Best Regards Uwe <!-- s:lol: --><img src="{SMILIES_PATH}/icon_lol.gif" alt=":lol:" title="Laughing" /><!-- s:lol: -->
Can you use Windows 11 on your PC ?
[url:29kmusr5]https&#58;//github&#46;com/rcmaehl/WhyNotWin11/releases/download/2&#46;4&#46;1/WhyNotWin11&#46;exe[/url:29kmusr5] Please check if you have TPM. No TPMs on the iMacs...
Can you use Windows 11 on your PC ?
Antonio I have a Strix ( asus ) Republic of gamers laptop .. I do have TPM 2.0, and have loaded the latest Windows 11 Dev operating system ... with that said .. the latest W11 hardware requirement program : <!-- m --><a class="postlink" href="https://www.bleepingcomputer.com/news/microsoft/microsoft-pc-health-check-adds-detailed-windows-11-compatibility-info/">https://www.bleepingcomputer.com/news/m ... lity-info/</a><!-- m --> does indeed pass my machine on TPM 2.0 but fails on my i7 processor Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz 2.80 GHz. Again with that said .. I had no difficulty installing the latest W11 dev. When I ran the above pc-health check ( again ) the i7 processor fails and I have no clue why ... I had no problem doing a fresh install of W11 dev ??? Rick Lipkin
Can you use Windows 11 on your PC ?
Rick, [url:2dj1oz4k]https&#58;//aka&#46;ms/GetPCHealthCheckApp[/url:2dj1oz4k] It says that mine (iMac 27 late 2015) is not compatible > When I ran the above pc-health check ( again ) the i7 processor fails and I have no clue why ... I had no problem doing a fresh install of W11 dev ??? Probably they only check the TPM 2.0 issue
Can you use Windows 11 on your PC ?
Intel Macs can run Windows 11 with this workaround <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> [url:1v81x0f9]https&#58;//appleinsider&#46;com/articles/21/06/25/intel-macs-cant-run-windows-11-without-this-workaround[/url:1v81x0f9]
Can you use Windows 11 on your PC ?
Rick, Are you able to install W11 on VirtualBox on Windows 10 ? [url:14hflvwk]https&#58;//www&#46;microsoft&#46;com/en-us/software-download/windowsinsiderpreviewiso[/url:14hflvwk] I am trying it but it gives a memory error
Can you use Windows 11 on your PC ?
Antonio I already have W11 converted from ISO to bootable USB ... I installed Oracle Virtualbox .. I have all the settings set to see the USB ... unfortunately, the Boot order will not see the USB as a boot device .. The W11 Iso I have is too big to extract to a DVD .. so I unfortunately can not answer your question .. <!-- s:( --><img src="{SMILIES_PATH}/icon_sad.gif" alt=":(" title="Sad" /><!-- s:( --> Rick Lipkin
Can you use Windows 11 on your PC ?
Rick, You can directly boot from the W11 ISO on the virtualbox VM
Can you use Windows 11 on your PC ?
Antonio No ... I can not boot from the USB to the VM ... The pass-thru for the USB is there, but the USB is not a bootable option in the settings <!-- s:( --><img src="{SMILIES_PATH}/icon_sad.gif" alt=":(" title="Sad" /><!-- s:( --> Rick
Can you use Windows 11 on your PC ?
Rick, W11 installs fine on VirtualBox running it from OSX. It doesn't work from Windows (bootcamp). Very good!
Can you use Windows 11 on your PC ?
[url:2n85yui0]https&#58;//blogs&#46;oracle&#46;com/virtualization/post/install-microsoft-windows-11-on-virtualbox[/url:2n85yui0]
Can you use Windows 11 on your PC ?
Running Windows 11 from Windows 10 HyperV: [img:2gpr7lv1]https&#58;//github&#46;com/FiveTechSoft/screenshots/blob/master/W11onW10&#46;JPG?raw=true[/img:2gpr7lv1]
Can you use Windows 11 on your PC ?
Antonio For the most part I am running Windows 11 successfully .. no problems with FW applications be it dbf\cdx, ADO or Sql Server .. a couple of things I would like to see Microsoft fix that anoy me immensely .. is the new Right Click on a file or folder .. [url=http&#58;//img4&#46;imagetitan&#46;com/img&#46;php?image=24_delete1&#46;jpg:lt879032][img:lt879032]http&#58;//img4&#46;imagetitan&#46;com/img4/small/24/24_delete1&#46;jpg[/img:lt879032][/url:lt879032] You get this new "cute" set of icons at the top of your pallet that shows a trash can and allows you to "execute" a Delete .. OR .. you can go to thew bottom of the pallet and CLick on "Show More Options" and get your Tradition set of commands to execute .. [url=http&#58;//img4&#46;imagetitan&#46;com/img&#46;php?image=24_delete2&#46;jpg:lt879032][img:lt879032]http&#58;//img4&#46;imagetitan&#46;com/img4/small/24/24_delete2&#46;jpg[/img:lt879032][/url:lt879032] Also .. I like my open folders to be listed individually on the task bar so I can easily see what is open and simply navigate to that Folder .. in Windows 11 you do not get the option to "un-Stack" open folders .... what you see here is if you click on the Folder Icon on the task bar .. ONLY then can you see all the open flders. [url=http&#58;//img4&#46;imagetitan&#46;com/img&#46;php?image=24_taskbar&#46;jpg:lt879032][img:lt879032]http&#58;//img4&#46;imagetitan&#46;com/img4/small/24/24_taskbar&#46;jpg[/img:lt879032][/url:lt879032] I am seeing these two annoyances on the internet quite prominently "Things I hate about Windows 11" Otherwise, you can move the ( flower ) start menu to the Left side and if you want you can get an open source Start menu replacement called Open Shell ( previously Classic Shell ) [url=http&#58;//img4&#46;imagetitan&#46;com/img&#46;php?image=24_openshell&#46;jpg:lt879032][img:lt879032]http&#58;//img4&#46;imagetitan&#46;com/img4/small/24/24_openshell&#46;jpg[/img:lt879032][/url:lt879032] Which ( for me ) is much easier to use and to find things Traditionally like the Control Panel, Printers ... etc. <!-- m --><a class="postlink" href="https://open-shell.github.io/Open-Shell-Menu/">https://open-shell.github.io/Open-Shell-Menu/</a><!-- m --> The small box in Windows 10 ( open settings ) on the right side of the Task Bar has been moved .. and re-imagined if you place the This PC icon on your desktop .. Right click on the This PC Icon and you click on Properties .. [url=http&#58;//img4&#46;imagetitan&#46;com/img&#46;php?image=24_thispc&#46;jpg:lt879032][img:lt879032]http&#58;//img4&#46;imagetitan&#46;com/img4/small/24/24_thispc&#46;jpg[/img:lt879032][/url:lt879032] and that opens you up to your Systems menu and you can navigate to just about any setting .. [url=http&#58;//img4&#46;imagetitan&#46;com/img&#46;php?image=24_system&#46;jpg:lt879032][img:lt879032]http&#58;//img4&#46;imagetitan&#46;com/img4/small/24/24_system&#46;jpg[/img:lt879032][/url:lt879032] I will say this .. If you do a Fresh install of Windows 11 and you don't meet the TPM and Cpu requirements there are some Reg Hacks .. the MOST annoying thing about the Setup is Microsoft FORCES you to create a Microsoft Account .. Local accounts are discouraged .. and again, there is a Hack for that. What I did is take the least path of resistance ... I went to the W11 Microsoft Creation tool and downloaded the .ISO file .. mounted it on my Windows 10 desktop ... there is a Reg Key you have to create or download the .reg and run .. once that is accomplished, you can run the setup from the .iso and upgrade to Windows 11. <!-- m --><a class="postlink" href="https://www.bleepingcomputer.com/news/microsoft/new-windows-11-install-script-bypasses-tpm-system-requirements/">https://www.bleepingcomputer.com/news/m ... uirements/</a><!-- m --> If your machine MEETS the TPM requirement and you have a greater than 7th generation processor .. you should not have any Fresh install or upgrade problems .. Thanks Rick Lipkin
Can you use Windows 11 on your PC ?
Thank you Rick!
Can you use Windows 11 on your PC ?
[quote:37dt95vg]C:\Windows\system32>wsl --install Installing: Virtual Machine Platform Virtual Machine Platform has been installed. Installing: Windows Subsystem for Linux Windows Subsystem for Linux has been installed. Downloading: WSL Kernel Installing: WSL Kernel WSL Kernel has been installed. Downloading: GUI App Support Installing: GUI App Support GUI App Support has been installed. Downloading: Ubuntu The requested operation is successful. Changes will not be effective until the system is rebooted.[/quote:37dt95vg] [b:37dt95vg]Notice that now we can run Linux GUI apps![/b:37dt95vg] Downloading: GUI App Support Installing: GUI App Support GUI App Support has been installed
Can you use a field named End with Class TDataBase ? yes!
Hi all, Is there an error in database.prg in fwh1811? Check the images below. In the previous version these errors do not occur. Thanks. [url=https&#58;//imgbb&#46;com/:3re4mwuc][img:3re4mwuc]https&#58;//i&#46;ibb&#46;co/nbGrTzY/Erro1&#46;jpg[/img:3re4mwuc][/url:3re4mwuc] prg line: oArqBol:BAIRRO := oArqAsoc:BAIRRO [url=https&#58;//imgbb&#46;com/:3re4mwuc][img:3re4mwuc]https&#58;//i&#46;ibb&#46;co/9HTGx5P/Erro2&#46;jpg[/img:3re4mwuc][/url:3re4mwuc] prg line: REDEFINE GET oGet06 VAR oArqAsoc:END ID 104 of oFolder:aDialogs[1] picture '@!' COLOR Frente,Fundo update
Can you use a field named End with Class TDataBase ? yes!
[quote:wzsxq22j]oArqBol:BAIRRO := oArqAsoc:BAIRRO[/quote:wzsxq22j] para descartar, haria lo siguiente: [code=fw:wzsxq22j]<div class="fw" id="{CB}" style="font-family: monospace;"><br />?oArqBol:<span style="color: #000000;">cAlias</span>, <span style="color: #0000ff;">select</span><span style="color: #000000;">&#40;</span>oArqBol:<span style="color: #000000;">cAlias</span><span style="color: #000000;">&#41;</span><br />?oArqAsoc:<span style="color: #000000;">cAlias</span>, <span style="color: #0000ff;">select</span><span style="color: #000000;">&#40;</span>oArqAsoc:<span style="color: #000000;">cAlias</span><span style="color: #000000;">&#41;</span><br />&nbsp;</div>[/code:wzsxq22j]
Can you use a field named End with Class TDataBase ? yes!
Please copy here the error.log thanks
Can you use a field named End with Class TDataBase ? yes!
[quote="Antonio Linares":2cak3ne8]Please copy here the error.log thanks[/quote:2cak3ne8] Application =========== Path and name: D:\SISTEMAS\SINDF\sind.exe (32 bits) Size: 9,486,848 bytes Compiler version: xHarbour 1.2.3 Intl. (SimpLex) (Build 20181011) FiveWin version: FWH 18.11 C compiler version: Borland/Embarcadero C++ 7.3 (32-bit) Windows version: 6.2, Build 9200 Time from start: 0 hours 0 mins 7 secs Error occurred at: 15/02/2022, 13:56:09 Error description: Warning BASE/2001 Alias nÆo existe: TDATABASE:_FIELDPUT Args: [ 1] = N 7 [ 2] = C Stack Calls =========== Called from: source\rtl\tobject.prg => TDATABASE:ERROR( 0 ) Called from: DATABASE.PRG => TDATABASE:FIELDPUT( 982 ) Called from: DATABASE.PRG => TDATABASE:_END( 1366 ) Called from: PROG08.PRG => (b)NOVO( 389 ) Called from: TGET.PRG => TGET:REDEFINE( 721 ) Called from: PROG08.PRG => NOVO( 389 ) Called from: PROG08.PRG => (b)PROG08( 177 ) Called from: .\source\classes\BUTTON.PRG => TBUTTONBMP:CLICK( 179 ) Called from: .\source\classes\CONTROL.PRG => TBUTTON:HANDLEEVENT( 1755 ) Called from: .\source\classes\BUTTONB.PRG => TBUTTONBMP:HANDLEEVENT( 261 ) Called from: .\source\classes\WINDOW.PRG => _FWH( 3513 ) Called from: => SENDMESSAGE( 0 ) Called from: .\source\classes\DIALOG.PRG => TDIALOG:COMMAND( 433 ) Called from: => TWINDOW:HANDLEEVENT( 0 ) Called from: .\source\classes\DIALOG.PRG => TDIALOG:HANDLEEVENT( 1136 ) Called from: => DIALOGBOX( 0 ) Called from: .\source\classes\DIALOG.PRG => TDIALOG:ACTIVATE( 304 ) Called from: PROG08.PRG => PROG08( 185 ) Called from: SIND32.PRG => HABIL( 1780 ) Called from: SIND32.PRG => (b)ASSOC( 359 ) Called from: .\source\classes\MENU.PRG => TMENU:ACTIVATE( 1595 ) Called from: .\source\classes\BTNBMP.PRG => TBTNBMP:LBUTTONUP( 966 ) Called from: .\source\classes\CONTROL.PRG => TCONTROL:HANDLEEVENT( 1791 ) Called from: .\source\classes\BTNBMP.PRG => TBTNBMP:HANDLEEVENT( 1960 ) Called from: .\source\classes\WINDOW.PRG => _FWH( 3513 ) Called from: => WINRUN( 0 ) Called from: .\source\classes\WINDOW.PRG => TWINDOW:ACTIVATE( 1065 ) Called from: SIND32.PRG => MAIN( 274 ) System ====== CPU type: Intel(R) Core(TM) i5-8300H CPU @ 2.30GHz 2304 Mhz Hardware memory: 16259 megs Free System resources: 90 % GDI resources: 90 % User resources: 90 % Windows total applications running: 4 1 , 2 , C:\WINDOWS\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.22000.120_none_e541a94 3 Alternância de Tarefas, D:\SISTEMAS\SINDF\sind.exe 4 GDI+ Window (sind.exe), C:\WINDOWS\WinSxS\x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.22000.434_none_1630a2eb2777c45 Variables in use ================ Procedure Type Value ========================== TDATABASE:ERROR Param 1: C "Alias nÆo existe" Param 2: C "TDATABASE" Param 3: C "_FIELDPUT" Param 4: N 2001 Param 5: A Len: 2 Local 1: O Class: TDATABASE Local 2: N 13 TDATABASE:FIELDPUT Param 1: N 7 Param 2: C " " Local 1: O Class: TDATABASE Local 2: L .F. Local 3: N 0 Local 4: U TDATABASE:_END Param 1: O Class: TDATABASE Local 1: A Len: 1 Local 2: C "_END" Local 3: N 1005 Local 4: N 7 Local 5: C "END" Local 6: L .T. Local 7: C " " Local 8: U Local 9: U Local 10: C " " (b)NOVO Param 1: C " " TGET:REDEFINE Param 1: N 104 Param 2: B {|| ... } Param 3: O Class: TDIALOG Param 4: U Param 5: C "@!" Param 6: U Param 7: N 16711680 Param 8: N 13041663 Param 9: U Param 10: U Param 11: U Param 12: L .T. Param 13: U Param 14: U Param 15: L .F. Param 16: L .F. Param 17: U Param 18: U Param 19: U Param 20: U Param 21: U Param 22: U Param 23: C "oArqAsoc:END" Param 24: U Param 25: U Param 26: U Param 27: U Param 28: U Param 29: L .F. Param 30: U Local 1: O Class: TGET Local 2: U Local 3: U Local 4: U Local 5: L .F. NOVO (b)PROG08 Param 1: O Class: TBUTTONBMP TBUTTONBMP:CLICK Local 1: O Class: TBUTTONBMP TBUTTON:HANDLEEVENT Param 1: N 2048 Param 2: N 0 Param 3: N 0 Local 1: O Class: TBUTTONBMP Local 2: U TBUTTONBMP:HANDLEEVENT Param 1: N 2048 Param 2: N 0 Param 3: N 0 Local 1: O Class: TBUTTONBMP Local 2: U _FWH Param 1: N 0 Param 2: N 2048 Param 3: N 0 Param 4: N 0 Param 5: N 21 Local 1: O Class: TBUTTONBMP SENDMESSAGE Param 1: N 3933528 Param 2: N 2048 Param 3: N 0 Param 4: N 0 TDIALOG:COMMAND Param 1: N 4001 Param 2: N 3933528 Local 1: O Class: TDIALOG Local 2: O Class: TBUTTONBMP Local 3: N 0 Local 4: N 4001 Local 5: N 3933528 Local 6: U TWINDOW:HANDLEEVENT Param 1: N 273 Param 2: N 4001 Param 3: N 3933528 TDIALOG:HANDLEEVENT Param 1: N 273 Param 2: N 4001 Param 3: N 3933528 Local 1: O Class: TDIALOG DIALOGBOX Param 1: N 4194304 Param 2: C "BROWASOC" Param 3: N 1707284 Param 4: O Class: TDIALOG TDIALOG:ACTIVATE Param 1: U Param 2: U Param 3: U Param 4: L .T. Param 5: U Param 6: L .T. Param 7: B {|| ... } Param 8: U Param 9: U Param 10: U Param 11: U Param 12: L .F. Param 13: O Class: TDIALOG Param 14: U Local 1: O Class: TDIALOG Local 2: N 1707284 Local 3: U Local 4: U Local 5: U Local 6: O Class: TDIALOG PROG08 HABIL Param 1: C "08" Param 2: O Class: TMENUITEM Local 1: U Local 2: O Class: TMENUITEM (b)ASSOC Param 1: O Class: TMENUITEM TMENU:ACTIVATE Param 1: N 61 Param 2: N 103 Param 3: O Class: TBAR Param 4: L .F. Local 1: N 0 Local 2: O Class: TMENU Local 3: A Len: 2 TBTNBMP:LBUTTONUP Param 1: N 37 Param 2: N 98 Param 3: O Class: TBTNBMP Local 1: O Class: TBAR Local 2: L .T. Local 3: N 0 TCONTROL:HANDLEEVENT Param 1: N 514 Param 2: N 0 Param 3: N 2424930 Local 1: O Class: TBTNBMP Local 2: U TBTNBMP:HANDLEEVENT Param 1: N 514 Param 2: N 0 Param 3: N 2424930 Local 1: O Class: TBTNBMP _FWH Param 1: N 2424930 Param 2: N 514 Param 3: N 0 Param 4: N 2424930 Param 5: N 4 Local 1: O Class: TBTNBMP WINRUN Param 1: N 1707284 TWINDOW:ACTIVATE Param 1: C "MAXIMIZED" Param 2: U Param 3: U Param 4: U Param 5: U Param 6: U Param 7: U Param 8: B {|| ... } Param 9: U Param 10: U Param 11: U Param 12: U Param 13: U Param 14: U Param 15: U Param 16: U Param 17: U Param 18: U Param 19: U Param 20: L .F. Local 1: O Class: TWINDOW Local 2: U Local 3: U MAIN Local 1: U Linked RDDs =========== DBF DBFFPT DBFBLOB DBFCDX DBFNTX DataBases in use ================ 1: ARQRAM RddName: DBFCDX ============================== RecNo RecCount BOF EOF 6 5 .F. .T. Indexes in use TagName => DESCRICAO DESCRICAO Relations in use 2: CONFCTE RddName: DBFCDX ============================== RecNo RecCount BOF EOF 1 1 .F. .F. Indexes in use TagName Relations in use 3: ARQULT RddName: DBFCDX ============================== RecNo RecCount BOF EOF 1 1 .F. .F. Indexes in use TagName Relations in use 4: ARQMEN RddName: DBFCDX ============================== RecNo RecCount BOF EOF 6 5 .F. .T. Indexes in use TagName => CODIGO CODIGO DESCRICAO DESCRICAO Relations in use 5: ARQCON RddName: DBFCDX ============================== RecNo RecCount BOF EOF 6 6 .F. .F. Indexes in use TagName => CODIGO CODIGO DESCRICAO DESCRICAO Relations in use 7: ARQASOC1 RddName: DBFCDX ============================== RecNo RecCount BOF EOF 684 10753 .F. .F. Indexes in use TagName => CODIGO CODIGO FANTASIA FANTASIA SOCIAL SOCIAL STATUS STATUS CPFCNPJ CPFCNPJ SUBSTR(CPFCNPJ,1,12) CNPJP CIDADE CIDADE Relations in use 8: => ARQBOL RddName: DBFCDX ============================== RecNo RecCount BOF EOF 60993 200472 .F. .F. Indexes in use TagName => BOLETO BOLETO CGCCLI+BOLETO CGCCLI NRBANCO NRBANCO DTOS(BAIXA)+NOME BAIXA NOME NOME DTOS(EMISSAO)+NOME EMISSAO DTOS(BAIXA)+TIPO+CGCCLI BAIXATIPO CBARRAS CBARRAS DTOS(VENCTO) VENCIMENTO BANCO+REMESSA REMESSA Relations in use Classes in use: =============== 1 ERROR 2 HASHENTRY 3 HBCLASS 4 HBOBJECT 5 TWINDOW 6 TCONTROL 7 TGET 8 TDATABASE 9 TFONT 10 TBRUSH 11 TICON 12 TREG32 13 TBAR 14 TRECT 15 TBTNBMP 16 TMENU 17 TMENUITEM 18 TIMAGELIST 19 TBITMAP 20 TMSGBAR 21 TDIALOG 22 TSAY 23 TXBROWSE 24 TXBRWCOLUMN 25 GET 26 TCLIPGET 27 TBUTTON 28 TBUTTONBMP 29 TSCROLLBAR 30 TCLIPBOARD 31 TMSGITEM 32 TTIMER 33 TFOLDER 34 TSTRUCT Memory Analysis =============== 2467 Static variables Dynamic memory consume: Actual Value: 0 bytes Highest Value: 0 bytes 
Can you use a field named End with Class TDataBase ? yes!
[quote="carlos vargas":jvmznqgn][quote:jvmznqgn]oArqBol:BAIRRO := oArqAsoc:BAIRRO[/quote:jvmznqgn] para descartar, haria lo siguiente: [code=fw:jvmznqgn]<div class="fw" id="{CB}" style="font-family: monospace;"><br />?oArqBol:<span style="color: #000000;">cAlias</span>, <span style="color: #0000ff;">select</span><span style="color: #000000;">&#40;</span>oArqBol:<span style="color: #000000;">cAlias</span><span style="color: #000000;">&#41;</span><br />?oArqAsoc:<span style="color: #000000;">cAlias</span>, <span style="color: #0000ff;">select</span><span style="color: #000000;">&#40;</span>oArqAsoc:<span style="color: #000000;">cAlias</span><span style="color: #000000;">&#41;</span><br /> </div>[/code:jvmznqgn][/quote:jvmznqgn] Carlos this is so strange because in older fivewin works great. The line before this error I do the same thing oArqBol:END := oArqAsoc:END.
Can you use a field named End with Class TDataBase ? yes!
Do you have a field named "end" in your DBFs ? Try to use a different field name
Can you use a field named End with Class TDataBase ? yes!
[quote="Antonio Linares":1cwit15j]Do you have a field named "end" in your DBFs ? Try to use a different field name[/quote:1cwit15j] Yes Antonio, in 10 dbfs. Database is ending the object with End and not End()? Any other solutions to not have to change the dbfs and prgs? Thank you!
Can you use a field named End with Class TDataBase ? yes!
> End and not End() Inside Harbour there is no difference for them You can not have a data and a method with the same name, "()" does not matter, it is just a message to the object
Can you use a field named End with Class TDataBase ? yes!
A workaround would be to remove this method from Class TDataBase: // METHOD End() INLINE ::Close()
Can you use a field named End with Class TDataBase ? yes!
It is clear that we can not use oDBf:End to access value of field named "END" or assign new values to oDbf:End. Sameway you can not have field names that conflict with any methods of datas of TDatabase/ In such cases, we can rename the field temporarily inside the TDatabase object and use the temporary new name to access/assign values. For example [code=fw:26vv4pig]<div class="fw" id="{CB}" style="font-family: monospace;"><br />oDbf:<span style="color: #000000;">MapCol</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"END"</span>, <span style="color: #ff0000;">"ENDX"</span> <span style="color: #000000;">&#41;</span><br />? oDbf:<span style="color: #000000;">EndX</span><br />oDbf:<span style="color: #000000;">EndX</span> := <val><br /> </div>[/code:26vv4pig] You can safely use oDbf:Endx and it is internally mapped to the field "END" You can use any name you like. Note: Please change the caption "Error in database.prg". [b:26vv4pig]There is NO ERROR in FWH Database.prg.[/b:26vv4pig]
Can you use a field named End with Class TDataBase ? yes!
[quote="nageswaragunupudi":292khq0e]It is clear that we can not use oDBf:End to access value of field named "END" or assign new values to oDbf:End. Sameway you can not have field names that conflict with any methods of datas of TDatabase/ In such cases, we can rename the field temporarily inside the TDatabase object and use the temporary new name to access/assign values. For example [code=fw:292khq0e]<div class="fw" id="{CB}" style="font-family: monospace;"><br />oDbf:<span style="color: #000000;">MapCol</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"END"</span>, <span style="color: #ff0000;">"ENDX"</span> <span style="color: #000000;">&#41;</span><br />? oDbf:<span style="color: #000000;">EndX</span><br />oDbf:<span style="color: #000000;">EndX</span> := <val><br /> </div>[/code:292khq0e] You can safely use oDbf:Endx and it is internally mapped to the field "END" You can use any name you like. Note: Please change the caption "Error in database.prg". [b:292khq0e]There is NO ERROR in FWH Database.prg.[/b:292khq0e][/quote:292khq0e] Thanks for the explanation. I called it an "error" because in older versions of fivewin this problem doesn't occur. What changed in database.prg for this to happen?
Can you use a field named End with Class TDataBase ? yes!
[quote="Antonio Linares":1tow2cwc]A workaround would be to remove this method from Class TDataBase: // METHOD End() INLINE ::Close()[/quote:1tow2cwc] Great! Thank you Antonio!
Can you use a field named End with Class TDataBase ? yes!
[quote:2qcqhvp6]Thanks for the explanation. I called it an "error" because in older versions of fivewin this problem doesn't occur. What changed in database.prg for this to happen? [/quote:2qcqhvp6] New method End() which is a synonym for Close() was added.
Can you use a field named End with Class TDataBase ? yes!
[quote="nageswaragunupudi":1rraptzi][quote:1rraptzi]Thanks for the explanation. I called it an "error" because in older versions of fivewin this problem doesn't occur. What changed in database.prg for this to happen? [/quote:1rraptzi] New method End() which is a synonym for Close() was added.[/quote:1rraptzi] Ok, thank you Mr. Nages!
Can you use a field named End with Class TDataBase ? yes!
[quote:pr04vweb]Thanks for the explanation. I called it an "error" because in older versions of fivewin this problem doesn't occur. What changed in database.prg for this to happen?[/quote:pr04vweb] Actually, it was a change that I suggested. Prior to that, all of FW's objects could be "destroyed" by calling the End() method--[b:pr04vweb]except the TDatabase class which used a Close() method[/b:pr04vweb], which is the old DBase command to close a file. However, when using objects it helps to use the same method names for similar processes, thus changing the method Close() to End() made data objects consistent with all the other types of objects--just like the New() method is used to create all new objects. Thus it is not a good idea to try to use any method name as a fieldname in your code.
Can you use a field named End with Class TDataBase ? yes!
[quote="James Bott":366ckqnc][quote:366ckqnc]Thanks for the explanation. I called it an "error" because in older versions of fivewin this problem doesn't occur. What changed in database.prg for this to happen?[/quote:366ckqnc] Actually, it was a change that I suggested. Prior to that, all of FW's objects could be "destroyed" by calling the End() method--[b:366ckqnc]except the TDatabase class which used a Close() method[/b:366ckqnc], which is the old DBase command to close a file. However, when using objects it helps to use the same method names for similar processes, thus changing the method Close() to End() made data objects consistent with all the other types of objects--just like the New() method is used to create all new objects. Thus it is not a good idea to try to use any method name as a fieldname in your code.[/quote:366ckqnc] Thank you James! I changed all dbfs fields END to ENDE
Can't allocate console
I'm trying to test in my win7 notebook a CGI Hello.exe CGI This is source code [code=fw:2ibo8yyo]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"Simpleio.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: #000000;">&#91;</span>Content-type: <span style="color: #0000ff;">text</span>/html<span style="color: #000000;">&#93;</span><br />  ?<br />  ? <span style="color: #000000;">&#91;</span><HTML><span style="color: #000000;">&#93;</span><br />  ? <span style="color: #000000;">&#91;</span><BODY><span style="color: #000000;">&#93;</span><br />  ? <span style="color: #000000;">&#91;</span><HEAD><span style="color: #000000;">&#93;</span><br />  ? <span style="color: #000000;">&#91;</span> Hello world <span style="color: #000000;">&#93;</span><br />  ? <span style="color: #000000;">&#91;</span></HEAD><span style="color: #000000;">&#93;</span><br />  ? <span style="color: #000000;">&#91;</span></BODY><span style="color: #000000;">&#93;</span><br />  ? <span style="color: #000000;">&#91;</span></HTML><span style="color: #000000;">&#93;</span><br /><span style="color: #00C800;">RETURN</span> <span style="color: #00C800;">NIL</span><br /> </div>[/code:2ibo8yyo] I digit <!-- m --><a class="postlink" href="http://127.0.0.1/hello.exe">http://127.0.0.1/hello.exe</a><!-- m --> in my browser I wait for a long and then I fine in c:\inetpub\wwwroot (the same folder of hello.exe an error.log containing this phrase Can't allocate console <!-- s:shock: --><img src="{SMILIES_PATH}/icon_eek.gif" alt=":shock:" title="Shocked" /><!-- s:shock: -->
Can't allocate console
In XP instead it works fine
Can't allocate console
The problem is solved in this way: [code=fw:3ug34z9m]<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;">"Report.ch"</span><br /><br />#xcommand ? <x> => ConOut<span style="color: #000000;">&#40;</span> <x> <span style="color: #000000;">&#41;</span><br /><br /><span style="color: #00C800;">FUNCTION</span> MAIN<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br />   ContentType<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br />  ?<br />  ? <span style="color: #000000;">&#91;</span><HTML><span style="color: #000000;">&#93;</span><br />  ? <span style="color: #000000;">&#91;</span><BODY><span style="color: #000000;">&#93;</span><br />  ? <span style="color: #000000;">&#91;</span><HEAD><span style="color: #000000;">&#93;</span><br />  ? <span style="color: #000000;">&#91;</span> Hello World <span style="color: #000000;">&#93;</span><br />  ? <span style="color: #000000;">&#91;</span> <A HREF = <span style="color: #ff0000;">"http://172.28.2.189/new/disegno.bmp"</span>> Disegno </A> <span style="color: #000000;">&#93;</span><br />  ? <span style="color: #000000;">&#91;</span></HEAD><span style="color: #000000;">&#93;</span><br />  ? <span style="color: #000000;">&#91;</span></BODY><span style="color: #000000;">&#93;</span><br />  ? <span style="color: #000000;">&#91;</span></HTML><span style="color: #000000;">&#93;</span><br /><br /><br />    <span style="color: #00C800;">RETURN</span> <span style="color: #00C800;">NIL</span><br /><br /><br /><span style="color: #00D7D7;">#pragma</span> BEGINDUMP<br /><br /><span style="color: #00D7D7;">#include</span> <hbapi.h><br /><br /><span style="color: #00C800;">HB_FUNC</span><span style="color: #000000;">&#40;</span> CONTENTTYPE <span style="color: #000000;">&#41;</span><br /><span style="color: #000000;">&#123;</span><br />   printf<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"Content-Type: text/html<span style="color: #000000;">\n</span><span style="color: #000000;">\n</span>"</span> <span style="color: #000000;">&#41;</span>;<br /><span style="color: #000000;">&#125;</span><br /><br /><span style="color: #00C800;">HB_FUNC</span><span style="color: #000000;">&#40;</span> CONOUT <span style="color: #000000;">&#41;</span><br /><span style="color: #000000;">&#123;</span><br />   printf<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"%s<span style="color: #000000;">\n</span>"</span>, <span style="color: #000000;">&#40;</span> char * <span style="color: #000000;">&#41;</span> hb_parc<span style="color: #000000;">&#40;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span>;<br /><span style="color: #000000;">&#125;</span><br /><br /><span style="color: #00D7D7;">#pragma</span> ENDDUMP<br /> </div>[/code:3ug34z9m] The new question is This CGI works everywhere? Or works fine in this scenario? Tomorrow the solution Bye for now marco
Can't build TestRTF sample
I wanted to build the sample testrtf.prg with xHarbour ( Feb ) and FWH 2.7. I receive the following undefined external symbols: _GetFileVersionInfoSizeA _GetFileVersionInfoA _VerQueryValueA I am simply trying to build the sample included with 2.7. What am I missing here ? Thanks. Tim <!-- s:) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /><!-- s:) -->
Can't build TestRTF sample
[quote="TimStone":fyvmsegu]I wanted to build the sample testrtf.prg with xHarbour ( Feb ) and FWH 2.7. I receive the following undefined external symbols: _GetFileVersionInfoSizeA _GetFileVersionInfoA _VerQueryValueA I am simply trying to build the sample included with 2.7. What am I missing here ? Thanks. Tim, Include Version.lib to your xbp link script You will find it in \xhb\c_lib\win Richard Tim <!-- s:) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /><!-- s:) -->[/quote:fyvmsegu]
Can't build TestRTF sample
Thank you ... it now builds.
Can't compile some fwh\samples using MingW
testfx1.prg, testfx2.prg and testfx3.prg TIA
Can't compile some fwh\samples using MingW
testcal.prg and testcal2.prg too
Can't compile some fwh\samples using MingW
testmex.prg too
Can't compile some fwh\samples using MingW
testgif.prg too
Can't compile some fwh\samples using MingW
testcf1.prg too
Can't compile some fwh\samples using MingW
testsk1.prg too
Can't compile some fwh\samples using MingW
[quote="hua":1rkgpgj1]testfx1.prg, testfx2.prg and testfx3.prg TIA[/quote:1rkgpgj1] Hua, Fixed, we send you the modified libraries, thanks! <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
Can't compile some fwh\samples using MingW
Thank you! A big thumbs up to you Antonio <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D -->
Can't compile some fwh\samples using MingW
Found another one, testmex.prg can't be build too. Testfx4.prg can be compiled but oFolder:SetLayout() doesn't work.
Can't compile some fwh\samples using MingW
Testblur.prg can't be compiled. Testblu2.prg compiled and runs fine though. TIA
Can't compile some fwh\samples using MingW
Hello [quote="hua":3c6l31l1]testcal.prg and testcal2.prg too[/quote:3c6l31l1] fixed [quote="hua":3c6l31l1]testmex.prg too[/quote:3c6l31l1] fixed [quote="hua":3c6l31l1]testgif.prg too[/quote:3c6l31l1] fixed [quote="hua":3c6l31l1]testcf1.prg too[/quote:3c6l31l1] fixed [quote="hua":3c6l31l1]testsk1.prg too[/quote:3c6l31l1] fixed [quote="hua":3c6l31l1]Testfx4.prg can be compiled but oFolder:SetLayout() doesn't work.[/quote:3c6l31l1] in review [quote="hua":3c6l31l1]Testblur.prg can't be compiled[/quote:3c6l31l1] please delete the code between #pragma write me a email to send the new lib
Can't compile some fwh\samples using MingW
Hi Daniel. Thank you for the fix. I'm also having trouble compiling skin1.prg and skin2.prg. Testblur.prg is now compilable after following your instruction. I'll be e-mailing you shortly. Thank you for the prompt response <!-- s:) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /><!-- s:) -->
Can't create dialog Box
Al ejecutar mas de una vez la opción del menu, me aparece el mensaje "Can't create dialog Box". El programa sigue la siguiente estructura, abro una ventana, desde esta ventana on init abre un dialogo con opciones de menu(botones), al pulsar el boton ventas pido la fecha mediante la funcion MsGet, y despues abro otra ventana para visualizar el resultado. La primera vez todo ok, el resto no puede abrir el dialogo de MsgGet. [code:1w912ja0] # INCLUDE "FwCE&#46;ch" STATIC oWnd FUNCTION MAIN&#40;&#41; //--------DEFINICION DE VARIABLES------- LOCAL nOpcSel, oBmp PRIVATE oWnd DEFINE WINDOW oWnd TITLE 'Crmbl' ACTIVATE WINDOW oWnd ; ON INIT MnuPri&#40;&#41; RETURN NIL //------------------ FUNCTION MnuPri&#40;&#41; //------------------ LOCAL oDlg,oBtnVta,oBtnEnd,dFecha&#58;=Date&#40;&#41; DEFINE DIALOG oDlg RESOURCE "MNUPRI" OF oWnd REDEFINE BUTTON oBtnVta ID 4001 OF oDlg ACTION &#40;IF&#40;MsgGet&#40;'Fecha','Fecha',@dFecha&#41;,Algo&#40;&#41;,nil&#41;&#41; REDEFINE BUTTON oBtnEnd ID 4006 OF oDlg ACTION &#40;oWnd&#58;END&#40;&#41;&#41; ACTIVATE DIALOG oDlg CENTERED RETURN NIL //--------------------- STATIC FUNCTION Algo&#40;&#41; //--------------------- LOCAL oWnd,oBtn DEFINE WINDOW oWnd TITLE "Algo" oBtn&#58;=tButton&#40;&#41;&#58;New&#40;14,01,'&oK',oWnd,&#123;||oWnd&#58;End&#40;&#41;&#125;,50,20&#41; ACTIVATE WINDOW oWnd RETURN NIL [/code:1w912ja0] El fichero RC tal cual sigue. [code:1w912ja0] #include <windows&#46;h> #include <commctrl&#46;h> LANGUAGE LANG_ENGLISH,SUBLANG_ENGLISH_US MNUPRI DIALOG DISCARDABLE 36, 32, 138, 180 STYLE WS_POPUP|DS_MODALFRAME|WS_SYSMENU|WS_VISIBLE FONT 8, "System" BEGIN CONTROL "V E N T A S", 4001, "Button", WS_TABSTOP, 12, 28, 48, 16 CONTROL "S A L I R", 4006, "Button", WS_TABSTOP, 72, 80, 48, 16 15 END [/code:1w912ja0] Gracias anticipadas.
Can't create dialog Box
Biel, Coge el fichero MsgGet.prg y cambia la linea [code:1l90h8o2]DEFINE DIALOG oDlg FROM 10, 20 TO 18, 59&#46;5 TITLE cTitle[/code:1l90h8o2] por [code:1l90h8o2]DEFINE DIALOG oDlg FROM 10, 20 TO 18, 59&#46;5 TITLE cTitle OF GetWndDefault&#40;&#41;[/code:1l90h8o2] y prueba. Si no va, prueba cambiar GetWndDefault() por WndMain() Saludos. C.
Can't create dialog Box
Gracias Carles, he añadido msgget.prg al proyecto, y antes de hacer el cambio que sujieres, he compilado. Sin cambiar nada funciona bien, bueno relativamente, porque los tamaños del dialogo no caben en la pantalla del PPC, parece como si fueran los fuentes de la version para PC. Visto que funciona bien, he ajustado los tamaños de dialogo y posiciones de los controles y todo a quedado funcional.
Can't create dialog Box
Perdon por la intromision, pero cuando dices "he añadido msgget.prg al proyecto" ¿ a que te refieres exactamente ? Una saludo y gracias.
Can't create dialog Box
Biel, MsgGet() ya está incluido en FWPPC (source\function\fwppc.prg). Estás usando el build más reciente de FWPPC ? Jose, Javier, En principio no haría falta añadirlo, ya que FWPPC lo proporciona.
Can't create dialog Box
Si pero, cuando dicen lo del "proyecto", es que hay alguna forma de incluir varios "prg" en un mismo exe , o se refieren a incluir el codigo en el archivo ".rc" ?
Can't create dialog Box
Jose, Javier, Sí, claro, puedes usar tantos PRGs como necesites. samples\buildce.bat sólo usa uno, pero para más de uno puedes usar por el make para Microsoft que se encuentra en makes\fwcemake.zip
Can't create dialog Box
Hola Antonio, si ya se que esta incluido, pero me da el problema que cito en el primer mensaje de este post. Tras la sujerencia de Carles, he añadido "source\function\fwppc.prg" para realizar unos cambios en el fuente. Pero no ha hecho falta, pues con la version source\function\fwppc.prg me funciona bien, solo he ajustado tamaño del dialogo. Estoy utilizando la version de marzo 06, no es la ultima pq veo q hoy has publicado una pero es la penultima. Bueno Jose, Javier, ya os ha contestado el master Antonio, ya sabes tantos prgs como quieras, cambiando el bat de compilacion usando make o alguna otra herramienta. Yo utilizo xMate, lei sobre él aqui en el foro y tras probar otras soluciones, es el que mejor me va, pero para gustos colores.
Can't open dbf with harbour1.1-1from fwh download (solved)
Antonio, use aaa ?used() // .f. use aaa via "dbfcdx" ?used() // .f. Best regards! Shuming Wang
Can't open dbf with harbour1.1-1from fwh download (solved)
Shuming, There must be something wrong in your aaa file or in your computer (not enough read-write privileges for a folder, etc) Please build fwh/samples/fwbrow.prg and you will see that it works fine with DBFs
Can't open dbf with harbour1.1-1from fwh download (solved)
Antonio, the same prg code, fwh2.5 and xhabrour996 do . But now more than 4 customers phoned us the problem. Best regards! Shuming Wang