Search found 86 matches
- Sat Apr 20, 2024 12:13 pm
- Forum: Did you Know?
- Topic: A web service for your data
- Replies: 14
- Views: 9780
Re: A web service for your data
Just to remind, in the documentation for WebHandler() class, Alaska gave an example how to create a Web service with HttpEndpoint() and WebHandler() classes. Here is this code. // The example shows a server that implements the Endpoint // CurrentTime/get. Requests to other endpoints on CurrentTime /...
- Fri Apr 19, 2024 1:44 pm
- Forum: eXpress++ Support
- Topic: How can I develop a DLL IN Xbase++ to use it in a C# program
- Replies: 19
- Views: 5294
Re: How can I develop a DLL IN Xbase++ to use it in a C# program
A similar scenario can be applied to a WebSocket connection, using WSSRV() and WSCLN() functions. And there is one more option, WebSocket client could be both desktop and web client. Here is a simple example for WebSoscket server and WebSocket client. This is the code for WebSocket server applicatio...
- Fri Apr 19, 2024 1:12 pm
- Forum: eXpress++ Support
- Topic: How can I develop a DLL IN Xbase++ to use it in a C# program
- Replies: 19
- Views: 5294
Re: How can I develop a DLL IN Xbase++ to use it in a C# program
Diego, Here is a simple example for HTTP server and HTTP client. This is the code for HTTP server application. Endpoint URL is function GetCust(). In your future project, URLs will be functions in your DLL. PROCEDURE Main oSrv = HTTPSRV(,1024,,,.F.) RETURN FUNCTION GetCust(oSrv) RETURN GetCust_(VAL(...
- Thu Apr 18, 2024 1:58 am
- Forum: eXpress++ Support
- Topic: How can I develop a DLL IN Xbase++ to use it in a C# program
- Replies: 19
- Views: 5294
Re: How can I develop a DLL IN Xbase++ to use it in a C# program
HTTPCTR.EXE starts Service app whose executable that it implements is HTTPSERVICE.EXE. So, you have to call only HTTPCTR.EXE with install option, and it will start HTTPSERVICE.EXE internally. Endpoint URLs or controls that HTTP server will handle, have to be created in HttpJob() class in httpjob.prg...
- Wed Apr 17, 2024 11:22 pm
- Forum: eXpress++ Support
- Topic: How can I develop a DLL IN Xbase++ to use it in a C# program
- Replies: 19
- Views: 5294
Re: How can I develop a DLL IN Xbase++ to use it in a C# program
Hi Diego, You don't need IIS to create and use HTTP Server. You can create standalone HTTP server in Xbase++ in 3 ways. 1. Use HttpEndpoint() class() to create HTTP server, and WebHandler() class to serve REST requests. You have examples how to do this in the documentation of these classes. 2. Use S...
- Wed Apr 03, 2024 2:31 am
- Forum: eXpress++ Support
- Topic: Postgre ISAM command
- Replies: 9
- Views: 2823
Re: Postgre ISAM command
This is the solution how to create filter/WHERE expression with a date value in PgSql. I implemented that in my PowerSql library and it works excellent. cDate = "'" + DTOS(dDate) + "'" For example, if the date value is 31.03.2024, in German format, do this: SET FILTER TO datefld >= '20240331' DBSETF...
- Wed Apr 03, 2024 2:07 am
- Forum: eXpress++ Support
- Topic: Postgre ISAM command
- Replies: 9
- Views: 2823
Re: Postgre ISAM command
You can't build filters that are more complex than simple expressions like "name = 'Miller'". That means: filters are f*cking useless with the PGDBE. If you search the Alaska Knowledge Base for "PGDBE", you will find a lot of open PDRs concerning filters, and I don't believe they will ever get clos...
- Tue Apr 02, 2024 12:15 am
- Forum: eXpress++ Support
- Topic: Postgre ISAM command
- Replies: 9
- Views: 2823
Re: Postgre ISAM command
It seems that Tom finally figured out that filters should not be used in PgSql, as he said they are "f*cking useless". I told him the same before, but he claimed that they work excellent. ;) Tom, it is be better to use this code for searching, since it works much faster than to do manual SKIP for ea...
- Fri Mar 15, 2024 1:01 am
- Forum: Announcements
- Topic: TEST versions of Power libraries
- Replies: 0
- Views: 7333
TEST versions of Power libraries
Hello everyone, I have developed several add-on libraries for Xbase++ programming, for different fields of application. They have a generic name Power libraries. You can find more information about them on the site: https://www.sd-softdesign.com. You can download documentation, DEMO programs and TES...
- Mon Mar 11, 2024 3:58 am
- Forum: Xbase++ 2.0
- Topic: Listbox colours
- Replies: 8
- Views: 3661
Re: Listbox colours
Tom, Yes, its a fine option in eXpress++ and I implemented a similar one in my PowerWin. But, its only a help to select a value into a get field when you press a popup button, and not a direct get select as XbpListBox. To return to the beginning, the initial request was to change font and colors of ...