The MASM Forum

Projects => Rarely Used Projects => GoAsm => Topic started by: shankle on August 02, 2020, 08:34:50 AM

Title: sdk
Post by: shankle on August 02, 2020, 08:34:50 AM
                 8-1-2020

Stats: Windows 10 pro 64 bit, GoAsm

Read through all the GoAsm documentation and could
not find any reference to windows.h or include
or #include.
I am new to windows 10 and came from windows 7.
My programs worked there.
I assumed that windows.h, SDK would be taken care of
by the addition of Windows 10.
I have never updated an SDK or the header files.
I feel that this is why a program that I am working
will not compile.
Thanks for any help.
Title: Re: sdk
Post by: Vortex on August 02, 2020, 07:17:23 PM
Hi shankle,

You could try Donkey's header file set :

http://www.easycode.cat/English/GoTools.htm

Download the latest version of the GoAsm Headers (https://1drv.ms/u/s!AtgCy-XywfO-hswt7RlbeWTxBgjjww)
Title: Re: sdk
Post by: shankle on August 03, 2020, 12:58:16 AM
Many thanks Vortex.
Got The headers files up to date now.
The ECGO was blocked by Google Chrome - ECGO is dangerous so Chrome has blocked it.
How can I get around that?
Title: Re: sdk
Post by: wjr on August 03, 2020, 02:09:32 AM
You would not necessarily need ECGO if you already have the GoTools, or get them individually from Jeremy's website. 

Most likely correct on no reference to windows.h, but the GoAsm help file "Alphabetical Index" does have something under "#include...".
Title: Re: sdk
Post by: Vortex on August 03, 2020, 05:22:55 AM
Hi shankle,

QuoteThe ECGO was blocked by Google Chrome - ECGO is dangerous so Chrome has blocked it.

That must be a false positive.
Title: Re: sdk
Post by: rsala on August 03, 2020, 06:37:42 PM
Hi shankle,

I do not know why Google Chrome blocks ECGO since it is absolutely clean. Try to download it with Firefox.
Title: Re: sdk
Post by: Vortex on August 03, 2020, 06:53:20 PM
Hello shankle,

You can use wget to download files from command-line :

https://eternallybored.org/misc/wget/

wget http://www.godevtool.com/ECGo.zip
Title: Re: sdk
Post by: jj2007 on August 03, 2020, 09:13:10 PM
No problem here:

include \masm32\MasmBasic\MasmBasic.inc
  Init
  Open "O", #1, "ECGo.zip"
  Print #1:LastFileSize, FileRead$("http://www.godevtool.com/ECGo.zip")
  Close
  .if Exist("ECGo.zip")
ShEx "ECGo.zip"
  .else
MsgBox 0, "Download failed", "Hi", MB_OK
  .endif
EndOfCode


Extract the exe to a folder and run it.
Title: Re: sdk
Post by: Vortex on August 04, 2020, 05:12:27 AM
Downloading files with VBS :

https://gist.github.com/Richienb/51021a1c16995a07478dfa20a6db725c
Title: Re: sdk
Post by: shankle on August 04, 2020, 08:42:30 AM
Thanks for responding guys.
I tried jj2007s example and it gave another warning message.

Microsoft defender smart screen flagged getecgo.exe as an unrecognized app.
Title: Re: sdk
Post by: jj2007 on August 04, 2020, 09:04:11 AM
M$ defender recognises only "apps" that bring money to M$. But you should be able to ignore defender, usually by clicking "more info" or whatever (https://tweaklibrary.com/how-to-ignore-the-smartscreen-filter-in-windows-10-and-install-unrecognized-apps/).

My exe cannot give a warning message. It can only show a MsgBox 0, "Download failed", "Hi", MB_OK - if that happens, it is most probably your firewall blocking downloads in general, or this application in particular. Check your firewall settings, maybe you granted download permission only to your browser.

See https://stackoverflow.com/questions/48946680/how-to-avoid-the-windows-defender-smartscreen-prevented-an-unrecognized-app-fro for details.

Or, even better: https://stackoverflow.com/questions/63107306/how-to-prevent-windows-security-unrecognized-app-warning-for-my-application
QuoteYou are signing with a Standard Code Signing Certificate and you need to sign with an Extended Validation Code Signing Certificate. With EV we skip the bridging trust part and get straight to trusting the author or corporation behind your executable. Last time I remember, the cost was over 400 usd.
Title: Re: sdk
Post by: shankle on August 04, 2020, 11:00:21 AM
Thanks Guys,
I temporarily turned off windows defender then ECGO worked.
Lord what a hassle.........
Now to test these changes with my program.
Title: Re: sdk
Post by: shankle on August 06, 2020, 10:24:34 AM
I am trying to install the latest SDK.
19041.1.191206-1406.vb_release_windowssdk.iso
I downloaded this file from a Microsoft sight to
a file on my computer.
AS far as I can tell it downloaded successfully

Here is the error message I get when I try to execute
one of the files near the beginning of the execution of
Windows performance toolkit.
Download did not complete successfully.
An error occurred while downloading Windows performance
toolkit.

error information.
unable to verify the integrity of download content - it might
be corrupted.

One would think a download from Microsoft would not be corrupt.
I think it has something to do with the way I processed the ISO file.
Title: Re: sdk
Post by: Vortex on August 06, 2020, 04:09:23 PM
Hi shankle,

Quoteunable to verify the integrity of download content - it might
be corrupted.

Do you have the correct md5 value of the iso file?
Title: Re: sdk
Post by: TouEnMasm on August 06, 2020, 10:26:01 PM

7zip (Winzip) can read an iso file and put it in a directory.It's a thing to try.
Title: Re: sdk
Post by: shankle on August 10, 2020, 06:37:20 AM
Thanks for responding.
I have tried two different downloads of the sdk and they
both showed errors.
Don't know where to find MD5.