Skip to content

Commit

Permalink
Cleanup, and README corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
Trinitek committed Apr 19, 2017
1 parent ee0d30d commit 89914e7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ This example showcases a number of things:
## Description of Files
- `TaskDialogDemo.asm` -- the main code file
- `resources.rc` -- the resource script containing the demo dialog box definition and manifest
- `resource.h` -- produced by the resource compiler; exports a list of resource constants for use in a C program
- `resource.h` -- produced by VS2017; exports a list of resource constants for use in a C program
- `resource.inc` -- an adaptation of `resource.h` for use in `TaskDialogDemo.asm`
- `manifest.xml` -- the manifest file, required by Windows to enable visual styles

Expand Down
10 changes: 2 additions & 8 deletions TaskDialogDemo.asm
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

format PE64 console 6.0
format PE64 GUI 6.0
entry start

include "win64a.inc"
Expand Down Expand Up @@ -250,8 +250,6 @@ section '.text' code readable executable
[td_icon],\
td_result
; TODO
jmp .finishProcessed
.wmDestroy:
Expand Down Expand Up @@ -295,14 +293,10 @@ section '.idata' import data readable writeable

library kernel32,'KERNEL32.DLL',\
comctl32,'COMCTL32.DLL',\
user32,'USER32.DLL',\
msvcrt,'MSVCRT.DLL'
user32,'USER32.DLL'
include 'api/kernel32.inc'
include 'api/user32.inc'
include 'COMCTL32_TD_API.inc'
import msvcrt,\
printf,'printf'
section '.rsrc' data readable resource from 'resources.res'

0 comments on commit 89914e7

Please sign in to comment.