Skip to content

Commit 3595d9b

Browse files
committed
add spec/windows.dd
1 parent 6c72655 commit 3595d9b

File tree

3 files changed

+48
-1
lines changed

3 files changed

+48
-1
lines changed

spec/ob.dd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ $(H3 $(LNAME2 vargs, Variadic Function Arguments))
303303
$(P Arguments to variadic functions (such as `printf`) are considered to be consumed.
304304
)
305305

306-
$(SPEC_SUBNAV_PREV importc, ImportC)
306+
$(SPEC_SUBNAV_PREV_NEXT importc, ImportC, windows, Windows Programming)
307307
)
308308

309309
Macros:

spec/spec.dd

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ $(TOC Table of Contents,
5555
$(A betterc.html, Better C),
5656
$(A importc.html, Import C),
5757
$(A ob.html, Live Functions)
58+
$(A windows.html, Windows Programming)
5859
))
5960
)
6061

spec/windows.dd

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
Ddoc
2+
3+
$(SPEC_S Windows Programming,
4+
5+
$(HEADERNAV_TOC)
6+
7+
$(P This covers Windows programming with 32 bit OMF, 32 bit Mscoff,
8+
64 bit Mscoff, console programs, GUI programs, and DLLs.
9+
)
10+
11+
$(H2 $(LNAME2 mscoff, Windows 32 and 64 bit MSCOFF Programs))
12+
13+
$(P 32 bit and 64 bit MSCOFF programs use the Microsoft Visual C/C++ compiler as the Associated
14+
C Compiler, generate object files in the MSCOFF format, and use the Microsoft linker
15+
to link them.
16+
)
17+
18+
$(H3 $(LNAME2 mscoff-console, Console Programs))
19+
20+
$(H3 $(LNAME2 mscoff-windows, Windows GUI Programs))
21+
22+
$(H3 $(LNAME2 mscoff-dlls, DLLs))
23+
24+
$(H2 $(LNAME2 omf, Windows 32 bit OMF Programs))
25+
26+
$(P 32 bit OMF programs use the
27+
$(LINK2 https://www.digitalmars.com/download/freecompiler.html, Digital Mars C/C++ compiler)
28+
as the Associated C Compiler, generate object files in the OMF format, and use the
29+
$(LINK2 https://www.digitalmars.com/ctg/optlink.html, Optlink linker)
30+
to link them.
31+
)
32+
33+
$(H3 $(LNAME2 omf-console, Console Programs))
34+
35+
$(H3 $(LNAME2 omf-windows, Windows GUI Programs))
36+
37+
$(H3 $(LNAME2 omf-dlls, DLLs))
38+
39+
$(SPEC_SUBNAV_PREV ob, Live Functions)
40+
)
41+
42+
Macros:
43+
CHAPTER=43
44+
TITLE=Windows Programming
45+
CATEGORY_SPEC=$0
46+

0 commit comments

Comments
 (0)