Author Topic: sdk  (Read 5097 times)

shankle

  • Member
  • ****
  • Posts: 868
sdk
« 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.

Vortex

  • Member
  • *****
  • Posts: 2768
Re: sdk
« Reply #1 on: August 02, 2020, 07:17:23 PM »

shankle

  • Member
  • ****
  • Posts: 868
Re: sdk
« Reply #2 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?

wjr

  • Member
  • **
  • Posts: 242
    • WJR's website
Re: sdk
« Reply #3 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...".

Vortex

  • Member
  • *****
  • Posts: 2768
Re: sdk
« Reply #4 on: August 03, 2020, 05:22:55 AM »
Hi shankle,

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

That must be a false positive.

rsala

  • Member
  • ***
  • Posts: 354
    • Easy Code
Re: sdk
« Reply #5 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.
EC coder

Vortex

  • Member
  • *****
  • Posts: 2768
Re: sdk
« Reply #6 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/

Code: [Select]
wget http://www.godevtool.com/ECGo.zip

jj2007

  • Member
  • *****
  • Posts: 13873
  • Assembly is fun ;-)
    • MasmBasic
Re: sdk
« Reply #7 on: August 03, 2020, 09:13:10 PM »
No problem here:

Code: [Select]
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.

Vortex

  • Member
  • *****
  • Posts: 2768
Re: sdk
« Reply #8 on: August 04, 2020, 05:12:27 AM »

shankle

  • Member
  • ****
  • Posts: 868
Re: sdk
« Reply #9 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.

jj2007

  • Member
  • *****
  • Posts: 13873
  • Assembly is fun ;-)
    • MasmBasic
Re: sdk
« Reply #10 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.

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
Quote
You 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.

shankle

  • Member
  • ****
  • Posts: 868
Re: sdk
« Reply #11 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.

shankle

  • Member
  • ****
  • Posts: 868
Re: sdk
« Reply #12 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.

Vortex

  • Member
  • *****
  • Posts: 2768
Re: sdk
« Reply #13 on: August 06, 2020, 04:09:23 PM »
Hi shankle,

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

Do you have the correct md5 value of the iso file?

TouEnMasm

  • Member
  • *****
  • Posts: 1764
    • EditMasm
Re: sdk
« Reply #14 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.
Fa is a musical note to play with CL