- Main Page
- Packages
- Classes
- Files
- Related Pages

# skel.d File Reference

Skeleton program. More...

## Functions
void | gc_init ()
void | gc_term ()
void | _minit ()
void | _moduleCtor ()
void | _moduleUnitTests ()
int | WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow)
| The main entry point of a Windows D application.
int | doit ()
| The application-specific body of the application.

## Detailed Description

Skeleton program.

skel.d is a skeleton program for the creation of an SDWF application. It provides the necessary code to initialise and shut down the D runtime system in a Windows GUI application, and sample code to display a basic window with no functionality.

## Function Documentation

void _minit | ( |  | ) |

void _moduleCtor | ( |  | ) |

void _moduleUnitTests | ( |  | ) |

int doit | ( |  | ) |

The application-specific body of the application.

This would be changed to instantiate a programmer-defined class derived from Window (or possibly Dialog).

Returns:
  the application's exit code, i.e. the result of Application.run(). This is seldom meaningful, but should be returned anyway.

void gc_init | ( |  | ) |

void gc_term | ( |  | ) |

int WinMain | ( | HINSTANCE | hInstance,
|  | HINSTANCE | hPrevInstance,
|  | LPSTR | lpCmdLine,
|  | int | nCmdShow |
| ) |  |  |

The main entry point of a Windows D application.

Initialises the D runtime system and calls `doit`. This function can be used as is for most Windows applications.