Skip to content

Commit 89914e7

Browse files
committed
Cleanup, and README corrections
1 parent ee0d30d commit 89914e7

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ This example showcases a number of things:
99
## Description of Files
1010
- `TaskDialogDemo.asm` -- the main code file
1111
- `resources.rc` -- the resource script containing the demo dialog box definition and manifest
12-
- `resource.h` -- produced by the resource compiler; exports a list of resource constants for use in a C program
12+
- `resource.h` -- produced by VS2017; exports a list of resource constants for use in a C program
1313
- `resource.inc` -- an adaptation of `resource.h` for use in `TaskDialogDemo.asm`
1414
- `manifest.xml` -- the manifest file, required by Windows to enable visual styles
1515

TaskDialogDemo.asm

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
format PE64 console 6.0
2+
format PE64 GUI 6.0
33
entry start
44

55
include "win64a.inc"
@@ -250,8 +250,6 @@ section '.text' code readable executable
250250
[td_icon],\
251251
td_result
252252
253-
; TODO
254-
255253
jmp .finishProcessed
256254
257255
.wmDestroy:
@@ -295,14 +293,10 @@ section '.idata' import data readable writeable
295293

296294
library kernel32,'KERNEL32.DLL',\
297295
comctl32,'COMCTL32.DLL',\
298-
user32,'USER32.DLL',\
299-
msvcrt,'MSVCRT.DLL'
296+
user32,'USER32.DLL'
300297
301298
include 'api/kernel32.inc'
302299
include 'api/user32.inc'
303300
include 'COMCTL32_TD_API.inc'
304301
305-
import msvcrt,\
306-
printf,'printf'
307-
308302
section '.rsrc' data readable resource from 'resources.res'

0 commit comments

Comments
 (0)