Recent Posts

Pages: [1] 2 3 ... 10
1
Programming / Re: Qt6 Application Testing
« Last post by Flashback on May 28, 2023, 11:33:16 pm »
Here I leave a file with a patch that is not worth anything, and that does nothing.
For all others, execute if they can in 3 different sessions of "two" the same File name QW5.bas. Then start dooble.
There are always people believing in voodoo or some other strange religion. As pointed out in the other thread, there is no way that a program running in a VDM can modify global properties of the OS/2 system. The only thing it can affect is the timing by invalidating memory pages used by the other processes. Also it can access physical memory between 640K an 1M when defined as MEM_EXCLUDE_REGIONS in DOS memory settings. Everything else is simply impossible. The effects you attribute to the program are either coincidence or something that would happen just by starting a VDM running an arbitrary program in it.
2
Programming / Re: Qt6 Application Testing
« Last post by roberto on May 28, 2023, 10:40:05 pm »
Here I leave a file with a patch that is not worth anything, and that does nothing.
For all others, execute if they can in 3 different sessions of "two" the same
File name QW5.bas. Then start dooble.
From the QW4 version, they are the first two log and except files
And I begin to be lost.
If someone can understand better than me, then better.
I don't know how to interpret those mistakes.
saludos
3
Programming / Re: Compiling a PM sample with GCC (2023)
« Last post by Flashback on May 28, 2023, 10:14:01 pm »
Not having tried to compile this:
  • 'drvdata' is declared as an array. So the initialisation should be something like {{44, 0, "DISPLAY", ""}} or {{44, 0, "DISPLAY", {0}}}  I fail to see, why they use 'L' suffixes in the original source though.
  • 'RC' is indeed not used. In line 1076 a value gets assigned, but nobody bothers to do something with it.
  • 'SC_MOVE' and 'SC_CLOSE' have values of 0x800X. They are propagated to (signed)integers by the compiler. Thus they indeed exceed that range of variable 'id' in the switch statement, which is (signed) short.
Modern compilers like the gcc rarely produce bogus warnings. In almost any case these warnings have a reason. And -Wall should be considered as your friend, not your enemy. Old code like this will often trigger warnings when using recent tools.
4
Programming / Re: Compiling a PM sample with GCC (2023)
« Last post by Dave Yeo on May 28, 2023, 08:35:29 pm »
Some of these warnings seem bogus. I played with the braces in the first warning, the warning only changed. The RC warning is obviously wrong as it is used a few lines down and removing it results in an error about it missing.
The case ones I don't understand, thought case was a keyword. They're the only warnings that show if -Wall is removed from CFLAGS.
5
Programming / Re: Compiling a PM sample with GCC (2023)
« Last post by Martin Iturbide on May 28, 2023, 04:52:27 pm »
Hi

Now I'm moving forward with the  C PM Samples from the IBM toolkit (version 4.5).
I started with CLIPBDR.

I have this warnings that I'm not sure how to solve.

Quote
gcc -Wall -Zomf -c -O2 clipbrd.c -o clipbrd.obj
clipbrd.c:160:25: warning: missing braces around initializer [-Wmissing-braces]
  160 | DRIVDATA    drvdata[] = {44L, 0L, "DISPLAY", 0L};
      |                         ^
      |                          {                   { }}
clipbrd.c: In function 'PaintRoutine':
clipbrd.c:1042:12: warning: variable 'RC' set but not used [-Wunused-but-set-variable]
 1042 |    BOOL    RC;
      |            ^~
clipbrd.c: In function 'SetSysMenu':
clipbrd.c:1580:7: warning: case label value exceeds maximum value for type
 1580 |       case SC_MOVE:
      |       ^~~~
clipbrd.c:1581:7: warning: case label value exceeds maximum value for type
 1581 |       case SC_CLOSE:
      |       ^~~~


Regards
6
Programming / Re: Qt6 Application Testing
« Last post by roberto on May 28, 2023, 11:52:11 am »
These are some errors of the console, on eBay.
But sometimes it works well, and on other occasions it fails. Yesterday I made a complete purchase and payment with PayPal, without problems. Only refres the window.
Code: [Select]
js: [Report Only] Refused to connect to 'https://cas.avalon.perfdrive.com/jsdata
?' because it violates the following Content Security Policy directive: "connect
-src 'self' *.ebay.com *.ebay.es *.ebaystatic.com *.ebaystatic.es data: *.double
click.com *.doubleclick.net *.googlesyndication.com *.gstatic.com *.glance.net *
.adlightning.com www.google.com/recaptcha *.fontawesome.com *.adyen.com *.paypal
.com *.google-analytics.com *.googleapis.com wss://*.glance.net".

js: Exception in queued GPT command TypeError: Cannot read properties of undefin
ed (reading 'width')
js: [GPT] Exception in googletag.cmd function: TypeError: Cannot read properties
 of undefined (reading 'width').
js: Access to XMLHttpRequest at 'https://www.ebay.com/gss/v2' from origin 'https
://www.ebay.es' has been blocked by CORS policy: Response to preflight request d
oesn't pass access control check: The value of the 'Access-Control-Allow-Credent
ials' header in the response is '' which must be 'true' when the request's crede
ntials mode is 'include'. The credentials mode of requests initiated by the XMLH
ttpRequest is controlled by the withCredentials attribute.
It's all very irregular
saludos
7
Programming / Re: Source Code Text Editor Suggestions
« Last post by Andi B. on May 28, 2023, 09:20:53 am »
Simpler to setup and use is MED. Mind I'm using VisualSlickEdit for all my programming tasks. Including project symbol find, rebuild with simple keystroke, jump to compile error with ctrl up/down (IIRC). But for simple editing tasks I use MED (config.sys, ... or simple one ore two C source file projects). MED is my default even when I'm searching in toolkit header files for some things (DataSeeker) and with one click MED opens at the line where the symbol searched was found.

Conclusion - big and complex source project clearly VS. For all other tasks MED.

Btw. VS does not start when Virtualbox is already running. You've to start it before.
8
Programming / Re: SQL running total
« Last post by Per E. Johannessen on May 27, 2023, 06:51:41 pm »
Thanks for info, Doug.
I tried your SQL-statements using the drivers that are bundled with DBExpert, (from 1994) and it will not work.
Error message: "Mismatched parens". Have tried a number of variations with "(" and ")" but no success yet.
I will try some "evaluation" drivers as soon as I get the chance.
Nice to hear that your're working on a "database application". Right now I don't have the need to implement running totals through SQL.
since the Rexx script provided by Lars, in another post, works fine. 
Anyway, I'm very interested your application and will be happy to test when it is ready for that.



9
Programming / Re: Qt6 Application Testing
« Last post by Dave Yeo on May 27, 2023, 07:41:26 am »
Perhaps you should also make the txt files from git dooble/Data available, especially the blocklist, dooble_accepted_or_blocked_domains.txt which really helps stability. Then Martin can add them to post #1
10
Programming / Re: Qt6 Application Testing
« Last post by Paul Smedley on May 27, 2023, 07:17:09 am »
@Martin can we please add https://www.os2.kr/komh/testcase/dav1d_test.zip to post 1, as newer 6.3.2 builds need it.
Pages: [1] 2 3 ... 10