New user question

Started by erosolmi, September 14, 2022, 12:28:57 AM

Previous topic - Next topic

MrBcx

Quote from: Robert on October 07, 2022, 01:40:03 AM

The latest locked up my 11 system and had an animation of a pitbull chained to a computer monitor ...


That would make my head explode!  I've never experienced anything like that and hope that I never do. 

One reason why I don't update the BCX_Install.zip is because it still receives a favorable VT score:

https://www.virustotal.com/gui/url/22e98f5f970477a389e73bc05cbccca917b3cb2f2bdd739a8a06e0a8b4e84ed2



sjhawar

Sorry to hear you're having problems with Wacatac on Windows 11. What is Wacatac? Wacatac (Trojan:Win32/Wacatac) infiltrates computers silently and performs harmful acts. Cybercriminals spread malware through spam emails and bogus software 'cracks.'

Open Microsoft defender, and choose the option to perform an offline scan

Your PC will reboot to perform the scan before Windows starts.

Then check if the issue is resolved, if not, download and use the free version of Malwarebytes to scan your system.

Never open irrelevant or suspicious/unrecognizable files/links.

Robert

Quote from: sjhawar on October 06, 2022, 11:59:31 PM
Yes, my VW32.bat ends with:

@IF EXIST %1.exe @ECHO MSVC built [ %1.exe ]
@ENDLOCAL

I use Microsoft Windows 11 Pro. I don't have Windows 10 to test.
Windows 11 only runs on 64-bit CPUs, but supports both 32-bit and 64-bit applications.
A 32-bit program cannot fully utilize the 64-bit architecture.
Microsoft has said Windows 11 is secure due to TPM 2.0 and Secure Boot requirements.

I apologize for drifting off topic but I must comment.

Secure ???

The frequency of Wacatacs on my Windows 11 has not decreased from those on Windows 10, but the severity has increased.

The latest locked up my 11 system and had an animation of a pitbull chained to a computer monitor with a scrolling "Your system is running WACATAC".

Yet another reinstall.

This is tiresome.

MrBcx

Quote from: sjhawar on October 06, 2022, 11:59:31 PM
Yes, my VW32.bat ends with:

@IF EXIST %1.exe @ECHO MSVC built [ %1.exe ]
@ENDLOCAL

I use Microsoft Windows 11 Pro. I don't have Windows 10 to test.
Windows 11 only runs on 64-bit CPUs, but supports both 32-bit and 64-bit applications.
A 32-bit program cannot fully utilize the 64-bit architecture.
Microsoft has said Windows 11 is secure due to TPM 2.0 and Secure Boot requirements.

Shiv ... I'm clutching at straws now but maybe this will help. 
It's easy enough to try and equally easy to revert, if it achieves nothing.

https://learn.microsoft.com/en-us/windows/console/legacymode

sjhawar

Yes, my VW32.bat ends with:

@IF EXIST %1.exe @ECHO MSVC built [ %1.exe ]
@ENDLOCAL

I use Microsoft Windows 11 Pro. I don't have Windows 10 to test.
Windows 11 only runs on 64-bit CPUs, but supports both 32-bit and 64-bit applications.
A 32-bit program cannot fully utilize the 64-bit architecture.
Microsoft has said Windows 11 is secure due to TPM 2.0 and Secure Boot requirements.


MrBcx

#24
Just to clarify ...

Windows 11 cannot be installed on computers with only a 32-bit CPU.

But Windows 11 will run both 32-bit and 64-bit apps, and we can still BUILD 32-bit apps.


Ad_Rienks

Robert,

Quote
Hostx64 rather than Hostx86 and newer version of VS Community

That might be a pointer to a solution! Windows 11 doesn't have a 32-bit bit version, which means it doesn't support 32-bit CPUs.

Just my 2 cents!

Robert

In Windows 11 64 bit Sandbox

Below, Bed 32 bit batch file, only changes, Hostx64 rather than Hostx86 and newer version of VS Community which I just downloaded with a fresh Bed and latest BCX and installed for this test.


@SET MSVCFolder="C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.33.31629\bin\Hostx64\x86"

CALL "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat" x86

@SET BCX=C:\bin\BCX

MrBcx

Quote from: sjhawar on October 06, 2022, 06:31:28 PM
REM @SET MSVCFolder=C:\VS2022\VC\Tools\MSVC\14.32.31326\bin\Hostx86\x86
@SET MSVCFolder="C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.32.31326\bin\Hostx86\x86"

REM CALL C:\VS2022\VC\Auxiliary\Build\vcvarsall.bat  x86
CALL "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat" x86

REM @SET BCX=C:\BC
@SET BCX=C:\BCX\Bin

The above 3 lines in my Config32.bat

Shiv,

Referring to the output window of your screenshot:

MSVC built [ "C:\Bed\Testbcx".exe ]
'SET BCX' is not recognized as an internal or external command, operable program or batch file.

The last lines of VW32.bat should be:

@IF EXIST %1.exe @ECHO MSVC built [ %1.exe ]
@ENDLOCAL

If that agrees with your VW32.bat then all I can conclude is that something is afoot with Windows 11.
And because I'm not running Windows 11, I'm out of ideas at this moment.

I don't know how many people are using BED but these problems that you're reporting is news to me. 
I can tell you that I experience none of the problems that you're reporting and I'm regularly testing
BED with all four of the compilers that BED supports.  I am running Windows 10 Pro 64-bit.


sjhawar

REM @SET MSVCFolder=C:\VS2022\VC\Tools\MSVC\14.32.31326\bin\Hostx86\x86
@SET MSVCFolder="C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.32.31326\bin\Hostx86\x86"

REM CALL C:\VS2022\VC\Auxiliary\Build\vcvarsall.bat  x86
CALL "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat" x86

REM @SET BCX=C:\BC
@SET BCX=C:\BCX\Bin


The above 3 lines in my Config32.bat

sjhawar

@SET MSVCFolder="C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.32.31326\bin\Hostx64\x64"

CALL "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat" x64

@SET BCX=C:\BCX\Bin


I have the above 3 lines.

MrBcx

Quote from: sjhawar on October 06, 2022, 04:00:46 PM
Success using another GUI sample file. See attached screenshot.
However,  the screenshot shows this error: "'SET BCX' is not recognized as an internal or external command.
How to get rid of this 'SET BCX' is not recognized error?

It appears you've changed something incorrectly inside the Config64.bat

Check that file and ensure it correctly has this line:

@SET BCX=C:\BCX\Bin

sjhawar

>I recreated your project verbatim, translated, compiled, and ran it ... no problems.   See my attached scrnshot:

Your screenshot shows success but my attached screenshot shows failed. I wonder what causes this issue?

sjhawar

Success using another GUI sample file. See attached screenshot.
However,  the screenshot shows this error: "'SET BCX' is not recognized as an internal or external command.
How to get rid of this 'SET BCX' is not recognized error?

MrBcx

#15
Quote from: sjhawar on October 06, 2022, 01:34:46 PM
See attached screenshot.

So ... I noticed that END EVENTS is not colorized (in your screenshot) which seems strange.

When editing your code, you MUST save changes before attempting to build your app.

Do you have the current version of BED installed?  -->>   https://bcxbasiccoders.com/smf/index.php?topic=420.0

I recreated your project verbatim, translated, compiled, and ran it ... no problems.   See my attached scrnshot: