Interesting. I've been fighting with an issue where I can only get old projects to compile and run properly with ADW at this time. New projects will not. My symptoms are different though as the code compiles and links, but at runtime just does not dowhat it should. I'm also on 20H2, but it was an upgrade from prior versions rather than fresh install.
I have uninstalled and reinstalled ADW with no changes. I've run the failing projects and the working projects in the debugger, copied/pasted simple code back and forth and it's definitely based on if it's a new project or one of my pre-existing ones.The code in the debugger actually looks the same. Tracing through it though, where it CALLs in the libraries the old compiled projects actually work and the new ones just come back with nothing having happened (no error code, just no work done).
Complicating my issue is that all this old projects were with a prior version of ADW... I had not started a new project in years, so I have a lot more variables to troubleshoot. :-/ I've been hoping to find someone that has a stash of old ADWversions so I could go back and see if there is a bug only impacting new projects with it. However, your post makes me think it's more likely a buggy Windows update.
I wonder if there is a way to contact the developers of ADW and ask
their advice?
I created a VM of winxp, and was able to run the original Stony Brook
M2 development system in that. It works.
I created a VM of vista, and installed the latest ADW M2 from 2019.
That works.
On Sunday, December 6, 2020 at 6:33:12 PM UTC-5, Rob Solomon wrote:
I created a VM of winxp, and was able to run the original Stony Brook
M2 development system in that. It works.
I created a VM of vista, and installed the latest ADW M2 from 2019.
That works.
Good info. I'm trying to get XDS working right now. Maybe I'll dig around here for my old Windows disks and circle back to ADW next month.
But Vista works. I'm now lead to believe that when upgrading from
vista -> win7 -> win10 until 20.04, whatever allowed ADW to work under
vista was carried thru to the later windows versions, until 20.04
broke it.
Inistalling fresh Win7 or Win10 firom their respective iso files
results in a system that will not run ADW.
On Tuesday, December 8, 2020 at 8:26:56 PM UTC-5, Rob Solomon wrote:
But Vista works. I'm now lead to believe that when upgrading fromGood info, thanks for doing all that work! I really love the ADW environment, I hope we get an updated version that can workaround whatever broke.
vista -> win7 -> win10 until 20.04, whatever allowed ADW to work under vista was carried thru to the later windows versions, until 20.04
broke it.
Inistalling fresh Win7 or Win10 firom their respective iso files
results in a system that will not run ADW.
Except when I tried to create my own "New Project" for a simple hello world program - it would compile fine and give no errors but just not run.
I concluded it had to be something to do with the project(file) itself and then after much trawling the net I came across this helpful page:
https://twu.seanho.com/05fall/cmpt14x/stonybrook/
Check the unchecked checkbox in win32 tab on Linker options.
One less headache. Hope it helps someone.
On Tuesday, April 27, 2021 at 11:50:55 AM UTC-4, John Dillon wrote:checked for appropriate settings. Don't know how I never thought to check that, but it's great to be able to use ADW again. Nothing against XDS (32-bit only) which I've been using in the meantime, but since I'm on a 64-bit OS, I'd rather compile 64-bit!
Except when I tried to create my own "New Project" for a simple hello world program - it would compile fine and give no errors but just not run.
I concluded it had to be something to do with the project(file) itself and then after much trawling the net I came across this helpful page:
https://twu.seanho.com/05fall/cmpt14x/stonybrook/
Check the unchecked checkbox in win32 tab on Linker options.
One less headache. Hope it helps someone.
BIG help! After reading your post I started a new AMD64 program project, went into the Win32 Linker options and checked the console checkbox, and it solved my issue! So, despite the fact that I'm building 64 bit, the 32-bit linker tab needs to be
Not for me. My code uses the TextWindows module. It compiles but
still fails to link, saying I have undefined symbols from WINUSER and
WIN32, both are part of the Windows interface
On Wednesday, April 28, 2021 at 7:19:38 PM UTC-4, rob wrote:
Not for me. My code uses the TextWindows module. It compiles but still fails to link, saying I have undefined symbols from WINUSER andI see that the latest ADW update was posted to modula2.org just a few days ago. Have you had a chance to grab it and give it a try yet?
WIN32, both are part of the Windows interface
On Friday, May 28, 2021 at 2:54:25 PM UTC-4, bri...@glmotorsports.net wrote:
On Wednesday, April 28, 2021 at 7:19:38 PM UTC-4, rob wrote:I did, and it does not work, either. I do not see a version that is later than Mar 8, 2021. I tried that before I posted in April.
Not for me. My code uses the TextWindows module. It compiles but still fails to link, saying I have undefined symbols from WINUSER andI see that the latest ADW update was posted to modula2.org just a few days ago. Have you had a chance to grab it and give it a try yet?
WIN32, both are part of the Windows interface
Still no-go
--rob
On Saturday, May 29, 2021 at 10:59:27 PM UTC+9:30, drro...@gmail.com wrote:
On Friday, May 28, 2021 at 2:54:25 PM UTC-4, bri...@glmotorsports.net wrote:Have you tried checking the 'Allow undefined symbols' in Linker Options > Main?
On Wednesday, April 28, 2021 at 7:19:38 PM UTC-4, rob wrote:I did, and it does not work, either. I do not see a version that is later than Mar 8, 2021. I tried that before I posted in April.
Not for me. My code uses the TextWindows module. It compiles but still fails to link, saying I have undefined symbols from WINUSER and WIN32, both are part of the Windows interfaceI see that the latest ADW update was posted to modula2.org just a few days ago. Have you had a chance to grab it and give it a try yet?
Still no-go
Have you tried checking the 'Allow undefined symbols' in Linker Options > Main?still no-go. Now an .exe is created, but does nothing when I try to run it.
On Sunday, May 30, 2021 at 12:21:17 PM UTC-4, drro...@gmail.com wrote:
Ah, that's the problem I was having originally. Did you also go check the Win32 Console checkbox for the linker? That was the resolution for me when I was getting the EXE that did nothing.Have you tried checking the 'Allow undefined symbols' in Linker Options > Main?still no-go. Now an .exe is created, but does nothing when I try to run it.
--Brian
Hey Rob, I see there's a new version of ADW out now (as of 1/22) at https://www.modula2.org/adwm2/. If you didn't get this issue resolved prior to that, have you tried this latest version?
--Brian
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 468 |
Nodes: | 16 (2 / 14) |
Uptime: | 20:09:23 |
Calls: | 9,440 |
Calls today: | 3 |
Files: | 13,594 |
Messages: | 6,109,934 |