diff dwt/DWT.d @ 78:b00303c762ac

successfully linked
author Frank Benoit <benoit@tionex.de>
date Tue, 05 Feb 2008 20:28:19 +0100
parents 41dbc4d9faab
children 00a333240696
line wrap: on
line diff
--- a/dwt/DWT.d	Tue Feb 05 14:31:31 2008 +0100
+++ b/dwt/DWT.d	Tue Feb 05 20:28:19 2008 +0100
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/*******************************************************************************
  * Copyright (c) 2000, 2007 IBM Corporation and others.
  * All rights reserved. This program and the accompanying materials
  * are made available under the terms of the Eclipse Public License v1.0
@@ -21,6 +21,20 @@
 
 import tango.core.Exception;
 
+version(build){
+    pragma(link, "advapi32");
+    pragma(link, "comctl32");
+    pragma(link, "gdi32");
+    pragma(link, "kernel32");
+    pragma(link, "shell32");
+    pragma(link, "ole32");
+    pragma(link, "user32");
+    pragma(link, "usp10");
+    pragma(link, "msimg32");
+    //pragma(link, "gdiplus"); // load dynamic
+    //pragma(link, "uxtheme"); // load dynamic
+}
+
 /**
  * This class provides access to a small number of DWT system-wide
  * methods, and in addition defines the public constants provided