The MASM Forum

Projects => MasmBasic & the RichMasm IDE => Topic started by: jj2007 on March 11, 2021, 01:45:19 PM

Title: Check the forum for new posts
Post by: jj2007 on March 11, 2021, 01:45:19 PM
Attached the latest version of the "forum watcher". I fixed some minor glitches, now it works fine on Windows 7 and XP, but I have not yet had the occasion to test it on Windows 10 and Win XP. Feedback welcome :thumbsup:

What it does? Every two minutes it downloads a 20kB page from the forum and checks for the ten latest posts. If it finds new posts, it will popup and inform you about it. Hit Escape to minimise the window, move the mouse over the link to see the post's content.

The new version uses a RichEdit control, so that you can click directly on the post you want to see:

(https://www.jj2007.eu/pics/CheckNewPostsV1J23.png)
Title: Re: Check the forum for new posts
Post by: jj2007 on June 11, 2022, 09:11:00 AM
Version 4 is out. Some improvement under the hood, for example: in the previous versions, if somebody used the name of a subforum in a post, like The Workshop, the post was split in two or more parts. This is fixed now.

A new feature: you can provide a file IgnoreUsers.txt that, as the name says, makes the proggie ignore posts by certain users. Search the source for User$ to see how it's done.

Source (asc & asm), executable and sample IgnoreUsers.txt attached - enjoy :thumbsup:
Title: Re: Check the forum for new posts
Post by: jj2007 on December 15, 2022, 12:12:56 AM
Version 5 is different - no more tooltips, but instead a control that shows the text.

To see the text, hover over one of the links (latest post on top).
To open the post, click on the link.

(http://www.jj2007.eu/pics/CheckNewPosts.png)
Title: Re: Check the forum for new posts
Post by: hutch-- on December 15, 2022, 05:08:41 PM
 :biggrin:

That is a good idea, I have always hated conventional tool tips as they are slow and hard to read. If I want that type of data displayed, I put it on the title bar but you can put it elsewhere, Status bar or other controls.  :thumbsup:
Title: Re: Check the forum for new posts
Post by: zedd151 on January 01, 2023, 02:27:09 AM
Quote from: jj2007 on March 11, 2021, 01:45:19 PM
... now it works fine on Windows 7 and XP, but I have not yet had the occasion to test it on Windows 10 and Win XP.
Wait a minute...
Works fine on XP or haven't yet tested on XP?  :tongue:
Either way, even I no longer use xp except to test compatibity.  :cool: 


I actually came here to see the issue of this program not running from the task bar... which version? When I'm inside I'll look at all the versions posted in any case... unless of course I'm on that ignore list  :biggrin:
Title: Re: Check the forum for new posts
Post by: zedd151 on January 01, 2023, 03:34:16 AM

For me, it doesn't run at all ... the latest version attached above

Problem signature:
  Problem Event Name:   APPCRASH
  Application Name:   CheckNewPosts.exe
  Application Version:   0.0.0.0
  Application Timestamp:   6399cba9
  Fault Module Name:   CheckNewPosts.exe
  Fault Module Version:   0.0.0.0
  Fault Module Timestamp:   6399cba9
  Exception Code:   c000001d
  Exception Offset:   0000b989
  OS Version:   6.1.7601.2.1.0.256.48
  Locale ID:   1033
  Additional Information 1:   3edc
  Additional Information 2:   3edcd9941afa8417d463e16e3200e604
  Additional Information 3:   73b3
  Additional Information 4:   73b33e17ece893c1afb2de29f6a0b7ed


Read our privacy statement online:
  http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409


If the online privacy statement is not available, please read our privacy statement offline:
  C:\Windows\system32\en-US\erofflps.txt

Windows 7 64 bit. Opera web browser if that makes any difference...


Image attached in zip file (running in ollydbg)
I can open the .htm file in Internet Explorer and Opera without a problem. I switched default program to open  .htm from Opera to Internet explorer with the same results...
Title: Re: Check the forum for new posts
Post by: jj2007 on January 01, 2023, 04:25:29 AM
Sorry, Z, is it possible that your cpu doesn't support SSE 4.2 instructions? Because that's where it crashes...

Anybody else having that problem?
Title: Re: Check the forum for new posts
Post by: zedd151 on January 01, 2023, 04:30:42 AM
Quote from: jj2007 on January 01, 2023, 04:25:29 AM
Sorry, Z, is it possible that your cpu doesn't support SSE 4.2 instructions? Because that's where it crashes...
Write a quick proggy for me to check. It probably does not support, the computer is 11 ish years old


couple minutes later...
OOps I checked in qeditor Mine supports up to SSE 4.1 ...  :sad:  I forget that qeditor has that function for displaying cpu stuff, etc....
Title: Re: Check the forum for new posts
Post by: jj2007 on January 01, 2023, 04:36:55 AM
Needs UAsm or a recent ML:

include \masm32\include\masm32rt.inc
.686p
.xmm

.data
align 16
someO OWORD 12345678

.code
start:
mov eax, offset someO
pcmpistri xmm0, OWORD ptr [eax], 1100b
  MsgBox 0, "No crash", "Hello Z", MB_OK
  exit

end start


Quote from: zedd151 on January 01, 2023, 04:30:42 AMOOps I checked in qeditor Mine supports up to SSE 4.1

I have a check for SSE 4.2 somewhere, apparently it fails miserably :sad:
Title: Re: Check the forum for new posts
Post by: zedd151 on January 01, 2023, 04:45:13 AM
UASM v2.56, Oct 27 2022, Masm-compatible assembler.
Portions Copyright (c) 1992-2002 Sybase, Inc. All Rights Reserved.
Source code is available under the Sybase Open Watcom Public License.




***********
ASCII build
***********


test.asm: 18 lines, 2 passes, 108 ms, 0 warnings, 0 errors
test.obj : warning LNK4033: converting object format from OMF to COFF
test.obj : error LNK2001: unresolved external symbol _MessageBoxA@16
test.obj : error LNK2001: unresolved external symbol _ExitProcess@4
LINK : error LNK2001: unresolved external symbol _WinMainCRTStartup
test.exe : fatal error LNK1120: 3 unresolved externals
Press any key to continue . . .
Do I need uasm includes?? Or command line switches/options? Ive never used uasm before and rather not wade through documentation for one usage.
Title: Re: Check the forum for new posts
Post by: zedd151 on January 01, 2023, 04:54:17 AM
Well I fiddled with it a bit... uasm.. forget it.
Now lemme find the 2015 build tools (for ml), they are here somewhere....  :tongue:
Title: Re: Check the forum for new posts
Post by: jj2007 on January 01, 2023, 06:27:46 AM
Quote from: zedd151 on January 01, 2023, 04:45:13 AM
UASM v2.56, Oct 27 2022, Masm-compatible assembler.
...
test.asm: 18 lines, 2 passes, 108 ms, 0 warnings, 0 errors
...
LINK : error LNK2001: unresolved external symbol _WinMainCRTStartup

UAsm did its job, your linker is the problem.
Title: Re: Check the forum for new posts
Post by: zedd151 on January 01, 2023, 06:54:27 AM
Quote from: jj2007 on January 01, 2023, 06:27:46 AM
Quote from: zedd151 on January 01, 2023, 04:45:13 AM
UASM v2.56, Oct 27 2022, Masm-compatible assembler.
...
test.asm: 18 lines, 2 passes, 108 ms, 0 warnings, 0 errors
...
LINK : error LNK2001: unresolved external symbol _WinMainCRTStartup

UAsm did its job, your linker is the problem.
Oh,  :tongue:
At any rate since my system is old I'm quite sure it does not meet the requirements of your program. I've already scrap binned uasm.  :toothy:
Title: Re: Check the forum for new posts
Post by: jj2007 on January 01, 2023, 07:24:56 AM
Quote from: zedd151 on January 01, 2023, 06:54:27 AMI've already scrap binned uasm.  :toothy:

UAsm is a very fast, modern assembler, and for all normal uses absolutely compatible with MASM.

Your linker says "unresolved external symbol _WinMainCRTStartup", which means you got some options wrong. Which batch file did you use?
Title: Re: Check the forum for new posts
Post by: zedd151 on January 01, 2023, 07:43:27 AM
Quote from: jj2007 on January 01, 2023, 07:24:56 AM
Which batch file did you use?
I already scrapped the one I cobbled together. 
You could have provided one with the options needed.   :tongue:  At any rate I don't feel like playing around with this right now. I'll look at it again later...
The only link option was "/SUBSYSTEM:WINDOWS", I tried polink as well, with no success. :toothy:
Title: Re: Check the forum for new posts
Post by: jj2007 on January 01, 2023, 08:00:48 AM
Quote from: zedd151 on January 01, 2023, 07:43:27 AM
The only link option was "/SUBSYSTEM:WINDOWS", I tried polink as well, with no success. :toothy:

\masm32\bin\UAsm64 /c /coff %1
\masm32\bin\polink /Subsystem:Console %~n1.obj
%~n1.exe
Title: Re: Check the forum for new posts
Post by: zedd151 on January 01, 2023, 08:03:36 AM
Uasm64? Duh! I didn't know was 64 bit code. Was using 32 bit binaries.  :biggrin:
No wonder I was having issues.  :tongue:


I'll return to this later, I'll grab 64 bit uasm then...  :eusa_dance: 
Now you know why I tend to stick with code I know, and the binaries to assemble/link with.  :mrgreen:
Title: Re: Check the forum for new posts
Post by: jj2007 on January 01, 2023, 08:06:20 AM
Actually, it is 32-bit code, but UAsm is a fairly flexible program :cool:

Drag your asm source over the attached batch file.
Title: Re: Check the forum for new posts
Post by: zedd151 on January 01, 2023, 08:08:23 AM
Quote from: jj2007 on January 01, 2023, 08:06:20 AM
Actually, it is 32-bit code, but UAsm is a fairly flexible program :cool:

Drag your asm source over the attached batch file.
A bit later, I'm outside at the moment enjoying the weather with the dogs...
Title: Re: Check the forum for new posts
Post by: zedd151 on January 01, 2023, 11:24:17 AM
Quote from: jj2007 on January 01, 2023, 08:06:20 AM
Drag your asm source over the attached batch file.

Okay this test piece (code from reply #9) assemble and links without issue now, but crashes
Problem signature:
  Exception Code:   c000001d
  Exception Offset:   00001005

Seems to crash at "pcmpistri xmm0, OWORD ptr [eax], 1100b"
My cpu doesn't recognize that instruction? So, I gather that my computer cannot run the forum watcher program.

Thats exactly where ollydbg doesn't recognize the code sequence, either.
Therefor your test piece is not compatible with ollydbg 110. :tongue:
Title: Re: Check the forum for new posts
Post by: zedd151 on January 01, 2023, 04:17:19 PM
For thoroughness, I tested the other versions...
Okay, I tried out v.2 and v.3 which worked.  :thumbsup:
But v. 4 worked but did not display the recent posts. Just The window which was blank. :thdn:
Of course v. 5 is the one that would not run on my machine. :thdn: 


two out of 4 ain't bad.  :tongue:
Title: Re: Check the forum for new posts
Post by: jj2007 on January 01, 2023, 08:07:35 PM
Quote from: zedd151 on January 01, 2023, 11:24:17 AMThats exactly where ollydbg doesn't recognize the code sequence, either.
Therefor your test piece is not compatible with ollydbg 110. :tongue:

Try Olly 2.0 :biggrin:

CPU Disasm
Address   Hex dump          Command                                  Comments
00401000  /$  B8 00304000   mov eax, offset someO
00401005  |.  CC            int3
00401006  |.  660F3A6300 0C pcmpistri xmm0, [eax], 0C
0040100C  |.  6A 00         push 0                                   ; /Type = MB_OK|MB_DEFBUTTON1|MB_APPLMODAL
0040100E  |.  68 19304000   push offset ??001B                       ; |Caption = "Hello Z"
00401013  |.  68 10304000   push offset ??0019                       ; |Text = "No crash"
00401018  |.  6A 00         push 0                                   ; |hOwner = NULL
0040101A  |.  E8 07000000   call MessageBoxA                         ; \USER32.MessageBoxA
0040101F  |.  6A 00         push 0                                   ; /ExitCode = 0
00401021  \.  E8 06000000   call ExitProcess                         ; \KERNEL32.ExitProcess
Title: Re: Check the forum for new posts
Post by: jj2007 on January 01, 2023, 08:31:10 PM
Quote from: zedd151 on January 01, 2023, 04:17:19 PM
Okay, I tried out v.2 and v.3 which worked.  :thumbsup:
But v. 4 worked but did not display the recent posts. Just The window which was blank. :thdn:
Of course v. 5 is the one that would not run on my machine. :thdn: 

Now the mystery remains why cpuid doesn't deliver the right info on your machine. Can you please run the attached exe? It's just PrintCpu 1 (https://www.jj2007.eu/MasmBasicQuickReference.htm#Mb1426)


Title: Re: Check the forum for new posts
Post by: zedd151 on January 01, 2023, 09:29:17 PM

Intel(R) Core(TM)2 Duo CPU     E8400  @ 3.00GHz (MMX, SSE, SSE2, SSE3, SSSE3, SSE4.1)
Title: Re: Check the forum for new posts
Post by: jj2007 on January 01, 2023, 09:43:00 PM
Quote from: zedd151 on January 01, 2023, 09:29:17 PM

Intel(R) Core(TM)2 Duo CPU     E8400  @ 3.00GHz (MMX, SSE, SSE2, SSE3, SSSE3, SSE4.1)

Thanks. Damnit, that's correct. So why the hell does it not work for the proggie? One more bug chasing session :sad:
Title: Re: Check the forum for new posts
Post by: zedd151 on January 01, 2023, 10:08:08 PM
Quote from: jj2007 on January 01, 2023, 09:43:00 PM
One more bug chasing session
What could possibly need SSE4.2 to simply display a web page? Seems like overkill ...
Title: Re: Check the forum for new posts
Post by: jj2007 on January 02, 2023, 02:40:31 AM
Quote from: zedd151 on January 01, 2023, 10:08:08 PMWhat could possibly need SSE4.2 to simply display a web page? Seems like overkill ...

:biggrin:

The display of the website is still the job of Opera, Edge, Firefox, Chrome & friends...

Check the new version, it should work for you now (http://masm32.com/board/index.php?topic=9237.0).
Title: Re: Check the forum for new posts
Post by: zedd151 on January 02, 2023, 02:42:33 AM
I'm on the back porch on the iPad, gimme a few minutes...
Title: Re: Check the forum for new posts
Post by: zedd151 on January 02, 2023, 02:49:43 AM
The .htm file is fine, but ForumOld.txt and ForumNew.txt are empty. I have ran it several times. The display does not show anything.
Title: Re: Check the forum for new posts
Post by: jj2007 on January 02, 2023, 03:01:50 AM
Quote from: zedd151 on January 02, 2023, 02:49:43 AM
The .htm file is fine, but ForumOld.txt and ForumNew.txt are empty. I have ran it several times. The display does not show anything.

That's a pity, sorry. I just checked with my XP VM, same problem: empty display :sad:

On Win7 and Win10 it works, but on Win10 the links don't open :sad:
Title: Re: Check the forum for new posts
Post by: zedd151 on January 02, 2023, 03:05:06 AM
Quote from: jj2007 on January 02, 2023, 03:01:50 AM
On Win7 and Win10 it works, but on Win10 the links don't open :sad:
I'm on Windows 7 64 bit & Opera ...  :undecided:
lemme try and change default browser to Internet Explorer ...

added:
Nope same thing, nothing in the text files.
Title: Re: Check the forum for new posts
Post by: zedd151 on January 02, 2023, 03:42:46 AM
Quote from: jj2007 on January 02, 2023, 03:01:50 AMThat's a pity, sorry.
Hey it comes with the territory, if you want to ensure a wider userbase for your wares. (debugging to ensure compatibility for wide audience)
What changed since version 2 & 3? Both of those worked for me ...
Anyway ...I am going to fire up Windows 10 on my machine, to see if that makes any difference with the version that you posted today, jj.

Afterward:
Nope Windows 10 64 bit gives me the same results, empty text files ...
Title: Re: Check the forum for new posts
Post by: jj2007 on January 02, 2023, 07:56:17 AM
Quote from: zedd151 on January 02, 2023, 03:05:06 AM
Nope same thing, nothing in the text files.

Do you see a ForumLatest.htm (with around 25kByte)? If yes, when you double-click on it, does a browser open that file?
Title: Re: Check the forum for new posts
Post by: zedd151 on January 02, 2023, 08:57:19 AM
No issue with the .htm file. An yes it opens when clicked upon. I should have given more complete details, sorry.
The only issue is the empty text files...
Title: Re: Check the forum for new posts
Post by: jj2007 on January 02, 2023, 10:36:01 AM
Quote from: zedd151 on January 02, 2023, 08:57:19 AM
No issue with the .htm file.

Please try again with the latest version (http://masm32.com/board/index.php?topic=9237.0), it works now on my XP VM. I changed the name of the archive to avoid cache problems.
Title: Re: Check the forum for new posts
Post by: zedd151 on January 02, 2023, 11:16:56 AM
Quote from: jj2007 on January 02, 2023, 10:36:01 AM
Quote from: zedd151 on January 02, 2023, 08:57:19 AM
No issue with the .htm file.

Please try again with the latest version (http://masm32.com/board/index.php?topic=9237.0), it works now on my XP VM. I changed the name of the archive to avoid cache problems.
:biggrin:  Success! Works on Windows 7 64 bit here ...
Title: Re: Check the forum for new posts
Post by: jj2007 on January 02, 2023, 11:18:10 AM
Quote from: zedd151 on January 02, 2023, 11:16:56 AM
:biggrin:  Success! Works on Windows 7 64 bit here ...

Congrats - and thanks for pointing me to a serious bug in my library :thup:
Title: Re: Check the forum for new posts
Post by: zedd151 on January 02, 2023, 11:54:56 AM
Quote from: jj2007 on January 02, 2023, 11:18:10 AM
Congrats - and thanks for pointing me to a serious bug in my library :thup:
The congratulations is yours, for finding that which caused the issue. Have you tried it in windows 10? I can do that later if needed...
edit = removed oddly nested quote   :rolleyes:
Title: Re: Check the forum for new posts
Post by: zedd151 on January 02, 2023, 06:28:00 PM
I noticed one thing with the Forum Watcher. It does not have 'single instance' code in it, allowing more than one instance to run at the same time. Probably not a good idea imo,  to allow more than one instance.
I have been running it for a while, I can see that it is a very useful tool.   :thumbsup:  Nice for keeping an eye out for recent posts, without having to load any of todays bloated browsers, nice small footprint and very easy on cpu, memory and bandwidth use... I likeee. Nice and simple interface too.
Title: Re: Check the forum for new posts
Post by: jj2007 on January 02, 2023, 09:36:43 PM
Quote from: zedd151 on January 02, 2023, 06:28:00 PM
I noticed one thing with the Forum Watcher. It does not have 'single instance' code in it, allowing more than one instance to run at the same time.

You are pushing me to my limits :greensml:

QuoteGuiParas equ "Forum watcher", x730, w270, m0, h1000, b LiteGrey, si   ; right aligned, single instance
include \masm32\MasmBasic\Res\MbGui.asm

I had contemplated inserting a WinByTitle (https://www.jj2007.eu/MasmBasicQuickReference.htm#Mb1097) after the include line:
.if WinByTitle("Forum watcher")
invoke ShowWindow, eax, SW_RESTORE  ; show the other window, in case it's hidden
MsgBox 0, "Sorry, it's already running", "Single instance:", MB_OK
invoke ExitProcess, 0
.endif


But it was actually not that simple, as it would kill itself (at that point, the window is already created...) :sad:

So I had to invent that si flag in the GuiParas string. Please test the attachment :thup:

QuoteI have been running it for a while, I can see that it is a very useful tool.   :thumbsup:  Nice for keeping an eye out for recent posts, without having to load any of todays bloated browsers, nice small footprint and very easy on cpu, memory and bandwidth use... I likeee. Nice and simple interface too.[/size]

Thanks :thup:
Title: Re: Check the forum for new posts
Post by: zedd151 on January 02, 2023, 09:57:40 PM
Quote from: jj2007 on January 02, 2023, 09:36:43 PM
Please test the attachment :thup:
Runs okay ...
Title: Re: Check the forum for new posts
Post by: zedd151 on January 05, 2023, 07:08:42 AM
Hi jj, been testing the latest version of this program over the last couple of days. Works good! There are times that there are strange characters in the text though. Will post a screenshot the next time I see this happening.


As a side note I am surprised that there are not more people trying this handy tool. Beats running a bloated browser just to check latest forum activity.
Title: Re: Check the forum for new posts
Post by: jj2007 on January 05, 2023, 10:44:44 AM
Quote from: zedd151 on January 05, 2023, 07:08:42 AMThere are times that there are strange characters in the text though.

I noticed that, too. It was a codepage problem, now it uses Utf16, and the strange characters are ok:

                if 1   ; new
                    wSetWin$ hSyslink=wRec$(Rtrim$(eax))                ; no trailing to the right
                else   ; before
                    SetWin$ hSyslink=Rtrim$(eax)
                endif
       
Title: Re: Check the forum for new posts
Post by: zedd151 on January 05, 2023, 11:05:59 AM
Quote from: jj2007 on January 05, 2023, 10:44:44 AM
I noticed that, too. It was a codepage problem ...
:thumbsup:  So far, looks good.
Title: Re: Check the forum for new posts
Post by: zedd151 on January 07, 2023, 05:00:34 AM
After using the latest version off and on the past couple days, I have not seen any odd behavior from the program. No more strange characters. Other than the odd member here.  :biggrin:
Title: Введите текст здесь
Post by: jj2007 on January 07, 2023, 06:17:08 AM
Test for strange characters:

QuoteBEGIN
   001,   "Enter text here"         ; e.g. for ToolTips hEdit=wRes$(1+400*MyLanguage)
   002,   "Click on this button"   ; e.g. for wSetWin$ hButton=wRes$(2+400*MyLanguage)
   003,   "Welcome"
   401,   "Введите текст здесь"   ; "Enter text here" in Russian
   402,   "Нажмите на эту кнопку"   ; "Click on this button" in Russian
   403,   "Добро пожаловать"   ; "Welcome" in Russian; Wiki: ru.wikipedia.org/wiki/Заглавная_страница
   801,   "أدخل النص هنا"               ; "Enter text here" in Arabic
   802,   "دفع هذا الزر"                  ; "Click on this button" in Arabic
   803,   "مرحبا بكم"                  ; "Welcome" in Arabic
   1201,   "在這裡輸入文字"      ; "Enter text here" in Chinese
   1202,   "按一下這個按鈕"      ; "Click on this button" in Chinese
   1203,   "歡迎"                     ; "Welcome" in Chinese
END
Title: Re: Введите текст здесь
Post by: zedd151 on January 07, 2023, 04:46:22 PM
Quote from: jj2007 on January 07, 2023, 06:17:08 AM
Test for strange characters:
Here! Oh, you're not taking attendance. Did you mean to make an attachment? Otherwise that post makes no sense without context.


later added ... after some thinking ... ... ...  :icon_idea:   :icon_idea:   :icon_idea:
Oh, I get it. Were you testing out the program and viewing that post in it? That would make sense.
Title: Re: Введите текст здесь
Post by: jj2007 on January 07, 2023, 09:02:16 PM
Quote from: zedd151 on January 07, 2023, 04:46:22 PMWere you testing out the program and viewing that post in it? That would make sense.

Exactly. Here, the forum watcher displays all exotic strings correctly. Same for you?
Title: Re: Введите текст здесь
Post by: zedd151 on January 08, 2023, 04:08:07 AM
Quote from: jj2007 on January 07, 2023, 09:02:16 PM
Quote from: zedd151 on January 07, 2023, 04:46:22 PMWere you testing out the program and viewing that post in it? That would make sense.

Exactly. Here, the forum watcher displays all exotic strings correctly. Same for you?
I haven't seen any issues thus far, jj.  :thumbsup:
Title: Re: Check the forum for new posts
Post by: jj2007 on March 19, 2023, 01:20:15 AM
I haven't updated it for a while, but you might like the latest version: it allows to search inside the posts.

Extract the exe to a folder and run it. Please report any issues, especially on Win10.

By default, it looks for strings that are typical for code, such as "mov" or "eax" or "rax". When you press Ctrl F, an exit box asks you to enter a search string. Type e.g. climate and hit Return. Matching posts will be highlighted.

Result right now:
(http://www.jj2007.eu/pics/CheckNewPosts2.png)

Current recent posts:
(http://www.jj2007.eu/pics/CheckNewPostsNc.png)
Title: Re: Check the forum for new posts
Post by: zedd151 on June 21, 2023, 01:51:23 AM
Will look into it downloading and testing MasmBasic later... Couldn't PM in return to your PM:
edit=removed attached image as it has served its purpose.
Title: Re: Check the forum for new posts - https version
Post by: jj2007 on June 29, 2023, 01:54:56 AM
Given that Stewart managed to activate safe surfing here, the version posted above didn't find its magic texts :cool:

Here is the new version.
Title: Re: Check the forum for new posts - https version
Post by: zedd151 on June 29, 2023, 05:34:07 AM
Quote from: jj2007 on June 29, 2023, 01:54:56 AM
Given that Stewart managed to activate safe surfing here, the version posted above didn't find its magic texts :cool:

Here is the new version.

first message box:

Error downloading msfte...
QuoteArchive download failed


second message box:

TOM init failed
QuoteInvalid window handle
Title: Re: Check the forum for new posts
Post by: jj2007 on June 29, 2023, 06:47:39 AM
There is a problem with your firewall: the program cannot download a required DLL.

- open this archive (http://www.jj2007.eu/pics/msftedjj.zip)
- extract msftedjj.dll to the folder where you placed CheckNewPosts.exe
- start CheckNewPosts.exe

msftedjj.dll is a minimally modified (i.e. one byte) version of the Win7 C:\Windows\System32\msftedjj.dll
Title: Re: Check the forum for new posts
Post by: zedd151 on June 29, 2023, 06:51:54 AM
okay the window now opens but...
Quote*** 15:50:34: could not download recent posts, sorry ***
#D-U#D-U
Title: Re: Check the forum for new posts
Post by: jj2007 on June 29, 2023, 06:54:53 AM
Ok, that's not a surprise, given that the DLL could not be downloaded... so your firewall blocks downloads. Good, that's what firewalls should do (mine doesn't :tongue:). That probably means you must add an exception for the exe.
Title: Re: Check the forum for new posts
Post by: zedd151 on June 29, 2023, 06:56:22 AM
I am not running the firewall, never do. Nor anything antivirus...
The dll did download...  (592,384 bytes)
Title: Re: Check the forum for new posts
Post by: jj2007 on June 29, 2023, 07:00:07 AM
Quote from: zedd151 on June 29, 2023, 06:56:22 AM
I am not running the firewall, never do. Nor anything antivirus...

Just checked mine, it has exceptions for Firefox and several others but not for CheckNewPosts.exe :rolleyes:

QuoteThe dll did download...  (592,384 bytes)

Automagically, or by hand with the archive?
Title: Re: Check the forum for new posts
Post by: zedd151 on June 29, 2023, 07:02:02 AM
Quote from: jj2007 on June 29, 2023, 07:00:07 AM
Quote from: zedd151 on June 29, 2023, 06:56:22 AM
I am not running the firewall, never do. Nor anything antivirus...
The dll did download...  (592,384 bytes)

Automagically, or by hand with the archive?
using the link provided
Title: Re: Check the forum for new posts
Post by: jj2007 on June 29, 2023, 07:04:45 AM
Ok, so that means it cannot download this file (https://masm32.com/board/index.php?action=recent), which serves to check for new posts. Umpf... :sad:
Title: Re: Check the forum for new posts
Post by: zedd151 on June 29, 2023, 07:07:16 AM
Quote from: jj2007 on June 29, 2023, 07:04:45 AM
Ok, so that means it cannot download this file (https://masm32.com/board/index.php?action=recent), which serves to check for new posts. Umpf... :sad:
That link points to Recent Posts!   :biggrin:


https://masm32.com/board/index.php?action=recent (https://masm32.com/board/index.php?action=recent)
Or is that a veiled hint to use that link instead of your proggy?   :joking:
Just kidding of course. I'll be here for the next version...  :biggrin:
Title: Re: Check the forum for new posts
Post by: jj2007 on June 29, 2023, 07:51:21 AM
Quote from: zedd151 on June 29, 2023, 07:07:16 AM
Quote from: jj2007 on June 29, 2023, 07:04:45 AM
Ok, so that means it cannot download this file (https://masm32.com/board/index.php?action=recent), which serves to check for new posts. Umpf... :sad:
That link points to Recent Posts!   :biggrin:

Of course. Recent Posts is the only option for getting the info without being logged in.

Quotehttps://masm32.com/board/index.php?action=recent (https://masm32.com/board/index.php?action=recent)
Or is that a veiled hint to use that link instead of your proggy?   :joking:

I've asked that myself. My proggie is less intrusive, and you don't have to actively open a browser page once it's running. It just pops up when there is something new, and hitting Escape closes it immediately if the new stuff isn't interesting enough to stay.

QuoteJust kidding of course. I'll be here for the next version...  :biggrin:

The next version can't solve your problem, which seems to be firewall-related. If you hit the Windows key and type firewall, what do you see?
Title: Re: Check the forum for new posts
Post by: zedd151 on June 29, 2023, 07:53:58 AM
Quote from: jj2007 on June 29, 2023, 07:51:21 AM
The next version can't solve your problem, which seems to be firewall-related. If you hit the Windows key and type firewall, what do you see?


search box shows up and ... "No items match your search"  I have windows search disabled. I have better options.   :cool:
I can verify the firewall is off as well as Win Windows Defender. And no 3rd party AV here.


All I can tell you is that I have the same exact settings as I did with all of the other versions of this program that worked.
Title: Re: Check the forum for new posts
Post by: jj2007 on June 29, 2023, 09:45:21 AM
Quote from: zedd151 on June 29, 2023, 07:53:58 AMAll I can tell you is that I have the same exact settings as I did with all of the other versions of this program that worked.

Windows mysteries :sad:

The only thing that changed is that Stewart enabled https, so I adjusted some URLs. And it works for me...

You were my only user, Z - nobody else dares to test this (https://masm32.com/board/index.php?topic=9237.msg120443#msg120443) :sob :sob :sob :sob

We are stuck. Same for Strange behavior with direct2d and ml64 (https://masm32.com/board/index.php?topic=10830.0), read 150 times but no working code yet :rolleyes:
Title: Re: Check the forum for new posts
Post by: StrykerX on June 29, 2023, 09:55:26 AM
I'll give it a whirl a little later when I start my Windows box back up.. Am curious :)
Title: Re: Check the forum for new posts
Post by: zedd151 on June 29, 2023, 10:16:30 AM
Quote from: jj2007 on June 29, 2023, 09:45:21 AM
We are stuck. Same for Strange behavior with direct2d and ml64 (https://masm32.com/board/index.php?topic=10830.0), read 150 times but no working code yet :rolleyes:
Turn that frown upside down.  On the bright side, the qeditor plugins that I posted recently all work.  :biggrin:   
Title: Re: Check the forum for new posts
Post by: zedd151 on June 29, 2023, 10:22:29 AM
Quote from: jj2007 on June 29, 2023, 09:45:21 AM
The only thing that changed is that Stewart enabled https, so I adjusted some URLs. And it works for me...
Did you upload a working version?  Download it and test it. Maybe you accidentally uploaded wrong version???   
Title: Re: Check the forum for new posts
Post by: zedd151 on June 29, 2023, 10:31:42 AM
Your URL strings:

Quotepush 004117AE          ;  ASCII "https://masm32.com/board/index.php?action=recent"
push 004117DF          ;  ASCII "https://masm32.com/board/index.php?action=recent;start=10"

Not  https://www.masm32.com/board...  ???
Title: Re: Check the forum for new posts
Post by: jj2007 on June 29, 2023, 10:32:26 AM
Quote from: zedd151 on June 29, 2023, 10:22:29 AMDid you upload a working version?  Download it and test it. Maybe you accidentally uploaded wrong version???

I did the test. Zip archive downloads and opens, I double-click on the exe, it runs from C:\Users\Jochen\Appdata\Local\Temp\7zO8478D96E\CheckNewPosts.exe and creates a bunch of files:

C:\Users\Jochen\Appdata\Local\Temp\7zO8478D96E\ForumLatest.htm
C:\Users\Jochen\Appdata\Local\Temp\7zO8478D96E\ForumLatest10.htm
C:\Users\Jochen\Appdata\Local\Temp\7zO8478D96E\ForumNew.txt
C:\Users\Jochen\Appdata\Local\Temp\7zO8478D96E\DebLog.txt
C:\Users\Jochen\Appdata\Local\Temp\7zO8478D96E\ForumLatestOld.htm
C:\Users\Jochen\Appdata\Local\Temp\7zO8478D96E\CheckNewPosts.exe
C:\Users\Jochen\Appdata\Local\Temp\7zO8478D96E\msftedjj.dll


No problem at all, it works. This is Win7-64.

Quote from: zedd151 on June 29, 2023, 10:31:42 AM
Your URL strings:

Quotepush 004117AE          ;  ASCII "https://masm32.com/board/index.php?action=recent"
push 004117DF          ;  ASCII "https://masm32.com/board/index.php?action=recent;start=10"

Not  https://www.masm32.com/board...  ???

Good question, could it make a difference? Test it - see attachment...
Both work for me.
Title: Re: Check the forum for new posts
Post by: zedd151 on June 29, 2023, 10:37:20 AM
https://masm32.com/board/index.php?topic=9237.msg120461#msg120461


Huh?? All my www's are missing...  apparently works like that.
Hey Stryker...???  No www.  ??
Title: Re: Check the forum for new posts
Post by: zedd151 on June 29, 2023, 10:39:52 AM
Nah, same here. No change.
No www.  Wow  Must be a new feature that came with the https ... ?


Also...

The only difference between yout computer and mine is the bitness. I dont remeber if I was running 32 or 64 last time....
Let me plonk down windows 7 64 bit on another partition.... 
Title: Re: Check the forum for new posts
Post by: StrykerX on June 29, 2023, 10:42:02 AM
Quote from: zedd151 on June 29, 2023, 10:37:20 AM
https://masm32.com/board/index.php?topic=9237.msg120461#msg120461


Huh?? All my www's are missing...  apparently works like that.
Hey Stryker...???  No www.  ??

Forum has a 301 redirect to https://masm32.com/board/. However JJ has said it's working for him so it's not that.
Title: Re: Check the forum for new posts
Post by: zedd151 on June 29, 2023, 10:44:33 AM
Quote from: StrykerX on June 29, 2023, 10:42:02 AM
Forum has a 301 redirect to https://masm32.com/board/ (https://masm32.com/board/). However JJ has said it's working for him so it's not that.
Hes running windows 7 64 bit, I am running 32 bit Windows 7. I am going to install 64 bit be right back shortly,,,  :biggrin:
Title: Re: Check the forum for new posts
Post by: StrykerX on June 29, 2023, 10:47:38 AM
Worked first try here on Win10 x64 :)
Title: Re: Check the forum for new posts
Post by: zedd151 on June 29, 2023, 10:50:17 AM
Quote from: StrykerX on June 29, 2023, 10:47:38 AM
Worked first try here on Win10 x64 :)
:biggrin:  Why is it Always a ME problem???  :biggrin: 
His other versions worked here. I may have been running Windows 7 64 bit then. I have switched to and from several times..  :tongue:


Okay 64 bit has finished installing.... hang on a second....
Title: Re: Check the forum for new posts
Post by: zedd151 on June 29, 2023, 11:10:27 AM
Okay, took a few minutes as I don't have a disk image of Windows 7 64 bit with browser, and other proggies I use. So had to install opera and a few necessities.
Anyway upon trying  CheckNewPostsHttps in Windows 7 64 bit, same results for me.   :sad:
Now I will slap windows 10 on this box. ( I hate windows 10/11) and try that...  :biggrin:
Title: Re: Check the forum for new posts
Post by: StrykerX on June 29, 2023, 11:27:16 AM
I will add that there's no firewall running on my Windows box however I have a firewall (pfSense) and it functions fine with that.
Title: Re: Check the forum for new posts
Post by: zedd151 on June 29, 2023, 11:46:50 AM
Okay. I had to break from this and walk both the dogs.  :tongue:  A few more minutes...  :biggrin:
Title: Re: Check the forum for new posts
Post by: zedd151 on June 29, 2023, 11:55:54 AM
SUCCESS with windows 10 64 bit...  :tongue:
Now I have to troubleshoot why both Windows 7 32 bit and Windows 7 64 bit refuse to run the program properly. I am certain that the original programs did not require this.
At any rate Jochen I now certify your program to be ready for themasses Take it either as 'the masses' or 'them asses'.   :biggrin:
Also win 10 64 downloaded your dll  without a hiccup.
Title: Re: Check the forum for new posts
Post by: StrykerX on June 29, 2023, 12:00:00 PM
Are you doing this on VMs?
Title: Re: Check the forum for new posts
Post by: zedd151 on June 29, 2023, 12:00:34 PM
Quote from: StrykerX on June 29, 2023, 12:00:00 PM
Are you doing this on VMs?
Nope.
Title: Re: Check the forum for new posts
Post by: jj2007 on June 29, 2023, 03:10:37 PM
Quote from: StrykerX on June 29, 2023, 10:47:38 AM
Worked first try here on Win10 x64 :)
Great :thumbsup:

Quote from: StrykerX on June 29, 2023, 12:00:00 PM
Are you doing this on VMs?
I tested it in a WinXP-32 client: program starts but cannot download. So I opened Internet Explorer, and guess what? Masm32 not accessible. Hmmm... local files work. Google works. Google works fine, only that I cannot open any of the links provided, not even Microsoft.com: "The page cannot be displayed".

As suggested, I click "Tools/Diagnose connection problems", and as usual, Windows tells me useless and wrong stories, such as "must be a firewall problem". Ha ha, and Google found a way to cheat it, right? Besides, switching off didn't change anything :sad:

Has Windows diagnostics ever worked for any of the dozens of common problems with Windows?

^ ^ ^ Right-click the whole phrase, then click "Search the web for ...", and Google with put this hit on top: Has Windows ever actually found a solution to a problem? (https://www.quora.com/Has-Windows-ever-actually-found-a-solution-to-a-problem)

First answer:
QuoteWindows is old, rickety, and antequated, but thinks it can fix anything. Sometimes you feel bad for it, so you give it a few seconds to try.

It's kind of like when your drunken uncle Jasper comes over. The dishwasher has been making a noise, and he swears it's an easy fix. Later that day, there's dishwasher parts all over the floor, and his attention is switched to watching the game and yelling at the TV.

Google is clever, Microsoft isn't :cool:
Title: Re: Check the forum for new posts
Post by: StrykerX on June 29, 2023, 08:43:45 PM
Quote from: jj2007 on June 29, 2023, 03:10:37 PM
Quote from: StrykerX on June 29, 2023, 10:47:38 AM
Worked first try here on Win10 x64 :)
Great :thumbsup:

Quote from: StrykerX on June 29, 2023, 12:00:00 PM
Are you doing this on VMs?
I tested it in a WinXP-32 client: program starts but cannot download. So I opened Internet Explorer, and guess what? Masm32 not accessible. Hmmm... local files work. Google works. Google works fine, only that I cannot open any of the links provided, not even Microsoft.com: "The page cannot be displayed".

As suggested, I click "Tools/Diagnose connection problems", and as usual, Windows tells me useless and wrong stories, such as "must be a firewall problem". Ha ha, and Google found a way to cheat it, right? Besides, switching off didn't change anything :sad:

Has Windows diagnostics ever worked for any of the dozens of common problems with Windows?

^ ^ ^ Right-click the whole phrase, then click "Search the web for ...", and Google with put this hit on top: Has Windows ever actually found a solution to a problem? (https://www.quora.com/Has-Windows-ever-actually-found-a-solution-to-a-problem)

First answer:
QuoteWindows is old, rickety, and antequated, but thinks it can fix anything. Sometimes you feel bad for it, so you give it a few seconds to try.

It's kind of like when your drunken uncle Jasper comes over. The dishwasher has been making a noise, and he swears it's an easy fix. Later that day, there's dishwasher parts all over the floor, and his attention is switched to watching the game and yelling at the TV.

Google is clever, Microsoft isn't :cool:

Microsoft Troubleshooter being remotely close has a similar odds to winning lotto without a ticket...
Title: Re: Check the forum for new posts
Post by: TimoVJL on June 30, 2023, 03:05:01 PM
This site use TLS 1.3 and Windows 10 support it.

https://sockettools.com/kb/windows-and-supported-tls-versions/


CheckNewPosts.exe works for me in Windows 7 Pro x64
Title: Re: Check the forum for new posts
Post by: zedd151 on June 30, 2023, 09:28:15 PM
Quote from: TimoVJL on June 30, 2023, 03:05:01 PM
CheckNewPosts.exe works for me in Windows 7 Pro

64 bit or 32 bit timo?


That's okay Jochen. It's always a ME problem.  :tongue:  Your program is probably fine.
I am going to try an unadulterated version of win 7 32 bit later today, only to test your proggy.
If even THAT fails, I will try to source a 'new' copy of the Windows 7 x86 iso... maybe the one here is corrupted or otherwise missing something???


QuoteIt's always a ME problem.  :tongue: 
That's one way to look at it. The other is that YOUR program is the only program I cannot run...  :biggrin:   It is really bugging me ... I'll get to the bottom of this eventually.
Title: Re: Check the forum for new posts
Post by: jj2007 on June 30, 2023, 10:11:48 PM
Quote from: zedd151 on June 30, 2023, 09:28:15 PM
QuoteIt's always a ME problem.  :tongue: 
That's one way to look at it. The other is that YOUR program is the only program I cannot run...  :biggrin:   It is really bugging me ... I'll get to the bottom of this eventually.

You are a bug chaser, like me. But don't invest too much time, it's not worth it ;-)
Title: Re: Check the forum for new posts
Post by: zedd151 on June 30, 2023, 10:18:19 PM
Quote from: jj2007 on June 30, 2023, 10:11:48 PM
You are a bug chaser, like me.
Only when I cannot otherwise solve the problem at hand...  :cool:
Title: Re: Check the forum for new posts
Post by: jj2007 on June 30, 2023, 11:35:11 PM
Quote from: jj2007 on June 29, 2023, 07:51:21 AMRecent Posts is the only option for getting the info without being logged in.

The reason being that the site doesn't let you log in from an external program (only browsers can). That implies also that CheckNewPosts.exe cannot inform you about PMs.
Title: Re: Check the forum for new posts
Post by: zedd151 on July 01, 2023, 01:24:51 AM
Okay. With a clean install of windows 7 32 bit no changes were needed to run your program. It did not download your .dll but once the .dll was put into program folder it ran as it should.  :tongue:
I have no clue what is going on with my 'backup' of the OS. But since I am rebuilding a backup for x64, making a new backup for x86 won't be a big deal.  I just have to look at the batch file used in the original backups to see if there is any settings change there that *could* affect running you program.

edit to add...
internet options --> advanced  --->under security
checked Use SSL 2.0
checked Use SSL 3.0
checked Use TLS 1.0
checked Use TLS 1.1
checked Use TLS 1.2
Title: Re: Check the forum for new posts
Post by: zedd151 on July 01, 2023, 01:31:52 AM
Now back on a fresh install of my original backup, I put the firewall settings and UAC settings same as the clean install. Does not run here. So apparently I was correct that something is amiss with this backup. So, back to the drawing board.  :tongue:
Title: Re: Check the forum for new posts
Post by: zedd151 on July 01, 2023, 03:53:13 AM
Okay, the latest backup for win 7 x86 is just about done. I have finished installing the most used software and tweaked a couple settings for the 'start menu' and a couple other things. Adjusted some personal preferences regarding desktop background etc. So far, so good. Once done, I'll make a .wim image file for the backup.
Then on to the 64 bit version of the OS...


Oh, I made sure that your proggy runs with this backup version.  :wink2:
Title: Re: Check the forum for new posts
Post by: zedd151 on July 01, 2023, 04:18:57 AM
:joking: :eusa_dance: :rofl: :eusa_naughty:
Well, fork me! I found the culprit!!!
There is nothing wrong with my previous backup nor my firewall settings, or UAC settings et.al.
Quote from: zedd151 on July 01, 2023, 01:24:51 AM
internet options --> advanced  --->under security
checked Use SSL 2.0
checked Use SSL 3.0
checked Use TLS 1.0
checked Use TLS 1.1
checked Use TLS 1.2
I came back to the other partition to save the 'new' backup. I decided to check the SSL and TLS settings... the  default checkboxes were the only ones checked! I checked all of 'em and PRESTO! your program works...
Moral of the story: don't look for the solution far away when it may just be very close by.  :tongue:
Its all StrykerX's fault! http ---> https...   :badgrin:  Now dammit I spent the better part of the last 24 hours trying to figure out why my computer was acting ill.   :eusa_boohoo:   :eusa_boohoo:   
p.s. ... after removing msftedjj.dll from the folder it still won't download that file. But otherwise works as advertised, after manually putting the dll into the folder
Title: Re: Check the forum for new posts
Post by: jj2007 on July 01, 2023, 08:48:37 AM
Quote from: zedd151 on July 01, 2023, 04:18:57 AM
:joking: :eusa_dance: :rofl: :eusa_naughty:
Well, fork me! I found the culprit!!!

Congrats :thumbsup:

Quotep.s. ... after removing msftedjj.dll from the folder it still won't download that file. But otherwise works as advertised, after manually putting the dll into the folder

Strange that it doesn't download :rolleyes:

It works without that dll because I told it to use C:\Windows\System32\msftedit.dll if it can't find the right one. Which is the good one in your case, because my tailored version is the Win7-64 version. The Win10 has quirks, inter alia it's extremely slow.
Title: Re: Check the forum for new posts
Post by: StrykerX on July 01, 2023, 10:35:55 AM
Quote from: zedd151 on July 01, 2023, 04:18:57 AM
:joking: :eusa_dance: :rofl: :eusa_naughty:
Well, fork me! I found the culprit!!!
There is nothing wrong with my previous backup nor my firewall settings, or UAC settings et.al.
Quote from: zedd151 on July 01, 2023, 01:24:51 AM
internet options --> advanced  --->under security
checked Use SSL 2.0
checked Use SSL 3.0
checked Use TLS 1.0
checked Use TLS 1.1
checked Use TLS 1.2
I came back to the other partition to save the 'new' backup. I decided to check the SSL and TLS settings... the  default checkboxes were the only ones checked! I checked all of 'em and PRESTO! your program works...
Moral of the story: don't look for the solution far away when it may just be very close by.  :tongue:
Its all StrykerX's fault! http ---> https...   :badgrin:  Now dammit I spent the better part of the last 24 hours trying to figure out why my computer was acting ill.   :eusa_boohoo:   :eusa_boohoo:   
p.s. ... after removing msftedjj.dll from the folder it still won't download that file. But otherwise works as advertised, after manually putting the dll into the folder

I was only doing my job  :greensml: :greensml:

Quote from: jj2007 on July 01, 2023, 08:48:37 AM
Quote from: zedd151 on July 01, 2023, 04:18:57 AM
:joking: :eusa_dance: :rofl: :eusa_naughty:
Well, fork me! I found the culprit!!!

Congrats :thumbsup:

Quotep.s. ... after removing msftedjj.dll from the folder it still won't download that file. But otherwise works as advertised, after manually putting the dll into the folder

Strange that it doesn't download :rolleyes:

It works without that dll because I told it to use C:\Windows\System32\msftedit.dll if it can't find the right one. Which is the good one in your case, because my tailored version is the Win7-64 version. The Win10 has quirks, inter alia it's extremely slow.

Win10 just downloaded the file automatically as expected for me then it worked.  :smiley:
Title: Re: Check the forum for new posts
Post by: zedd151 on July 01, 2023, 11:01:32 AM
Quote from: jj2007 on July 01, 2023, 08:48:37 AM
It works without that dll because I told it to...
Next time I will "tell it to", also. I mean Reaalllly scold it!  :tongue:
Okay, quotes out-of-context aside, I will try to find out why it refuses to download. It will take some "debugging" to do so though.
But not today, nor tomorrow. I'm busy recreating my OS backups.  :cool:


Quote from: StrykerX on July 01, 2023, 10:35:55 AM
Win10 just downloaded the file automatically as expected for me then it worked.  :smiley:
Of course it did. I am cursed with the affliction called 'being ME'.  :biggrin:  Of course the program works normally for me on Windows 10 as well.
Title: Re: Check the forum for new posts
Post by: StrykerX on July 04, 2023, 12:11:00 AM
Okay so.. How do I quit your little app? It seems uncloseable!
Title: Re: Check the forum for new posts
Post by: jj2007 on July 04, 2023, 12:24:38 AM
Quote from: StrykerX on July 04, 2023, 12:11:00 AM
Okay so.. How do I quit your little app? It seems uncloseable!

:biggrin:

Hold Shift and click the close box (the Escape key minimises it).
Title: Re: Check the forum for new posts
Post by: zedd151 on July 04, 2023, 12:26:16 AM
Quote from: jj2007 on July 04, 2023, 12:24:38 AM
Quote from: StrykerX on July 04, 2023, 12:11:00 AM
Okay so.. How do I quit your little app? It seems uncloseable!

:biggrin:

Hold Shift and click the close box.
lol. That one had me the first time I used it. No one reads 'hold shift key...' apparently.  :tongue:
Your program still does not download the .dll even with my newest copy of Windows 7 x64 btw.
Title: Re: Check the forum for new posts
Post by: StrykerX on July 04, 2023, 09:36:02 AM
Quote from: zedd151 on July 04, 2023, 12:26:16 AM
Quote from: jj2007 on July 04, 2023, 12:24:38 AM
Quote from: StrykerX on July 04, 2023, 12:11:00 AM
Okay so.. How do I quit your little app? It seems uncloseable!

:biggrin:

Hold Shift and click the close box.
lol. That one had me the first time I used it. No one reads 'hold shift key...' apparently.  :tongue:
Your program still does not download the .dll even with my newest copy of Windows 7 x64 btw.

Hey, I tried that last night and it didn't work! Admittedly, I was overtired so I may have thought I did it but didn't..  :greensml:
Title: Re: Check the forum for new posts
Post by: jj2007 on July 04, 2023, 10:01:44 AM
Quote from: StrykerX on July 04, 2023, 09:36:02 AMHey, I tried that last night and it didn't work! Admittedly, I was overtired so I may have thought I did it but didn't..  :greensml:

What didn't work, the Shift Close trick or the dll download?
Title: Re: Check the forum for new posts
Post by: Caché GB on August 07, 2023, 03:20:26 PM
This is a test to test JJ's "forum watcher".
Title: Re: Check the forum for new posts
Post by: jj2007 on August 07, 2023, 06:19:19 PM
Quote from: Caché GB on August 07, 2023, 03:20:26 PMThis is a test to test JJ's "forum watcher".

It will fail miserably because many of the tags used when parsing the html code were changed during the forum update to the newest SMF version. I am working on it but it will take some time.
Title: Re: Check the forum for new posts
Post by: StrykerX on August 07, 2023, 06:40:51 PM
Quote from: jj2007 on August 07, 2023, 06:19:19 PM
Quote from: Caché GB on August 07, 2023, 03:20:26 PMThis is a test to test JJ's "forum watcher".

It will fail miserably because many of the tags used when parsing the html code were changed during the forum update to the newest SMF version. I am working on it but it will take some time.

Correct, SMF changed a lot of the HTML with the updates between the old version and this shiny new one.
Title: Check the forum for new posts: Beta testers needed
Post by: jj2007 on October 10, 2023, 08:52:44 AM
Beta testers needed :bgrin:
Title: Re: Check the forum for new posts
Post by: HSE on October 10, 2023, 10:55:15 AM
Hi JJ!

there are 2 serious problems:

1) Turquois background in first window :biggrin:

2) Link open board, not the specific subject

Later: perfectly detect this post  :thumbsup:
Title: Re: Check the forum for new posts
Post by: zedd on October 10, 2023, 10:58:41 AM
Quote from: HSE on October 10, 2023, 10:55:15 AMHi JJ!

there are 2 serious problems:

1) Turquois background in first window :biggrin:
:rofl:  :joking:  :tongue:
I'll look into this version later...
Title: Re: Check the forum for new posts
Post by: jj2007 on October 10, 2023, 05:27:07 PM
Quote from: HSE on October 10, 2023, 10:55:15 AMHi JJ!

there are 2 serious problems:

1) Turquois background in first window :biggrin:

2) Link open board, not the specific subject

Later: perfectly detect this post  :thumbsup:

On 2) I fully agree, that's a bug that needs to be fixed :bgrin:
Title: Re: Check the forum for new posts
Post by: zedd on October 11, 2023, 12:05:17 AM
Error downloading msftedjj:
Archive download failed. :sad:


TOM init failed.
Invalid window handle. :sad:
Title: Re: Check the forum for new posts
Post by: zedd on October 11, 2023, 12:07:01 AM
Upon locating msftedjj that I already had...

*** 08:06:02: could not download recent posts, sorry ***
#D-U#D-U


ps. The Shift+Close is weird. Why use shift?
Title: Re: Check the forum for new posts
Post by: jj2007 on October 11, 2023, 08:58:18 AM
Quote from: HSE on October 10, 2023, 10:55:15 AMHi JJ!

there are 2 serious problems:

1) Turquois background in first window :biggrin:
2) Link open board, not the specific subject

Solved - you can now edit CheckNewPosts.ini:
  .if !Ini$()    ; set defaults if no ini file found
    SetIni$ "upperBgColour", Str$(LiteBlueGreen)
    SetIni$ "lowerBgColour", Str$(LiteGrey)
  .endif
  GuiControl TheDesc, "RichEdit", y=0+26, h=0+230, font -16, bcol <Val(Ini$("upperBgColour"))>, text hover$
  GuiControl TheLinks, "RichEdit", y0+228, h1000-228, font -14, bcol <Val(Ini$("lowerBgColour"))>

Quote from: zedd151 on October 11, 2023, 12:05:17 AMError downloading msftedjj:
Archive download failed. :sad:

TOM init failed.
Invalid window handle. :sad:
...
Upon locating msftedjj that I already had...

*** 08:06:02: could not download recent posts, sorry ***

Is your msftedjj.dll in the same folder as your CheckNewPosts.exe?

Quoteps. The Shift+Close is weird. Why use shift?

Ok, I changed that. Now Escape minimises the window, while Alt F4 closes the app.

New beta attached, grateful for feedback :thup:
Title: Re: Check the forum for new posts
Post by: zedd on October 11, 2023, 09:03:44 AM
Yes, msftedjj is in the program folder. Seems we went down this road before?
...... is this program using some of the SSE** instructions that my old box just doesn't understand?

I'll look at the newest version after I have dinner...
Title: Re: Check the forum for new posts
Post by: jj2007 on October 11, 2023, 10:17:15 AM
Quote from: zedd151 on October 11, 2023, 09:03:44 AMis this program using some of the SSE** instructions that my old box just doesn't understand?

I'm afraid this is the case... try the attached special edition :cool:
Title: Re: Check the forum for new posts
Post by: zedd on October 12, 2023, 03:37:40 AM
Quote*** 11:35:53: could not download recent posts, sorry ***
#D-U#D-U
With the latest version. Couldnt test this yesterday, real life interferences..
msftedjj.dll is in the program folder...
Title: Re: Check the forum for new posts
Post by: jj2007 on October 12, 2023, 04:28:45 AM
Seems a firewall problem
Title: Re: Check the forum for new posts
Post by: zedd on October 12, 2023, 05:52:07 AM
Quote from: jj2007 on October 12, 2023, 04:28:45 AMSeems a firewall problem
I have the firewall disabled. I never use it, nor any AV. For risky adventures, I simply reinstall the OS, afterwards. Takes only a few minutes.  :cool:
I'll take another look, after I finish walking the dogs.
Title: Re: Check the forum for new posts
Post by: zedd on October 12, 2023, 06:54:11 AM
Firewall is effectively OFF:
(https://i.postimg.cc/HJWwywqd/2.png) (https://postimg.cc/HJWwywqd)

But for completeness, and in case it is still somehow active, I added an exception for the program:
(https://i.postimg.cc/GHQ9sWdT/1.png) (https://postimg.cc/GHQ9sWdT)

Still with the same results:
Quote*** 14:53:48: could not download recent posts, sorry ***
#D-U#D-U