Author Topic: Bomz new topic.  (Read 4505 times)

bomz

  • Member
  • **
  • Posts: 115
Re: Bomz new topic.
« Reply #120 on: September 06, 2021, 04:35:10 AM »
if winhttp need windows 10 it is too much
may be possible compile with import winhttp function to application

impossible use windows 10 dll

bomz

  • Member
  • **
  • Posts: 115
Re: Bomz new topic.
« Reply #121 on: September 06, 2021, 11:20:21 AM »
windows 8 application wait for any stdin data here, windows 7 if no data application run without wait
Code: [Select]
invoke GetStdHandle,STD_INPUT_HANDLE
invoke ReadFile,ebx,esi,edi,addr _rb, 0

for windows 8 compatible
Code: [Select]
invoke CreateFile,addr ConIn,GENERIC_READ,FILE_SHARE_READ OR FILE_SHARE_WRITE,\
0,OPEN_EXISTING,FILE_FLAG_OVERLAPPED,0 ;FILE_FLAG_NO_BUFFERING

TouEnMasm

  • Member
  • *****
  • Posts: 1805
    • EditMasm
Re: Bomz new topic.
« Reply #122 on: September 06, 2021, 04:07:43 PM »
You can follow https://docs.microsoft.com/en-us/archive/msdn-magazine/2008/august/windows-with-c-asynchronous-winhttp
An update of the  .NET Framework is always possible.
 The more secure way is the asynchronous one and your cdownload proc use only the synchronous mode.
Fa is a musical note to play with CL

bomz

  • Member
  • **
  • Posts: 115
Re: Bomz new topic.
« Reply #123 on: September 06, 2021, 09:58:39 PM »
much easier use curl 7.5 mb than add 1.5 gigabyte to system, or make utility using sockets
I don't see difference how fail synchronous or asynchronous

TouEnMasm

  • Member
  • *****
  • Posts: 1805
    • EditMasm
Re: Bomz new topic.
« Reply #124 on: September 06, 2021, 11:35:12 PM »
 :angelic:
Quote
much easier ............
A right clic on the html page >>> save as [and you have the html page saved with a directory for ressources]
It's like that with win 10
 :biggrin:
Fa is a musical note to play with CL

bomz

  • Member
  • **
  • Posts: 115
Re: Bomz new topic.
« Reply #125 on: September 07, 2021, 12:54:34 AM »
I prefer just one click my TV console

TouEnMasm

  • Member
  • *****
  • Posts: 1805
    • EditMasm
Re: Bomz new topic.
« Reply #126 on: September 07, 2021, 01:37:01 AM »

Perhaps did you know how to do this:
Doing a search,you get a page with further links and comments .In the Bottom of the page there is number who indicate there is further other pages you can read.
I want to automatise the change of pages and made a resume of all that with only link.
I have searched in the page for 1,2,3 ...but don't find the element showing the 1,2,3 ...on the screen.
Any idea ?.
Fa is a musical note to play with CL

bomz

  • Member
  • **
  • Posts: 115
Re: Bomz new topic.
« Reply #127 on: September 07, 2021, 04:50:39 PM »
open download htm(php...) page in notepad
analyze it, when using vbs script or batch file automatize this process
pages codes changes recently so better use scripts for easy modification
like I do in file example. only for personal use, not for distribution
only for asm lovers
Code: [Select]
http://usplaylist.000webhostapp.com/playlist.m3uMedia Player Classic - Home Cinema
Perfect Player IPTV