topic
stringlengths
1
63
text
stringlengths
1
577k
how to ""Set"" Image on TFolderEx() ?
[quote:2hy80i4x]not sure if i need to "destroy" Bitmap before o:SetBitmap([/quote:2hy80i4x] No need. SetBitmap() method takes care of it.
how to ""Set"" Image on TFolderEx() ?
hi, thx for Answer
how to ""activate"" Spacebar ?
hi, to "mark" Element in Explorer, when have Checkbox Style, i have to use Spacebar Question : how to "activate" Spacebar by CODE <!-- s:?: --><img src="{SMILIES_PATH}/icon_question.gif" alt=":?:" title="Question" /><!-- s:?: --> [code=fw:32qievv4]<div class="fw" id="{CB}" style="font-family: monospace;">   SENDKEY<span style="color: #000000;">&#40;</span> CHR<span style="color: #000000;">&#40;</span><span style="color: #000000;">32</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span></div>[/code:32qievv4]or [code=fw:32qievv4]<div class="fw" id="{CB}" style="font-family: monospace;">   Keybd_Event <span style="color: #000000;">&#40;</span> CHR<span style="color: #000000;">&#40;</span><span style="color: #000000;">32</span><span style="color: #000000;">&#41;</span>, .F. <span style="color: #000000;">&#41;</span><br />   Keybd_Event <span style="color: #000000;">&#40;</span> CHR<span style="color: #000000;">&#40;</span><span style="color: #000000;">32</span><span style="color: #000000;">&#41;</span>, .T. <span style="color: #000000;">&#41;</span></div>[/code:32qievv4]does not have any Effect ...
how to ""activate"" Spacebar ?
Dear Jimmy, Please try with: oControl:PostMsg( WM_KEYDOWN, 32 ) or oControl:PostMsg( WM_CHAR, 32 )
how to ""get"" and ""use"" PHPSESSID Cookie ?
hi, when visit a Forum using phpBB you get a Cookie after login in my Forum-Reader App i do not "login" just URL [code=fw:9rtd52f7]<div class="fw" id="{CB}" style="font-family: monospace;">   cURL := <span style="color: #ff0000;">"https://forums.fivetechsupport.com/viewtopic.php?t=42811&"</span><br /><br /><span style="color: #00C800;">FUNCTION</span> DownloadFromWWW<span style="color: #000000;">&#40;</span> cURL, cFile, nThreadNo <span style="color: #000000;">&#41;</span><br /><span style="color: #00C800;">LOCAL</span> oHttp     := Win_OleCreateObject<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"MSXML2.ServerXMLHTTP"</span> <span style="color: #000000;">&#41;</span><br />   BEGIN SEQUENCE <br />      oHttp:<span style="color: #000000;">Open</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"GET"</span>, cUrl, .F. <span style="color: #000000;">&#41;</span><br />      oHttp:<span style="color: #000000;">setRequestHeader</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"User-Agent"</span>, <span style="color: #ff0000;">"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Firefox/68.0"</span> <span style="color: #000000;">&#41;</span><br /><br />      oHttp:<span style="color: #000000;">Send</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span></div>[/code:9rtd52f7] Question : 1.) how to include "Login" 2.) how to use Session ID from PHPSESSID Cookie
how to ""override"" Function of FiveH64.lib using MSVC
hi, i want to "debug" some Function and use "Original Source" that work with BCC / *.MAK but using MSVC / *.HBP i got "dupe Error <!-- s:shock: --><img src="{SMILIES_PATH}/icon_eek.gif" alt=":shock:" title="Shocked" /><!-- s:shock: --> [quote:3pykxy2w]FiveH64.lib(ADOFUNCS.obj) : error LNK2005: HB_FUN_FW_RDBMSNAME ist bereits in ADO.obj definiert. FiveH64.lib(ADOFUNCS.obj) : error LNK2005: HB_FUN_FWADOFIELDSTRUCT ist bereits in ADO.obj definiert.[/quote:3pykxy2w] how can i modify *.HBP for MSVC to "override" LIB Function <!-- s:?: --><img src="{SMILIES_PATH}/icon_question.gif" alt=":?:" title="Question" /><!-- s:?: --> using MinGW i can use --allow-multiple-definition
how to ""override"" Function of FiveH64.lib using MSVC
Use your functions as "static function xxx" in your module.
how to ""override"" Function of FiveH64.lib using MSVC
Or you may also await the next release of FWH
how to ""override"" Function of FiveH64.lib using MSVC
[quote="Jimmy":2rycnxzi]hi, i want to "debug" some Function and use "Original Source" that work with BCC / *.MAK but using MSVC / *.HBP i got "dupe Error <!-- s:shock: --><img src="{SMILIES_PATH}/icon_eek.gif" alt=":shock:" title="Shocked" /><!-- s:shock: --> [quote:2rycnxzi]FiveH64.lib(ADOFUNCS.obj) : error LNK2005: HB_FUN_FW_RDBMSNAME ist bereits in ADO.obj definiert. FiveH64.lib(ADOFUNCS.obj) : error LNK2005: HB_FUN_FWADOFIELDSTRUCT ist bereits in ADO.obj definiert.[/quote:2rycnxzi] how can i modify *.HBP for MSVC to "override" LIB Function <!-- s:?: --><img src="{SMILIES_PATH}/icon_question.gif" alt=":?:" title="Question" /><!-- s:?: --> using MinGW i can use --allow-multiple-definition[/quote:2rycnxzi] Try with flags linker: /FORCE:MULTIPLE
how to ""override"" Function of FiveH64.lib using MSVC
hi, [quote="cnavarro":2t1mde8q]Try with flags linker: /FORCE:MULTIPLE[/quote:2t1mde8q] i have write this into hbmk.hbm [code=fw:2t1mde8q]<div class="fw" id="{CB}" style="font-family: monospace;">DUALGRID.HBC <br /><br />-w1 -es2  -ldflag=-FORCE:<span style="color: #000000;">MULTIPLE</span></div>[/code:2t1mde8q] and got [quote:2t1mde8q]FiveH64.lib(ADOFUNCS.obj) : warning LNK4006: HB_FUN_FW_RDBMSNAME ist bereits in "ADO.obj" definiert; zweite Definition wird ignoriert. FiveH64.lib(ADOFUNCS.obj) : warning LNK4006: HB_FUN_FW_OPENRECORDSET ist bereits in "ADO.obj" definiert; zweite Definition wird ignoriert. FiveH64.lib(ADOFUNCS.obj) : warning LNK4006: HB_FUN_FWADOSTRUCT ist bereits in "ADO.obj" definiert; zweite Definition wird ignoriert. FiveH64.lib(ADOFUNCS.obj) : warning LNK4006: HB_FUN_FWADOFIELDSTRUCT ist bereits in "ADO.obj" definiert; zweite Definition wird ignoriert. DUALGRID.exe : warning LNK4088: Image wird aufgrund der Option /FORCE generiert; Image kann möglicherweise nicht ausgeführt werden.[/quote:2t1mde8q] but generated EXE seens to work <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D -->
how to ?
excuse me i am new on this forum and want to learn MH there is a guide "how to" for begin ? ok to study examples but a text semi-complete is better <!-- s:) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /><!-- s:) --> thanks very much Daniele
how to ?
Daniele, [url:1j0g0ch2]https&#58;//github&#46;com/FiveTechSoft/mod_harbour/wiki[/url:1j0g0ch2] 1. what is it mod_harbour mod_harbour is a module extension for Apache that supports Harbour PRGs (and HRBs) same as Apache supports PHPs 2. How to install mod_harbour [url:1j0g0ch2]https&#58;//github&#46;com/FiveTechSoft/mod_harbour/blob/master/windows/readme&#46;md[/url:1j0g0ch2] [url:1j0g0ch2]https&#58;//github&#46;com/FiveTechSoft/mod_harbour/wiki/mod_harbour-setup-for-Windows-Xampp[/url:1j0g0ch2] 3. Functions provided my mod_harbour: [url:1j0g0ch2]https&#58;//github&#46;com/FiveTechSoft/mod_harbour/wiki/Functions-provided-by-the-mod-Harbour[/url:1j0g0ch2] 4. Using DBFs from the server: [url:1j0g0ch2]https&#58;//github&#46;com/FiveTechSoft/mod_harbour/wiki/Using-DBFs-from-the-server[/url:1j0g0ch2] 5. Using MySQL from the server: [url:1j0g0ch2]https&#58;//github&#46;com/FiveTechSoft/mod_harbour/wiki/Create-a-MySQL-database,-table-and-some-records[/url:1j0g0ch2] 6. Troubleshoting [url:1j0g0ch2]https&#58;//github&#46;com/FiveTechSoft/mod_harbour/wiki/What-to-check-if-the-mod-is-not-working[/url:1j0g0ch2] 7. How to use your own libraries: [url:1j0g0ch2]https&#58;//github&#46;com/FiveTechSoft/mod_harbour/wiki/How-to-include-your-own-libs-or-third-party-libs-into-mod_harbour[/url:1j0g0ch2] 8. How to activate the rewrite module: [url:1j0g0ch2]https&#58;//github&#46;com/FiveTechSoft/mod_harbour/wiki/How-to-activate-the-rewrite-module[/url:1j0g0ch2] 9. Tables and form designers: [url:1j0g0ch2]https&#58;//github&#46;com/FiveTechSoft/mod_harbour/wiki/Tables-&-Form-Designers[/url:1j0g0ch2] 10. MVC: Model View Controller, the right way to use mod_harbour: [b:1j0g0ch2]M[/b:1j0g0ch2]odel (data), [b:1j0g0ch2]V[/b:1j0g0ch2]iew (user interface), [b:1j0g0ch2]C[/b:1j0g0ch2]ontroller (requests and results administrator) is the right way to develop web apps. You can use the Mercury library for mod_harbour that implements MVC:
how to ?
Thanks mr. Linares in a small test i see that in browser work also the serial port !! Wonderfull lComOk := com_Open(1, nBuff_size) // Open port IF ! com_Open(1, 1000) ? "Com non presente" else ? "Com1 presente" endif reply correctly !! Little question: is it possible to print overcoming browser restrictions? I'll explain with a button on the web page it is possible to print directly to a printer, perhaps not the default one, without going through the printer choice of the browser? thanks for your work Daniele
how to ?
Daniele, Please try: SET PRINTER on | OFF | <xlToggle> SET PRINTER TO [<xcDevice> | <xcFile> [ADDITIVE]] then use, QOut( "Hello world" )
how to ?
wow !! to a file work !!! was it so easy ?!!???? <!-- s:oops: --><img src="{SMILIES_PATH}/icon_redface.gif" alt=":oops:" title="Embarassed" /><!-- s:oops: --> unbelievable ! thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D --> but .... how to send to an usb/network printer ? Daniele
how to ?
[url:1goelis4]https&#58;//groups&#46;google&#46;com/g/harbour-users/c/yYcli11tYvc[/url:1goelis4]
how to ?
Dear mr. Antonio, dear all friends in my little tests i found that is possible to use the printer and serial port of the server but is possible to use serial or print directaly to the serial/printer of the pc client ? in other words, print or otherwise by skipping the browser's security settings ? thanks in advance Daniele
how to ?
No replay? Please... <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D -->
how to ?
fdaniele, can you print a web page? You can use for example window.print (). See <!-- m --><a class="postlink" href="https://www.w3schools.com/jsref/met_win_print.asp">https://www.w3schools.com/jsref/met_win_print.asp</a><!-- m -->
how to ?
so easy ?!? woooowwwww correction: thanks Mr. Carles anyway the preview of the print is showed <!-- s8) --><img src="{SMILIES_PATH}/icon_cool.gif" alt="8)" title="Cool" /><!-- s8) --> i want to print directaly (like a POS) Thanks anyway mr. Carles, really appreciate your help <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D --> Daniele
how to DEBUG FiveWin ?
hi, i wonder how to DEBUG FiveWin App which need Option "-b" when start App i got Warning [quote:2ctlbi55]FWDBG.DLL not found[/quote:2ctlbi55] i found c:\fwh\dll\fwdbg.dll and in this Folder also 3 x *.BAT fwdbg64.bat, rc2dll32.bat, and rc2dll64.bat but no fwdbg32.bat <!-- s:?: --><img src="{SMILIES_PATH}/icon_question.gif" alt=":?:" title="Question" /><!-- s:?: --> need some help please
how to DEBUG FiveWin ?
Dear Jimmy, Please go to FWH\samples folder and do: buildh.bat tutor01 /b
how to DEBUG FiveWin ?
hi Antonio, have follow your Advice btw. this line [code=fw:slfgo8y0]<div class="fw" id="{CB}" style="font-family: monospace;">%hdir%\bin\win\bcc\harbour %<span style="color: #000000;">1</span> /n /i%fwh%\include;%hdir%\include /w /p %<span style="color: #000000;">2</span> %<span style="color: #000000;">3</span> > comp.log <span style="color: #000000;">2</span>> warnings.log</div>[/code:slfgo8y0] must be [code=fw:slfgo8y0]<div class="fw" id="{CB}" style="font-family: monospace;">%hdir%\bin\harbour %<span style="color: #000000;">1</span> /n /i%fwh%\include;%hdir%\include /w /p %<span style="color: #000000;">2</span> %<span style="color: #000000;">3</span> > comp.log <span style="color: #000000;">2</span>> warnings.log</div>[/code:slfgo8y0] it does show Debugger but how when compile/link in other Folder where i got Warning about missing fwdbg.dll <!-- s:( --><img src="{SMILIES_PATH}/icon_sad.gif" alt=":(" title="Sad" /><!-- s:( --> work [code=fw:slfgo8y0]<div class="fw" id="{CB}" style="font-family: monospace;">   c:\fwh\samples\tutor01.prg</div>[/code:slfgo8y0] do not work [code=fw:slfgo8y0]<div class="fw" id="{CB}" style="font-family: monospace;">   c:\fwh\<span style="color: #000000;">0</span>\FWVLC\FWVLC.PRG</div>[/code:slfgo8y0] i try to include c:\fwh\dll into PATH but still got Warning ... have to copy fwdbg.dll into App Folder to work
how to DEBUG FiveWin ?
Dear Jimmy, Up to recently we used the same folders configuration as Clipper: bin, lib, include folders. But as we can build in 32 or 64 bits, using Borland, Microsoft or MinGW, we have decided to respect the same directory structure as Harbour uses: harbour/bin/win/bcc harbour/bin/win/msvc harbour/bin/win/msvc64 harbour/bin/win/mingw etc... from FWH 22.06 on we are using this folders structure, so you can easily build using 32 or 64 bits, or using any of those compilers. That would be impossible using harbour/bin only. The same structure applies for the lib folder.
how to DEBUG FiveWin ?
hi Antonio, i´m not sure about your last Answer which seems have to do with harbour/Bin ... > bin, lib, include folders. my "Problem" is c:\fwh\[size=150:1inlvv12]dll[/size:1inlvv12]\fwdbg.dll which is "unknown" when not using c:\fwh\samples\ --- i have create Sub-Folder under C:\fwh for my own Project [code=fw:1inlvv12]<div class="fw" id="{CB}" style="font-family: monospace;">c:\fwh\<span style="color: #000000;">0</span>\VLC\</div>[/code:1inlvv12] now i have to "copy" fwdbg.dll into Folder to make it work i have try to include c:\fwh\[size=150:1inlvv12]dll[/size:1inlvv12] into PATH but still got Warning "not found" Question : is there any "SET FWDEBUG =" <!-- s:?: --><img src="{SMILIES_PATH}/icon_question.gif" alt=":?:" title="Question" /><!-- s:?: -->
how to DEBUG FiveWin ?
Dear Jimmy, You have to copy fwdbg.dll where your EXE is placed
how to DEBUG FiveWin ?
hi Antonio, [quote="Antonio Linares":275dy2ay]You have to copy fwdbg.dll where your EXE is placed[/quote:275dy2ay] Ok, got it Thx
how to DEBUG FiveWin ?
Jimmy Debug is a very handy tool to have .. you can debug also and trap values at runtime with Msginfo() .. you can easily evaluate memory variables, module tracing, etc .... Rick Lipkin
how to DEBUG FiveWin ?
There is wonderful debugger on VSCode <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D -->
how to DEBUG FiveWin ?
Dear Antonino, +1 <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
how to DEBUG FiveWin ?
Hello AntoninoP, is there some info how to start using VSCode debugger? Best regards, Otto
how to DEBUG FiveWin ?
[quote="Otto":2vk9sn0n]Hello AntoninoP, is there some info how to start using VSCode debugger? Best regards, Otto[/quote:2vk9sn0n] I always suggest the very good guide by Eric Lendvai [url:2vk9sn0n]https&#58;//harbour&#46;wiki/index&#46;asp?page=PublicArticles&mode=show&id=190401174818&sig=6893630672[/url:2vk9sn0n]
how to DEBUG FiveWin ?
Hello Antonino, Thank you. I will try. Best regards, Otto
how to add libraries to the buildh.bat file
Hi, I'm getting missing externals from twitter, which I believe are found in libcurl.lib, in the harbour distribution. What's the official way to add specific contribution libraries to buildh.bat? When I try compile twitter.prg, the externals are Compiling... Harbour 3.2.0dev (r2008190002) Copyright (c) 1999-2020, <!-- m --><a class="postlink" href="https://harbour.github.io/">https://harbour.github.io/</a><!-- m --> Compiling 'twitter.prg' and generating preprocessed output to 'twitter.ppo'... Lines 5663, Functions/Procedures 2 Generating C source output to 'twitter.c'... Done. Embarcadero C++ 7.00 for Win32 Copyright (c) 1993-2015 Embarcadero Technologies, Inc. twitter.c: Turbo Incremental Link 6.70 Copyright (c) 1997-2014 Embarcadero Technologies, Inc. Error: Unresolved external '_HB_FUN_CURL_GLOBAL_INIT' referenced from C:\FWH\SAMPLES\TWITTER.OBJ Error: Unresolved external '_HB_FUN_CURL_EASY_INIT' referenced from C:\FWH\SAMPLES\TWITTER.OBJ Error: Unresolved external '_HB_FUN_CURL_EASY_SETOPT' referenced from C:\FWH\SAMPLES\TWITTER.OBJ Error: Unresolved external '_HB_FUN_CURL_EASY_PERFORM' referenced from C:\FWH\SAMPLES\TWITTER.OBJ Error: Unresolved external '_HB_FUN_CURL_EASY_RESET' referenced from C:\FWH\SAMPLES\TWITTER.OBJ Error: Unresolved external '_HB_FUN_CURL_GLOBAL_CLEANUP' referenced from C:\FWH\SAMPLES\TWITTER.OBJ
how to add libraries to the buildh.bat file
D. You have to add these lines in buildh.bat to build it using BCC7: echo %hdirl%\hbcurl.lib + >> b32.bc echo %hdirl%\libcurl.lib + >> b32.bc or add these lines in buildh32.bat to build it using Visual Studio Community echo %hdirl%\hbcurl.lib >> msvc.tmp echo %hdirl%\libcurl.lib >> msvc.tmp
how to add libraries to the buildh.bat file
Ok, thanks Antonio. Regards,
how to add libraries to the buildh.bat file
Got further, but there's still some missing externals Error: Unresolved external '_curl_global_init_mem' referenced from C:\HARBOUR\LIB\HBCURL.LIB|core Error: Unresolved external '_curl_global_cleanup' referenced from C:\HARBOUR\LIB\HBCURL.LIB|core Error: Unresolved external '_curl_formfree' referenced from C:\HARBOUR\LIB\HBCURL.LIB|core Error: Unresolved external '_curl_easy_cleanup' referenced from C:\HARBOUR\LIB\HBCURL.LIB|core Error: Unresolved external '_curl_easy_reset' referenced from C:\HARBOUR\LIB\HBCURL.LIB|core Error: Unresolved external '_curl_easy_duphandle' referenced from C:\HARBOUR\LIB\HBCURL.LIB|core Error: Unresolved external '_curl_easy_init' referenced from C:\HARBOUR\LIB\HBCURL.LIB|core Error: Unresolved external '_curl_easy_pause' referenced from C:\HARBOUR\LIB\HBCURL.LIB|core Error: Unresolved external '_curl_easy_perform' referenced from C:\HARBOUR\LIB\HBCURL.LIB|core Error: Unresolved external '_curl_easy_send' referenced from C:\HARBOUR\LIB\HBCURL.LIB|core Error: Unresolved external '_curl_easy_recv' referenced from C:\HARBOUR\LIB\HBCURL.LIB|core Error: Unresolved external '_curl_formadd' referenced from C:\HARBOUR\LIB\HBCURL.LIB|core Error: Unresolved external '_curl_slist_append' referenced from C:\HARBOUR\LIB\HBCURL.LIB|core Error: Unresolved external '_curl_easy_setopt' referenced from C:\HARBOUR\LIB\HBCURL.LIB|core Error: Unresolved external '_curl_easy_getinfo' referenced from C:\HARBOUR\LIB\HBCURL.LIB|core Error: Unresolved external '_curl_slist_free_all' referenced from C:\HARBOUR\LIB\HBCURL.LIB|core Error: Unresolved external '_curl_easy_escape' referenced from C:\HARBOUR\LIB\HBCURL.LIB|core Error: Unresolved external '_curl_easy_unescape' referenced from C:\HARBOUR\LIB\HBCURL.LIB|core Error: Unresolved external '_curl_version' referenced from C:\HARBOUR\LIB\HBCURL.LIB|core Error: Unresolved external '_curl_version_info' referenced from C:\HARBOUR\LIB\HBCURL.LIB|core Error: Unresolved external '_curl_easy_strerror' referenced from C:\HARBOUR\LIB\HBCURL.LIB|core Error: Unresolved external '_curl_getdate' referenced from C:\HARBOUR\LIB\HBCURL.LIB|core Error: Unresolved external '_curl_escape' referenced from C:\HARBOUR\LIB\HBCURL.LIB|core Error: Unresolved external '_curl_unescape' referenced from C:\HARBOUR\LIB\HBCURL.LIB|core Error: Unresolved external '_curl_free' referenced from C:\HARBOUR\LIB\HBCURL.LIB|core Error: Unable to perform link These seem to be referenced in c:\harbour\comp\mingw\include\curl\curl.h Should I put c:\harbour\comp\mingw\include\curl in the INCLUDE paths?
how to add libraries to the buildh.bat file
Please download and use this Harbour build and it should work fine: [url:122u4qej]https&#58;//github&#46;com/FiveTechSoft/Harbour_builder/blob/master/harbour_win32_bcc_2020_10_19&#46;zip[/url:122u4qej]
how to add libraries to the buildh.bat file
I'm pretty sure I extracted the Fivewin build a few months ago. But I'll give it a shot, thanks.
how to add libraries to the buildh.bat file
Hi, FWExplorer ! Tell me, did you manage to work with CURL?
how to add libraries to the buildh.bat file
It compiled correctly. Unfortunately, the line [code=fw:2ow6agbc]<div class="fw" id="{CB}" style="font-family: monospace;"> &nbsp; &nbsp; &nbsp;aMatch &nbsp;= HB_RegExAll<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">'form action="(.*?)" method="(.*?)"'</span>, cPage, .F., .T. <span style="color: #000000;">&#41;</span><br />&nbsp;</div>[/code:2ow6agbc] doesn't do anything. aMatch is empty afterwards, and then of course there's an array error on the next line [code=fw:2ow6agbc]<div class="fw" id="{CB}" style="font-family: monospace;"> &nbsp; &nbsp; &nbsp;cURL &nbsp; &nbsp;= aMatch<span style="color: #000000;">&#91;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#93;</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">2</span> <span style="color: #000000;">&#93;</span><br />&nbsp;</div>[/code:2ow6agbc]
how to add libraries to the buildh.bat file
You're talking about a file curl.h ?
how to add libraries to the buildh.bat file
No. Twitter.prg, in the samples folder.
how to add libraries to the buildh.bat file
twitter.prg uses this url: [url:3r1iahvm]https&#58;//mobile&#46;twitter&#46;com/session/new[/url:3r1iahvm] but it seems as such url is no longer working We need to find the current equivalent one
how to add libraries to the buildh.bat file
Ok, thanks Antonio.
how to add two columns in the Report
how to add two columns in the Report, I have a DBF file in which there is a field input and output field, using the report command to print the report should look like this: input output balance -------------------------------- 100 0 100 20 0 120 0 10 110 0 5 105 ------------------------------- 120 15 105 I do not know how to calculate the third column thank you for your help.
how to add two columns in the Report
Hi, here's is an example: [code=fw:19pmdb6a]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">local</span> nBalance:=<span style="color: #000000;">0</span><br /><br />&nbsp; &nbsp; &nbsp; REPORT oReport ;<br />&nbsp; &nbsp; &nbsp;...<br />&nbsp; &nbsp; &nbsp;oReport:<span style="color: #000000;">bInit</span> := <span style="color: #000000;">&#123;</span> || MyTable-><span style="color: #000000;">&#40;</span>dbGoTop<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span>, nBalance:= <span style="color: #000000;">&#40;</span>nBalance+MyTable->debit - MyTable->Credit <span style="color: #000000;">&#41;</span> &nbsp; <span style="color: #000000;">&#125;</span> &nbsp;<span style="color: #B900B9;">//FWH 1204</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp;COLUMN <span style="color: #0000ff;">TITLE</span> <span style="color: #ff0000;">"DEBITS &nbsp; &nbsp;"</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00C800;">DATA</span> &nbsp;MyTable->Debit ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">PICTURE</span> <span style="color: #ff0000;">"@Z 99,999,999.99"</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">10</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; TOTAL <br /><br />&nbsp; &nbsp; &nbsp;COLUMN <span style="color: #0000ff;">TITLE</span> <span style="color: #ff0000;">"CREDITS &nbsp; &nbsp;"</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00C800;">DATA</span> &nbsp;MyTable->Credit ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">PICTURE</span> <span style="color: #ff0000;">"@Z 99,999,999.99"</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">10</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; TOTAL <br /><br />&nbsp; &nbsp; &nbsp;COLUMN <span style="color: #0000ff;">TITLE</span> <span style="color: #ff0000;">"BALANCE &nbsp; "</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00C800;">DATA</span> nBalance += <span style="color: #000000;">&#40;</span> MyTable->Debit - MyTable->Credit <span style="color: #000000;">&#41;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">PICTURE</span> <span style="color: #ff0000;">"99,999,999.99"</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">10</span> <br /><br />&nbsp; &nbsp; &nbsp;END REPORT<br /><br />&nbsp; &nbsp; &nbsp;<span style="color: #0000ff;">ACTIVATE</span> REPORT oReport<br />&nbsp;</div>[/code:19pmdb6a] Let me know if it helps you. Regards.
how to add two columns in the Report
Thanks for your help Mr. FranciskoA, this is a small example of what I wanted to do in my program who now works ok. Best regards Davor. #include "FiveWin.ch" #include "report.ch" REQUEST DBFFPT,DBFCDX function rept() local nBalance:=0,nfor,astruct,oReport IF FILE("MyTable.DBF")=.F. ASTRUCT := { ; { "AAA" , "N", 5, 0 }, ; { "DEBIT" , "N", 5, 0 }, ; { "CREDIT" , "N", 5, 0 } ; } DBCREATE("MyTable", ASTRUCT, "DBFCDX", , ) endif USE MyTable NEW index on str(MyTable->aaa) to aaacdx temporary dbGoTop() if eof()=.t. for nfor=1 to 20 append blank if nfor<=10 replace MyTable->aaa with 10 else replace MyTable->aaa with 20 endif replace MyTable->debit with nfor*2 replace MyTable->credit with nfor next endif REPORT oReport ; TITLE "Test" ; HEADER dtoc(date()); FOOTER "Page: "+str(oReport:nPage,3) RIGHT; PREVIEW oReport:bInit := { || MyTable->(dbGoTop()), nBalance:= 0 } //FWH 1204 COLUMN TITLE "GROUP " ; DATA MyTable->AAA ; PICTURE "@Z 99999999" ; SIZE 10 COLUMN TITLE "DEBITS " ; DATA MyTable->Debit ; PICTURE "@Z 99,999,999.99" ; SIZE 10 ; TOTAL COLUMN TITLE "CREDITS " ; DATA MyTable->Credit ; PICTURE "@Z 99,999,999.99" ; SIZE 10 ; TOTAL COLUMN TITLE "BALANCE " ; DATA nBalance += ( MyTable->Debit - MyTable->Credit ) ; PICTURE "99,999,999.99" ; SIZE 10 GROUP ON MyTable->aaa END REPORT ACTIVATE REPORT oReport ON ENDGROUP nBalance:= 0 close all return nil
how to add two columns in the Report
davor0501, Good.
how to align xbrowse lines?
[img:kshz7xh1]http&#58;//www&#46;acessosoft&#46;com&#46;br/img/50&#46;png[/img:kshz7xh1] [code=fw:kshz7xh1]<div class="fw" id="{CB}" style="font-family: monospace;">aMainPanelCtrl<span style="color: #000000;">&#91;</span> <span style="color: #ff0000;">"MAIN_OBRWREM"</span> <span style="color: #000000;">&#93;</span> := TXBrowse<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>:<span style="color: #00C800;">New</span><span style="color: #000000;">&#40;</span> aMainPanelCtrl<span style="color: #000000;">&#91;</span> <span style="color: #ff0000;">"MAIN_OFOLDER"</span> <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">aDialogs</span><span style="color: #000000;">&#91;</span> RemRetGetDialog<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"REM"</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#93;</span> <span style="color: #000000;">&#41;</span><br /><br />aMainPanelCtrl<span style="color: #000000;">&#91;</span> <span style="color: #ff0000;">"MAIN_OBRWREM"</span> <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">SetArray</span><span style="color: #000000;">&#40;</span> aMainPanelCtrl<span style="color: #000000;">&#91;</span> <span style="color: #ff0000;">"MAIN_ABRWREM"</span> <span style="color: #000000;">&#93;</span> <span style="color: #000000;">&#41;</span><br /><br />aMainPanelCtrl<span style="color: #000000;">&#91;</span> <span style="color: #ff0000;">"MAIN_OBRWREM"</span> <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">oFont</span>               := oFontLuc<br />aMainPanelCtrl<span style="color: #000000;">&#91;</span> <span style="color: #ff0000;">"MAIN_OBRWREM"</span> <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">oDataSelFont</span>        := oFontLucB<br />aMainPanelCtrl<span style="color: #000000;">&#91;</span> <span style="color: #ff0000;">"MAIN_OBRWREM"</span> <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">nMarqueeStyle</span>       := MARQSTYLE_HIGHLROW<br />aMainPanelCtrl<span style="color: #000000;">&#91;</span> <span style="color: #ff0000;">"MAIN_OBRWREM"</span> <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">nColDividerStyle</span>    := <span style="color: #000000;">2</span><br />aMainPanelCtrl<span style="color: #000000;">&#91;</span> <span style="color: #ff0000;">"MAIN_OBRWREM"</span> <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">nRowDividerStyle</span>    := <span style="color: #000000;">2</span><br />aMainPanelCtrl<span style="color: #000000;">&#91;</span> <span style="color: #ff0000;">"MAIN_OBRWREM"</span> <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">nHeaderLines</span>        := <span style="color: #000000;">1</span><br />aMainPanelCtrl<span style="color: #000000;">&#91;</span> <span style="color: #ff0000;">"MAIN_OBRWREM"</span> <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">nDataLines</span>          := <span style="color: #000000;">4</span><br />aMainPanelCtrl<span style="color: #000000;">&#91;</span> <span style="color: #ff0000;">"MAIN_OBRWREM"</span> <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">nTop</span>                := <span style="color: #000000;">10</span><br />aMainPanelCtrl<span style="color: #000000;">&#91;</span> <span style="color: #ff0000;">"MAIN_OBRWREM"</span> <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">nLeft</span>               := <span style="color: #000000;">5</span><br />aMainPanelCtrl<span style="color: #000000;">&#91;</span> <span style="color: #ff0000;">"MAIN_OBRWREM"</span> <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">nBottom</span>             := aMainPanelCtrl<span style="color: #000000;">&#91;</span> <span style="color: #ff0000;">"MAIN_OFOLDER"</span> <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">aDialogs</span><span style="color: #000000;">&#91;</span> RemRetGetDialog<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"REM"</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">nHeight</span> - <span style="color: #000000;">38</span><br />aMainPanelCtrl<span style="color: #000000;">&#91;</span> <span style="color: #ff0000;">"MAIN_OBRWREM"</span> <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">nRight</span>              := aMainPanelCtrl<span style="color: #000000;">&#91;</span> <span style="color: #ff0000;">"MAIN_OFOLDER"</span> <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">nRight</span> - <span style="color: #000000;">10</span><br />aMainPanelCtrl<span style="color: #000000;">&#91;</span> <span style="color: #ff0000;">"MAIN_OBRWREM"</span> <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">bClrStd</span>             := <span style="color: #000000;">&#123;</span>|| <span style="color: #000000;">&#123;</span> CLR_BLACK, <span style="color: #00C800;">IF</span><span style="color: #000000;">&#40;</span> <span style="color: #00C800;">MOD</span><span style="color: #000000;">&#40;</span> aMainPanelCtrl<span style="color: #000000;">&#91;</span> <span style="color: #ff0000;">"MAIN_OBRWREM"</span> <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">nArrayAt</span>, <span style="color: #000000;">2</span> <span style="color: #000000;">&#41;</span> == <span style="color: #000000;">0</span>, _PARM_BRWCLR<span style="color: #000000;">&#91;</span><span style="color: #000000;">1</span><span style="color: #000000;">&#93;</span>, _PARM_BRWCLR<span style="color: #000000;">&#91;</span><span style="color: #000000;">2</span><span style="color: #000000;">&#93;</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#125;</span><br />aMainPanelCtrl<span style="color: #000000;">&#91;</span> <span style="color: #ff0000;">"MAIN_OBRWREM"</span> <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">bClrSel</span>             := <span style="color: #000000;">&#123;</span>|| <span style="color: #000000;">&#123;</span> CLR_WHITE, CLR_BLACK <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#125;</span><br />aMainPanelCtrl<span style="color: #000000;">&#91;</span> <span style="color: #ff0000;">"MAIN_OBRWREM"</span> <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">nStretchCol</span>         := STRETCHCOL_LAST<br />aMainPanelCtrl<span style="color: #000000;">&#91;</span> <span style="color: #ff0000;">"MAIN_OBRWREM"</span> <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">cFileSaveWidth</span>      := _PATH_TRM + <span style="color: #ff0000;">"BRW_MAIN_REM.CFG"</span><br />aMainPanelCtrl<span style="color: #000000;">&#91;</span> <span style="color: #ff0000;">"MAIN_OBRWREM"</span> <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">lRecordSelector</span>     := .F.<br />aMainPanelCtrl<span style="color: #000000;">&#91;</span> <span style="color: #ff0000;">"MAIN_OBRWREM"</span> <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">cToolTip</span>            := <span style="color: #ff0000;">"Listagem de Boletos Aguardando Remessa "</span> + CRLF + CRLF + <span style="color: #ff0000;">"Clique na primeira coluna para selecionar ou faça duplo clique para VISUALIZAR o boleto."</span><br />aMainPanelCtrl<span style="color: #000000;">&#91;</span> <span style="color: #ff0000;">"MAIN_OBRWREM"</span> <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">blDblClick</span>          := <span style="color: #000000;">&#123;</span>|| MainRemRetView<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"REM"</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#125;</span><br />aMainPanelCtrl<span style="color: #000000;">&#91;</span> <span style="color: #ff0000;">"MAIN_OBRWREM"</span> <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">bKeyDown</span>            := <span style="color: #000000;">&#123;</span>|nKey| <span style="color: #00C800;">IF</span><span style="color: #000000;">&#40;</span> nKey == VK_RETURN, MainRemRetView<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"REM"</span> <span style="color: #000000;">&#41;</span>, <span style="color: #00C800;">NIL</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#125;</span><br />aMainPanelCtrl<span style="color: #000000;">&#91;</span> <span style="color: #ff0000;">"MAIN_OBRWREM"</span> <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">bChange</span>             := <span style="color: #00C800;">NIL</span><br />aMainPanelCtrl<span style="color: #000000;">&#91;</span> <span style="color: #ff0000;">"MAIN_OBRWREM"</span> <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">SetColor</span><span style="color: #000000;">&#40;</span> CLR_BLACK, _PARM_BRWCLR<span style="color: #000000;">&#91;</span><span style="color: #000000;">1</span><span style="color: #000000;">&#93;</span> <span style="color: #000000;">&#41;</span><br /><br />aMainPanelCtrl<span style="color: #000000;">&#91;</span> <span style="color: #ff0000;">"MAIN_OBRWREM"</span> <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">aCols</span><span style="color: #000000;">&#91;</span> REM_SEL <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">cHeader</span> := <span style="color: #ff0000;">" "</span><br />aMainPanelCtrl<span style="color: #000000;">&#91;</span> <span style="color: #ff0000;">"MAIN_OBRWREM"</span> <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">aCols</span><span style="color: #000000;">&#91;</span> REM_SEL <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">AddResource</span><span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"Bmp_CheckOn"</span>  <span style="color: #000000;">&#41;</span><br />aMainPanelCtrl<span style="color: #000000;">&#91;</span> <span style="color: #ff0000;">"MAIN_OBRWREM"</span> <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">aCols</span><span style="color: #000000;">&#91;</span> REM_SEL <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">AddResource</span><span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"Bmp_CheckOff"</span> <span style="color: #000000;">&#41;</span><br />aMainPanelCtrl<span style="color: #000000;">&#91;</span> <span style="color: #ff0000;">"MAIN_OBRWREM"</span> <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">aCols</span><span style="color: #000000;">&#91;</span> REM_SEL <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">bBmpData</span>       := <span style="color: #000000;">&#123;</span> || RemRetBmpSel<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"REM"</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#125;</span><br />aMainPanelCtrl<span style="color: #000000;">&#91;</span> <span style="color: #ff0000;">"MAIN_OBRWREM"</span> <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">aCols</span><span style="color: #000000;">&#91;</span> REM_SEL <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">nDataBmpAlign</span>  := AL_CENTER<br />aMainPanelCtrl<span style="color: #000000;">&#91;</span> <span style="color: #ff0000;">"MAIN_OBRWREM"</span> <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">aCols</span><span style="color: #000000;">&#91;</span> REM_SEL <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">bStrData</span>       := <span style="color: #00C800;">NIL</span><br />aMainPanelCtrl<span style="color: #000000;">&#91;</span> <span style="color: #ff0000;">"MAIN_OBRWREM"</span> <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">aCols</span><span style="color: #000000;">&#91;</span> REM_SEL <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">bLClickData</span>    := <span style="color: #000000;">&#123;</span>|| RemRetClickSelect<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"REM"</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#125;</span><br /><br />aMainPanelCtrl<span style="color: #000000;">&#91;</span> <span style="color: #ff0000;">"MAIN_OBRWREM"</span> <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">aCols</span><span style="color: #000000;">&#91;</span> REM_DAT <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">cHeader</span>      := <span style="color: #ff0000;">"Datas"</span><br /><br />aMainPanelCtrl<span style="color: #000000;">&#91;</span> <span style="color: #ff0000;">"MAIN_OBRWREM"</span> <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">aCols</span><span style="color: #000000;">&#91;</span> REM_BOM <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">lHide</span>        := .T.<br /><br />aMainPanelCtrl<span style="color: #000000;">&#91;</span> <span style="color: #ff0000;">"MAIN_OBRWREM"</span> <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">aCols</span><span style="color: #000000;">&#91;</span> REM_NUM <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">cHeader</span>      := <span style="color: #ff0000;">"Número"</span><br />aMainPanelCtrl<span style="color: #000000;">&#91;</span> <span style="color: #ff0000;">"MAIN_OBRWREM"</span> <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">aCols</span><span style="color: #000000;">&#91;</span> REM_NUM <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">nHeadStrAlign</span>:= AL_CENTER<br /><br />aMainPanelCtrl<span style="color: #000000;">&#91;</span> <span style="color: #ff0000;">"MAIN_OBRWREM"</span> <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">aCols</span><span style="color: #000000;">&#91;</span> REM_BCO <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">lHide</span>        := .T.<br /><br />aMainPanelCtrl<span style="color: #000000;">&#91;</span> <span style="color: #ff0000;">"MAIN_OBRWREM"</span> <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">aCols</span><span style="color: #000000;">&#91;</span> REM_NNU <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">cHeader</span>      := <span style="color: #ff0000;">"Nosso Número"</span><br />aMainPanelCtrl<span style="color: #000000;">&#91;</span> <span style="color: #ff0000;">"MAIN_OBRWREM"</span> <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">aCols</span><span style="color: #000000;">&#91;</span> REM_NNU <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">nHeadStrAlign</span>:= AL_CENTER<br /><br />aMainPanelCtrl<span style="color: #000000;">&#91;</span> <span style="color: #ff0000;">"MAIN_OBRWREM"</span> <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">aCols</span><span style="color: #000000;">&#91;</span> REM_VAL <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">cHeader</span>      := <span style="color: #ff0000;">"Valor R$"</span><br />aMainPanelCtrl<span style="color: #000000;">&#91;</span> <span style="color: #ff0000;">"MAIN_OBRWREM"</span> <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">aCols</span><span style="color: #000000;">&#91;</span> REM_VAL <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">nHeadStrAlign</span>:= AL_CENTER<br /><br />aMainPanelCtrl<span style="color: #000000;">&#91;</span> <span style="color: #ff0000;">"MAIN_OBRWREM"</span> <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">aCols</span><span style="color: #000000;">&#91;</span> REM_MAT <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">lHide</span>        := .T.<br /><br />aMainPanelCtrl<span style="color: #000000;">&#91;</span> <span style="color: #ff0000;">"MAIN_OBRWREM"</span> <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">aCols</span><span style="color: #000000;">&#91;</span> REM_NOM <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">cHeader</span>      := <span style="color: #ff0000;">"Aluno"</span><br />aMainPanelCtrl<span style="color: #000000;">&#91;</span> <span style="color: #ff0000;">"MAIN_OBRWREM"</span> <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">aCols</span><span style="color: #000000;">&#91;</span> REM_NOM <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">nHeadStrAlign</span>:= AL_CENTER<br /><br />aMainPanelCtrl<span style="color: #000000;">&#91;</span> <span style="color: #ff0000;">"MAIN_OBRWREM"</span> <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">aCols</span><span style="color: #000000;">&#91;</span> REM_USU <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">cHeader</span>      := <span style="color: #ff0000;">"Usuário"</span><br />aMainPanelCtrl<span style="color: #000000;">&#91;</span> <span style="color: #ff0000;">"MAIN_OBRWREM"</span> <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">aCols</span><span style="color: #000000;">&#91;</span> REM_USU <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">nHeadStrAlign</span>:= AL_CENTER<br /><br />aMainPanelCtrl<span style="color: #000000;">&#91;</span> <span style="color: #ff0000;">"MAIN_OBRWREM"</span> <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">aCols</span><span style="color: #000000;">&#91;</span> REM_COD <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">lHide</span>        := .T.<br /><br />aMainPanelCtrl<span style="color: #000000;">&#91;</span> <span style="color: #ff0000;">"MAIN_OBRWREM"</span> <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">CreateFromCode</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span></div>[/code:kshz7xh1]
how to assign the sql query results to the variable
Hi, how to assign the sql query results [code=fw:1lbjgx1o]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #0000ff;">select</span> <span style="color: #0000ff;">sum</span><span style="color: #000000;">&#40;</span>value<span style="color: #000000;">&#41;</span> <span style="color: #0000ff;">from</span> invoice <span style="color: #0000ff;">where</span> poz=<span style="color: #ff0000;">'123'</span></div>[/code:1lbjgx1o] to the variable? regards Miloš
how to assign the sql query results to the variable
[quote="mtajkov":ikoeu8cy]Hi, how to assign the sql query results [code=fw:ikoeu8cy]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #0000ff;">select</span> <span style="color: #0000ff;">sum</span><span style="color: #000000;">&#40;</span>value<span style="color: #000000;">&#41;</span> <span style="color: #0000ff;">from</span> invoice <span style="color: #0000ff;">where</span> poz=<span style="color: #ff0000;">'123'</span></div>[/code:ikoeu8cy] to the variable? regards Miloš[/quote:ikoeu8cy] [code=fw:ikoeu8cy]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #0000ff;">select</span> <span style="color: #0000ff;">sum</span><span style="color: #000000;">&#40;</span>value<span style="color: #000000;">&#41;</span> as newname <span style="color: #0000ff;">from</span> invoice <span style="color: #0000ff;">where</span> poz=<span style="color: #ff0000;">'123'</span></div>[/code:ikoeu8cy] EMG
how to assign the sql query results to the variable
The result is constantly 0? [code=fw:dywmrep3]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">Function</span> <span style="color: #00C800;">New</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <br /><span style="color: #00C800;">Local</span> NewName:=<span style="color: #000000;">0</span><br /><br /> oSql:<span style="color: #000000;">exec</span><span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"SELECT sum(Value) AS NewName FROM Invice WHERE poz='123')<br /><br />MsgInfo(NewName)<br /><br />return<br /></span></div>[/code:dywmrep3]
how to assign the sql query results to the variable
What is oSql? Can I see a complete sample? EMG
how to assign the sql query results to the variable
Try Local oN oN := oSql:exec("SELECT sum(Value) AS NewName FROM Invice WHERE poz='123') xbrowse(oN) Maurizio <!-- w --><a class="postlink" href="http://www.nipeservice.com">www.nipeservice.com</a><!-- w -->
how to assign the sql query results to the variable
[quote="mtajkov":c7h8e3r7]The result is constantly 0? [code=fw:c7h8e3r7]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">Function</span> <span style="color: #00C800;">New</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <br /><span style="color: #00C800;">Local</span> NewName:=<span style="color: #000000;">0</span><br /><br /> oSql:<span style="color: #000000;">exec</span><span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"SELECT sum(Value) AS NewName FROM Invice WHERE poz='123')<br /><br />MsgInfo(NewName)<br /><br />return<br /></span></div>[/code:c7h8e3r7][/quote:c7h8e3r7] [code=fw:c7h8e3r7]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br />cSQL := <span style="color: #ff0000;">"SELECT sum(Value) AS NewName FROM Invice WHERE poz='123'"</span><br /><br />oSql:<span style="color: #000000;">exec</span><span style="color: #000000;">&#40;</span> cSql,,.t.,@aData <span style="color: #000000;">&#41;</span><br /><br />NewName := aData<span style="color: #000000;">&#91;</span><span style="color: #000000;">1</span><span style="color: #000000;">&#93;</span><span style="color: #000000;">&#91;</span><span style="color: #000000;">1</span><span style="color: #000000;">&#93;</span><br /><br />&nbsp;</div>[/code:c7h8e3r7] <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D --> <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D -->
how to assign the sql query results to the variable
Thank you, it works. <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D -->
how to assign the sql query results to the variable
Obteniendo resultado a una variable, saludos... <!-- s:shock: --><img src="{SMILIES_PATH}/icon_eek.gif" alt=":shock:" title="Shocked" /><!-- s:shock: --> [code=fw:5nwv6zhi]<div class="fw" id="{CB}" style="font-family: monospace;"><br />oQryId := TDolphinQry<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>:<span style="color: #00C800;">New</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"SELECT last_insert_id() AS nId"</span>, oDatos:<span style="color: #000000;">oConex</span> <span style="color: #000000;">&#41;</span><br />nVar := oQryId:<span style="color: #000000;">nId</span><br />&nbsp;</div>[/code:5nwv6zhi]
how to change tsbutton bmp background color ?
Hi, redefine tsbutton of odlg resource "mydllbmp" when .f. The disabled button bmp always shows dark gray, how to change it to CLR_HGRAY ? Best regard ! Shuming Wang
how to change tsbutton bmp background color ?
Mr.ShumingWang This is the code: [code:7xlf5t0k] COLORS &#123;|oBtn|IF&#40;oBtn&#58;lActive, ; IF&#40;oBtn&#58;lMouseOver, nRGB&#40;80,145,210&#41;, CLR_WHITE&#41;,; CLR_GRAY &#41; &#125;, ; &#123;|oBtn| If&#40; oBtn&#58;lActive, ; &#123;&#123;CLR_WHITE, nRGB&#40;80,145,210&#41;&#125;, 4 &#125;, ; CLR_HGRAY &#41; &#125; ; ACTION &#40; &#46;T&#46; &#41; [/code:7xlf5t0k] and the result is : [url=http&#58;//img291&#46;imageshack&#46;us/my&#46;php?image=tsbuttonuj0&#46;png:7xlf5t0k][img:7xlf5t0k]http&#58;//img291&#46;imageshack&#46;us/img291/2634/tsbuttonuj0&#46;th&#46;png[/img:7xlf5t0k][/url:7xlf5t0k] Regards - Ramesh Babu P
how to change tsbutton bmp background color ?
The text color could be changed, but bmp color seems could not be changed,as a tsbutton contians text and bmp. Shuming Wang
how to change tsbutton bmp background color ?
Hello ShumingWang, I guess TSButton only support Text for Disable function. You can use it below: REDEFINE TSButton Of oDlg ; RESOURCE "1","2","Disable bmp","4" Regards, Richard
how to check Encrypt() and Decrypt()?
If I Encrypt() data in a field. How to I ensure that, this field contain Encrypt data? As Six Driver SX_TABLETYPE(), it will return 1 as Normal, 2 as Encrypt DBF. How to check it, because when I use Encrypt() again. It did as twice encrypt. Thanks in advance.
how to check Encrypt() and Decrypt()?
Dutch, This is a first idea that you could enhance: [code=fw:3asldvrl]<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 />   ? IsEncrypted<span style="color: #000000;">&#40;</span> hb_crypt<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"Hello"</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br /><br /><span style="color: #00C800;">return</span> <span style="color: #00C800;">nil</span><br /><br /><span style="color: #00C800;">function</span> IsEncrypted<span style="color: #000000;">&#40;</span> cText <span style="color: #000000;">&#41;</span><br /><br />   <span style="color: #00C800;">local</span> c<br />   <br />   <span style="color: #00C800;">for</span> each c in cText<br />      <span style="color: #00C800;">if</span> ! Lower<span style="color: #000000;">&#40;</span> c <span style="color: #000000;">&#41;</span> $ <span style="color: #ff0000;">"abcdefghijklmnopqrstuvwxyz0123456789()[]{}"</span><br />         <span style="color: #00C800;">return</span> .T.<br />      <span style="color: #00C800;">endif</span><br />   <span style="color: #00C800;">next</span><br />   <br /><span style="color: #00C800;">return</span> .F.</div>[/code:3asldvrl] Anyhow I have found with great surprise that this is not wotking fine: ? hb_decrypt( hb_crypt( "hello" ) )
how to check Encrypt() and Decrypt()?
Yo lo uso así: [code=fw:1cdh3v0j]<div class="fw" id="{CB}" style="font-family: monospace;"><br />&nbsp; &nbsp; &nbsp; cCad &nbsp;:= hb_Crypt<span style="color: #000000;">&#40;</span> cCad, cPassW <span style="color: #000000;">&#41;</span><br />&nbsp;</div>[/code:1cdh3v0j] [code=fw:1cdh3v0j]<div class="fw" id="{CB}" style="font-family: monospace;"><br />&nbsp; &nbsp; &nbsp;cCad := hb_Decrypt<span style="color: #000000;">&#40;</span> cCad, cPassW <span style="color: #000000;">&#41;</span><br />&nbsp;</div>[/code:1cdh3v0j]
how to check Encrypt() and Decrypt()?
ok, this way works fine: ? hb_decrypt( hb_crypt( "hello", "key" ), "key" ) thanks Cristobal!
how to check Encrypt() and Decrypt()?
Dear Antonio&Cnavarro, Thank you both of you. I got it, we have to write our own function. I've another question. Which is the best Hb_crypt() and Encrypt() or etc.? Because of GDPR. Thank you in advance
how to check Encrypt() and Decrypt()?
Dutch, Having hb_crypt() and hb_decrypt() and I would advise to use them instead of FWH Encrypt() and Decrypt() Please be aware that they are not compatible. So please decrypt before changing encryption functions On the other hand, Harbour functions source code is available, meanwhile FWH encription functions source code it is not
how to check Encrypt() and Decrypt()?
Dear Antonio, Thanks a lot, I got it. [quote="Antonio Linares":di5c6wqm]Dutch, Having hb_crypt() and hb_decrypt() and I would advise to use them instead of FWH Encrypt() and Decrypt() Please be aware that they are not compatible. So please decrypt before changing encryption functions On the other hand, Harbour functions source code is available, meanwhile FWH encription functions source code it is not[/quote:di5c6wqm]
how to close all dialogs and back to main windows
as subject, the purpose is back to main menu from sub-function (dialogs). Thanks,
how to close all dialogs and back to main windows
Dear Mr.Dutch, Did you try the function GetAllWin(). This function returns an array of all windows/dialogs objects opened in your app. You can process this array to close the required dialogs/windows. Regards Anser
how to close all dialogs and back to main windows
Thanks Anser, I will try.
how to compile RDDADS + ADS 10 + xHarbour 1.2.1 Rev 9411
When I try to compile the RDDADS with xHarbour 1.2.1 (Rev 9411) and 10.0 m ADS with the following error message: [quote:cy00n7n7] Warning W8075 ads1.c 2698: Suspicious pointer conversion in function adsCreate Warning W8075 ads1.c 3007: Suspicious pointer conversion in function adsOpen Error E2024 ads1.c 3058: Cannot modify a const object in function adsOpen Warning W8075 ads1.c 3652: Suspicious pointer conversion in function adsOrderCreate Warning W8075 ads1.c 4663: Suspicious pointer conversion Error E2451 ads1.c 4680: Undefined symbol 'DBENTRYP_VP' Error E2141 ads1.c 4680: Declaration syntax error Error E2190 ads1.c 4743: Unexpected } *** 4 errors in Compile *** [/quote:cy00n7n7] Anyone can help me ?
how to compile RDDADS + ADS 10 + xHarbour 1.2.1 Rev 9411
Hi Vilian, I use ADS version 10.10.0.18 with this RDDADS.LIB + Harbour 3.1 + Fwh 11.07 , run well and extremely very very fast ( client server). give me your email , I will send you the RDDADS.LIB , But I don't know it can run on xHarbour. regards, Kok
how to compile RDDADS + ADS 10 + xHarbour 1.2.1 Rev 9411
Hi! I have exactly the same problem.. Seems nobody cared... <!-- s:( --><img src="{SMILIES_PATH}/icon_sad.gif" alt=":(" title="Sad" /><!-- s:( -->
how to compile RDDADS + ADS 10 + xHarbour 1.2.1 Rev 9411
Kok, My email is <!-- e --><a href="mailto:vilian@vfatec.com.br">vilian@vfatec.com.br</a><!-- e -->. I do not know if the generated lib with the harbor will work with xHarbour. But I will test
how to compile RDDADS + ADS 10 + xHarbour 1.2.1 Rev 9411
Dear Vilian, please see your email,I have send it. BR kok
how to compile RDDADS + ADS 10 + xHarbour 1.2.1 Rev 9411
Hi! Can you post here the .lib
how to compile RDDADS + ADS 10 + xHarbour 1.2.1 Rev 9411
HI Fraxzi, Here the Link : (library ads version 10.10.0.18 + harbour 3.1 + fw 11.7 + bcc63 ) rddads.lib [url:1bvx8udx]https&#58;//docs&#46;google&#46;com/leaf?id=0B-RfCvDmWOinYmI3ZmMzZTgtYzg5Ny00Y2MzLWFjNjQtZTVjMTQ3Y2U1ZDU3&hl=en_US[/url:1bvx8udx] axcws32.dll [url:1bvx8udx]https&#58;//docs&#46;google&#46;com/leaf?id=0B-RfCvDmWOinMDVhMGMwNDYtMGI4OC00OWEwLWIzZTgtZjMwMzRlMTE4ZTk1&hl=en_US[/url:1bvx8udx] adsloc32.dll [url:1bvx8udx]https&#58;//docs&#46;google&#46;com/leaf?id=0B-RfCvDmWOinNDVkOWNiZjctNmQxMy00ZjgzLWFkY2ItMTk5ZmU4NjRmMzAy&hl=en_US[/url:1bvx8udx] aces32.dll [url:1bvx8udx]https&#58;//docs&#46;google&#46;com/leaf?id=0B-RfCvDmWOinYmY2YzMzMTUtNmZmNy00MTlhLWIzY2UtZTZlZDkxZmQwYjBl&hl=en_US[/url:1bvx8udx] ace32.lib [url:1bvx8udx]https&#58;//docs&#46;google&#46;com/leaf?id=0B-RfCvDmWOinNjgyODlmNmEtMDAzMy00YjVmLTk4MDYtY2JmNzBjMjk3ZDhh&hl=en_US[/url:1bvx8udx] ads.ch [url:1bvx8udx]https&#58;//docs&#46;google&#46;com/leaf?id=0B-RfCvDmWOinZDM1OTMwZmItZDgwNi00ZmUyLTkzODItMTQwMmYxNDNmNTE4&hl=in[/url:1bvx8udx] regards, kok
how to compile RDDADS + ADS 10 + xHarbour 1.2.1 Rev 9411
Thanks, Do you have ADS libraries compiled for MVC 2010 and harbour 3.1 Regards,
how to compile RDDADS + ADS 10 + xHarbour 1.2.1 Rev 9411
<!-- m --><a class="postlink" href="http://code.google.com/p/harbour-and-xharbour-builds/downloads/detail?name=rddads.lib&can=2&q=">http://code.google.com/p/harbour-and-xh ... b&can=2&q=</a><!-- m -->
how to compile RDDADS + ADS 10 + xHarbour 1.2.1 Rev 9411
[quote="kok joek hoa":32n9zi6s]HI Fraxzi, Here the Link : (library ads version 10.10.0.18 + harbour 3.1 + fw 11.7 + bcc63 ) rddads.lib [url:32n9zi6s]https&#58;//docs&#46;google&#46;com/leaf?id=0B-RfCvDmWOinYmI3ZmMzZTgtYzg5Ny00Y2MzLWFjNjQtZTVjMTQ3Y2U1ZDU3&hl=en_US[/url:32n9zi6s] axcws32.dll [url:32n9zi6s]https&#58;//docs&#46;google&#46;com/leaf?id=0B-RfCvDmWOinMDVhMGMwNDYtMGI4OC00OWEwLWIzZTgtZjMwMzRlMTE4ZTk1&hl=en_US[/url:32n9zi6s] adsloc32.dll [url:32n9zi6s]https&#58;//docs&#46;google&#46;com/leaf?id=0B-RfCvDmWOinNDVkOWNiZjctNmQxMy00ZjgzLWFkY2ItMTk5ZmU4NjRmMzAy&hl=en_US[/url:32n9zi6s] aces32.dll [url:32n9zi6s]https&#58;//docs&#46;google&#46;com/leaf?id=0B-RfCvDmWOinYmY2YzMzMTUtNmZmNy00MTlhLWIzY2UtZTZlZDkxZmQwYjBl&hl=en_US[/url:32n9zi6s] ace32.lib [url:32n9zi6s]https&#58;//docs&#46;google&#46;com/leaf?id=0B-RfCvDmWOinNjgyODlmNmEtMDAzMy00YjVmLTk4MDYtY2JmNzBjMjk3ZDhh&hl=en_US[/url:32n9zi6s] ads.ch [url:32n9zi6s]https&#58;//docs&#46;google&#46;com/leaf?id=0B-RfCvDmWOinZDM1OTMwZmItZDgwNi00ZmUyLTkzODItMTQwMmYxNDNmNTE4&hl=in[/url:32n9zi6s] regards, kok[/quote:32n9zi6s] Hello Kok! I'm using xHarbour 1.21.. will this work?
how to compile RDDADS + ADS 10 + xHarbour 1.2.1 Rev 9411
Hi Fraxzi, I don't know, but in habour it run very well. regards, kok
how to compile RDDADS + ADS 10 + xHarbour 1.2.1 Rev 9411
I'm sorry I didn't see this thread before. Is there still a problem trying to build rdddads.lib? Starting with version 1.2 or so of the xharb compiler, the Harbour project developers have put a new system in place to automatically (and very simply) get everything setup in order to build rddads.lib as well as ads32.lib for the same ADS version. It requires acesdk for the specific ADS version. Acesdk is installed from aceapi.exe which can be downloaded from the advantage devzone. Once acesdk has beeen installed, set the environmental variable HB_DIR_ADS to the directory that contains the SDK files. As in: [code=fw:3v48uktg]<div class="fw" id="{CB}" style="font-family: monospace;"><br />c:\xharbour\contrib\rddads>set HB_DIR_ADS=c:\ads8\acesdk<br /> </div>[/code:3v48uktg] Now execute the batch file for the C compiler being used with your application and the newly created rddads.lib as well ace32.lib will be created in c:\xharbour\lib. It's that simple. If you are looking to build the .libs for older versions of the compiler, then reply to this thread and I will show you how to do it for any other version. ADS is the best SQL fit for xharbour + fwh. There is no doubt about it. Reinaldo.
how to compile RDDADS + ADS 10 + xHarbour 1.2.1 Rev 9411
Reinaldo Good night can you please show me how can i buils rddads for 7.1 ads server version for Harbour 3.1 ? Thanks in advance
how to compile RDDADS + ADS 10 + xHarbour 1.2.1 Rev 9411
[quote="reinaldocrespo":1lyjisod]I'm sorry I didn't see this thread before. Is there still a problem trying to build rdddads.lib? Starting with version 1.2 or so of the xharb compiler, the Harbour project developers have put a new system in place to automatically (and very simply) get everything setup in order to build rddads.lib as well as ads32.lib for the same ADS version. It requires acesdk for the specific ADS version. Acesdk is installed from aceapi.exe which can be downloaded from the advantage devzone. Once acesdk has beeen installed, set the environmental variable HB_DIR_ADS to the directory that contains the SDK files. As in: [code=fw:1lyjisod]<div class="fw" id="{CB}" style="font-family: monospace;"><br />c:\xharbour\contrib\rddads>set HB_DIR_ADS=c:\ads8\acesdk<br /> </div>[/code:1lyjisod] Now execute the batch file for the C compiler being used with your application and the newly created rddads.lib as well ace32.lib will be created in c:\xharbour\lib. It's that simple. If you are looking to build the .libs for older versions of the compiler, then reply to this thread and I will show you how to do it for any other version. ADS is the best SQL fit for xharbour + fwh. There is no doubt about it. Reinaldo.[/quote:1lyjisod] Hello Reinaldo, I did [code=fw:1lyjisod]<div class="fw" id="{CB}" style="font-family: monospace;"><br />set HB_DIR_ADS=C:\ads91\acesdk<br /> </div>[/code:1lyjisod] but the error still there.. this is unmodified RDD_ADS Contrib from xHarbour.org [quote:1lyjisod] Error E2024 ads1.c 3058: Cannot modify a const object in function adsOpen Warning W8075 ads1.c 4663: Suspicious pointer conversion Warning W8075 ads1.c 4678: Suspicious pointer conversion Error E2451 ads1.c 4680: Undefined symbol 'DBENTRYP_VP' Error E2141 ads1.c 4680: Declaration syntax error Error E2190 ads1.c 4743: Unexpected } *** 4 errors in Compile *** [/quote:1lyjisod]
how to compile RDDADS + ADS 10 + xHarbour 1.2.1 Rev 9411
Frances; I've made many changes to my .c files, so I'm not sure if I ever had those errors or they were introduced on later versions of the contrib libs. Here is a link to my ads1.c and adsfunc.c as I compile to produce rddads.lib without any errors using bcc. <!-- m --><a class="postlink" href="http://ssfl.dynalias.com/temp_files/adsfunc.zip">http://ssfl.dynalias.com/temp_files/adsfunc.zip</a><!-- m --> Hope that helps, Reinaldo.
how to compile RDDADS + ADS 10 + xHarbour 1.2.1 Rev 9411
Dear Reinaldo, Thank you so much for the share.. I know everybody using ADS will make use of these files.. Here are the errors I encountered with different BCC from v5.5.1, v5.8.2 and v6.30 v5.5.1 is [img:2gsijchx]http&#58;//i208&#46;photobucket&#46;com/albums/bb82/fraxzi/bcc551&#46;png[/img:2gsijchx] v5.8.2 is [img:2gsijchx]http&#58;//i208&#46;photobucket&#46;com/albums/bb82/fraxzi/bcc582&#46;png[/img:2gsijchx] v6.30 is [img:2gsijchx]http&#58;//i208&#46;photobucket&#46;com/albums/bb82/fraxzi/bcc630&#46;png[/img:2gsijchx] all other files in RDD_ADS are unchanged.. downloaded recently from xHarbour.org Maybe if you have modified the make_b32.bat too? Kind Regards, Frances
how to compile RDDADS + ADS 10 + xHarbour 1.2.1 Rev 9411
Frances; I'm sorry you are having all this trouble. I just rebuilt my .libs for version 9 and then version 10 of ADS without any error messages. In an effort to help, I've placed the files I just used to build the lib on a directory on my server: <!-- m --><a class="postlink" href="http://ssfl.dynalias.com/temp_files/rdd_ads">http://ssfl.dynalias.com/temp_files/rdd_ads</a><!-- m --> If you'd rather I place the actual .lib built libs on a directory on the server, just let me know. I hope that helps, Reinaldo.
how to compile RDDADS + ADS 10 + xHarbour 1.2.1 Rev 9411
Dear Reinaldo, Success!!! no error from bcc551, bcc582 and bcc630.. I will use new rddads.lib and recompile my project.. <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D --> <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D --> <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D -->
how to compile RDDADS + ADS 10 + xHarbour 1.2.1 Rev 9411
Hi All, when i tried to build the library using BCC55, i get the following errors: MAKE Version 5.2 Copyright (c) 1987, 2000 Borland F:\development\Borland\BCC55\bin\bcc32 -I"C:\ads\acesdk" -c -O2 -DWIN32 -IF:\development\xHB1.1\include -o..\..\obj\b32\ads1.obj ads1.c Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland ads1.c: Error E2141 ace.h 1242: Declaration syntax error Error E2293 ace.h 1243: ) expected Error E2141 ace.h 1246: Declaration syntax error Error E2293 ace.h 1247: ) expected Error E2141 ace.h 1250: Declaration syntax error Error E2293 ace.h 1251: ) expected Error E2141 ace.h 1254: Declaration syntax error Error E2293 ace.h 1256: ) expected Error E2141 ace.h 1259: Declaration syntax error Error E2293 ace.h 1261: ) expected Error E2141 ace.h 1264: Declaration syntax error Error E2293 ace.h 1265: ) expected Error E2141 ace.h 1267: Declaration syntax error Error E2293 ace.h 1270: ) expected Error E2141 ace.h 1274: Declaration syntax error Error E2293 ace.h 1275: ) expected Error E2141 ace.h 1277: Declaration syntax error Error E2293 ace.h 1278: ) expected Error E2141 ace.h 1280: Declaration syntax error Error E2293 ace.h 1282: ) expected Error E2141 ace.h 1285: Declaration syntax error Error E2293 ace.h 1286: ) expected Error E2141 ace.h 1288: Declaration syntax error Error E2293 ace.h 1291: ) expected Error E2141 ace.h 1295: Declaration syntax error Error E2228 ace.h 1295: Too many error or warning messages *** 26 errors in Compile *** ** error 1 ** deleting ..\..\obj\b32\ads1.obj any advice? thanks...
how to compile RDDADS + ADS 10 + xHarbour 1.2.1 Rev 9411
You must use correct version of acesdk with to compile correctly ADS, i compile for MINGW, MSVC2010 and MSVC2008, BCC and PellesC without problem with last svn if you want i can send you correct lib and also you can find for RDDADS in this forum for link for fivewin contributions. Regards.
how to compile the file TESTMYDL.prg
buildhdp.bat mydll xHarbour Compiler build 1.2.1 (SimpLex) (Rev. 6693) Copyright 1999-2010, <!-- m --><a class="postlink" href="http://www.xharbour.org">http://www.xharbour.org</a><!-- m --> <!-- m --><a class="postlink" href="http://www.harbour-project.org/">http://www.harbour-project.org/</a><!-- m --> Compiling 'mydll.prg' and generating preprocessed output to 'mydll.ppo'... Lines 20, Functions/Procedures 2 Generating C source output to 'mydll.c'... Done. Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland mydll.c: Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland Error: Unresolved external '_hb_itemPutC' referenced from C:\FWH10.2\SAMPLES\MYDLL.OBJ Error: Unresolved external '_hb_itemDoC' referenced from C:\FWH10.2\SAMPLES\MYDLL.OBJ Error: Unresolved external '_hb_itemRelease' referenced from C:\FWH10.2\SAMPLES\MYDLL.OBJ Error: Unresolved external '_HB_FUN_MSGINFO' referenced from C:\FWH10.2\SAMPLES\MYDLL.OBJ * There are errors
how to compile the file TESTMYDL.prg
Daniel, Are you linking xHarbour's vm.lib ?
how to compile the file maindllp.c
c:\xharbour\bcc55\bin\bcc32 -M -c -O2 -tWD -D__HARBOUR__ -w-nak -D__EXPORT__ -n%hdir%\lib -I%hdir%\include %hdir%\source\vm\maindllp.c Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland c:\xharbour\source\vm\maindllp.c: Error E2356 c:\xharbour\source\vm\maindllp.c 189: Type mismatch in redeclaration of 'hb_parc' Error E2344 c:\xharbour\include\hbapi.h 399: Earlier declaration of 'hb_parc' Error E2356 c:\xharbour\source\vm\maindllp.c 628: Type mismatch in redeclaration of 'hb_pards' Error E2344 c:\xharbour\include\hbapi.h 403: Earlier declaration of 'hb_pards' Error E2356 c:\xharbour\source\vm\maindllp.c 1518: Type mismatch in redeclaratio n of 'hb_snprintf' Error E2344 c:\xharbour\include\hbapi.h 681: Earlier declaration of 'hb_snprintf ' *** 6 errors in Compile ***
how to compile the file maindllp.c
I'm interested too. Regards, Roberto Parisi
how to compile the file maindllp.c
Me tooo! Romeo Milan
how to compile the file maindllp.c
Daniel, It seems as -I%hdir%\include is not pointing to c:\xharbour\include. Could it be that you are using Harbour header files instead of xharbour's ones ?
how to compile the file maindllp.c
I just xHarbour installed, if you want I can send via ftp a copy of my xHarbour c:\xharbour\bcc55\bin\bcc32 -M -c -O2 -tWD -D__HARBOUR__ -w-nak -D__EXPORT__ -nc:\xharbour\lib -Ic:\xharbour\include c:\xharbour\source\vm\maindllp.c Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland c:\xharbour\source\vm\maindllp.c: Error E2356 c:\xharbour\source\vm\maindllp.c 189: Type mismatch in redeclaration of 'hb_parc' Error E2344 c:\xharbour\include\hbapi.h 399: Earlier declaration of 'hb_parc' Error E2356 c:\xharbour\source\vm\maindllp.c 628: Type mismatch in redeclaration of 'hb_pards' Error E2344 c:\xharbour\include\hbapi.h 403: Earlier declaration of 'hb_pards' Error E2356 c:\xharbour\source\vm\maindllp.c 1518: Type mismatch in redeclaratio n of 'hb_snprintf' Error E2344 c:\xharbour\include\hbapi.h 681: Earlier declaration of 'hb_snprintf ' *** 6 errors in Compile ***
how to compile the file maindllp.c
Daniel, Please copy this source code line here, thanks: Error E2356 c:\xharbour\source\vm\maindllp.c 189: Type mismatch in redeclaration of 'hb_parc'