Mercurial > projects > dwt2
comparison org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/internal/gdip/native.d @ 18:735224fcc45f
redirected all printings to DwtLogger
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Wed, 18 Mar 2009 09:57:53 +0100 |
parents | 6dd524f61e62 |
children | 4642ab680468 |
comparison
equal
deleted
inserted
replaced
17:6f068362a363 | 18:735224fcc45f |
---|---|
1679 void loadLib_Gdip(){ | 1679 void loadLib_Gdip(){ |
1680 if (auto lib = SharedLib.load(`gdiplus.dll`)) { | 1680 if (auto lib = SharedLib.load(`gdiplus.dll`)) { |
1681 foreach( inout s; symbols ){ | 1681 foreach( inout s; symbols ){ |
1682 *s.symbol = lib.getSymbol( s.name.ptr ); | 1682 *s.symbol = lib.getSymbol( s.name.ptr ); |
1683 if( s.symbol is null ){ | 1683 if( s.symbol is null ){ |
1684 getDwtLogger.error("gdiplus.dll: Symbol '{}' not found", s.name ); | 1684 getDwtLogger.error( __FILE__, __LINE__, "gdiplus.dll: Symbol '{}' not found", s.name ); |
1685 } | 1685 } |
1686 } | 1686 } |
1687 } else { | 1687 } else { |
1688 getDwtLogger.error("Could not load the library gdiplus.dll"); | 1688 getDwtLogger.error( __FILE__, __LINE__, "Could not load the library gdiplus.dll"); |
1689 } | 1689 } |
1690 } | 1690 } |
1691 | 1691 |
1692 } | 1692 } |
1693 | 1693 |