Search found 98 matches

by SlavkoDam
Thu Jun 27, 2024 12:27 pm
Forum: eXpress++ Support
Topic: ZAP and PACK command for DBF files - error Win 11
Replies: 29
Views: 1133

Re: ZAP and PACK command for DBF files - error Win 11

Hi, These WinAPI functions allow scheduling a thread(s) to run on a single or multiple processors. GetProccesAffinityMask() obtains the processors that a process and its threads are allowed to run on. SetThreadIdealProcessor() runs the thread on the specified processor. SetThreadAffinityMask() force...
by SlavkoDam
Thu Jun 27, 2024 1:24 am
Forum: eXpress++ Support
Topic: ZAP and PACK command for DBF files - error Win 11
Replies: 29
Views: 1133

Re: ZAP and PACK command for DBF files - error Win 11

Jimmy, Xbase++ can only use 1 x CPU. Multi-Threading, under Xbase++, does not use multi-CPU. This is not true at all. You should read the SetLogicalProcessor() and GetLogicalProcessorCount() functions. This is what Alaska documentation says: SetLogicalProcessor( [<nLogicalProcessor>] ) --> nOldLogic...
by SlavkoDam
Wed Jun 26, 2024 6:43 am
Forum: eXpress++ Support
Topic: ZAP and PACK command for DBF files - error Win 11
Replies: 29
Views: 1133

Re: ZAP and PACK command for DBF files - error Win 11

Victorio, If you want to speed up your massive data file processing, you have to create a multi-threaded application. In that case, the size of RAM memory is of no matter. You have to allocate to each thread a small file part or small array, and synchronize and join the results of all threads. By my...
by SlavkoDam
Fri Jun 21, 2024 11:58 pm
Forum: CXP / Web Development
Topic: How to publish an httpendpoint API in IIS
Replies: 8
Views: 1009

Re: How to publish an httpendpoint API in IIS

Hi, This is the documentation description of <cAddress> parameter for HttpEndpoint(): "The optional parameter <cAddress> is the IP address in dotted octet notation (e.g. "192.168.0.1") or hostname as a character string." So, "localhost" can be and should be replaced with your hostname. "localhost" i...
by SlavkoDam
Thu Jun 20, 2024 2:33 am
Forum: eXpress++ Support
Topic: ZAP and PACK command for DBF files - error Win 11
Replies: 29
Views: 1133

Re: ZAP and PACK command for DBF files - error Win 11

Hi, For PACK it would be something that is part of "topdown" library FUNCTION tdPack (there is full source available). It does pack with copying data to new file and later renaming it into original while original is left as backup. K-insis, the same method is used by the PACK command in Xbase++/Clip...
by SlavkoDam
Thu Jun 20, 2024 1:52 am
Forum: CXP / Web Development
Topic: How to publish an httpendpoint API in IIS
Replies: 8
Views: 1009

Re: How to publish an httpendpoint API in IIS

Hi, In that Alaska article,they used win-acme program to create a new certificate. Since you have your own certificate, you don't need that. Only have to install your certificate on your computer, in Current User on Local Machine store location. Don't use mmc.exe to view certificates, as used by Ala...
by SlavkoDam
Tue Jun 18, 2024 2:12 am
Forum: CXP / Web Development
Topic: How to publish an httpendpoint API in IIS
Replies: 8
Views: 1009

Re: How to publish an httpendpoint API in IIS

Hi, Both of your use to set certificate in HttpEndpoint() are not correct. 1. First case: oHttpEndpoint:setCertificateFromFile( "c:\mycerts\ www.megasoftrd.com.pfx", "blue5712") Is this "c:\mycerts\www.megasoftrd.com.pfx", a file on disk? If it is, rename it to something more convenient like this: "...
by SlavkoDam
Tue Jun 18, 2024 12:49 am
Forum: eXpress++ Support
Topic: ZAP and PACK command for DBF files - error Win 11
Replies: 29
Views: 1133

Re: ZAP and PACK command for DBF files - error Win 11

Hi, In your example you do PACK/ZAP without indexes, so you don't have problem with indexes. But, I agree that its better to do PACK/ZAP without indexes and do reindexing afterwards. I think the problem is in your use of SELECT and USE commands. What did you want to do with this: SELECT 24 use &nazo...
by SlavkoDam
Mon Jun 17, 2024 11:53 pm
Forum: eXpress++ Support
Topic: oBrowse:colcount hidden columns
Replies: 4
Views: 253

Re: oBrowse:colcount hidden columns

Hi, Tom, browse columns can be hidden/shown, but not in eXpress++. Roger use simple oCol:hide()/oCol:show() for that, but it does not do the task well. I described how to do that correctly in this post: http://bb.donnay-software.com/Donnay/viewtopic.php?f=2&t=3211 Cris, to get all columns in a brows...
by SlavkoDam
Sun Jun 16, 2024 5:37 am
Forum: CXP / Web Development
Topic: How to publish an httpendpoint API in IIS
Replies: 8
Views: 1009

Re: How to publish an httpendpoint API in IIS

Hi, HttpEndpoint() has two methods to set certificate, :setCertificate() and :setCertificateFromFile(). They are very well explained and documented, and both work fine. There is also an example how to set certificate on port 443. #define PORT 443 // Create an end point for handling incoming // conne...