flat assembler
Message board for the users of flat assembler.
Index
> Windows > WinInet functions example |
Author |
|
bitRAKE 09 Jul 2009, 23:53
Maybe I can adapt this to mirror some folders at ftp://download.intel.com
It is nice to have the latest manuals here locally. |
|||
09 Jul 2009, 23:53 |
|
windwakr 10 Jul 2009, 01:19
Nice program
bitRAKE, where are the manuals located on the ftp? EDIT: Thanks. Last edited by windwakr on 10 Jul 2009, 04:04; edited 1 time in total |
|||
10 Jul 2009, 01:19 |
|
bitRAKE 10 Jul 2009, 04:01
\design\processor\manual\
|
|||
10 Jul 2009, 04:01 |
|
bitRAKE 10 Jul 2009, 04:04
\design\processor\manual\
*Use "dir.txt" in the root to find other files - it is updated daily. |
|||
10 Jul 2009, 04:04 |
|
Picnic 11 Jul 2009, 21:52
Hi guys,
I just noticed that invoke has to be replaced by cinvoke I'm surprised it don't crash. Code: ; /// Sets the title bar string for the current Console invoke wsprintf, Buffer, <'Downloaded %d bytes so far..'>, [dwTotalBytes] |
|||
11 Jul 2009, 21:52 |
|
LocoDelAssembly 11 Jul 2009, 22:39
Because for every 4 KB chunk you loose only 12 bytes of stack space. Perhaps you never tried with a long enough file.
|
|||
11 Jul 2009, 22:39 |
|
Picnic 11 Jul 2009, 23:32
Hi LocoDelAssembly,
I tested some mp3 files few mb each. |
|||
11 Jul 2009, 23:32 |
|
LocoDelAssembly 12 Jul 2009, 03:34
Less than 10 MB? That would be around 30 KB of stack memory usage, far less than the amount of stack used in http://board.flatassembler.net/topic.php?p=96788#96788 to make the program crash (~240 KB).
BTW, of course that the code must be fixed, I'm just pointing out why you may not perceive any crash despite the bug |
|||
12 Jul 2009, 03:34 |
|
DimonSoft 12 Nov 2013, 18:07
Sorry for necroposting, but, Picnic, why do you need to create a connection thread if you wait for its completion anyway? It seems to be unnecessary, InternetConnect() can just be called in the main thread and nothing would have changed except that there would be no additional thread.
|
|||
12 Nov 2013, 18:07 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.