2010-04-02 112 views

回答

1

是的,包括在內,因爲3.0,無疑支持WPF。證據is here。複製到c:\ windows \ system32 \ rgb9rast.dll

+0

對我來說它被命名爲rgb9rast_2.dll。我想知道是否有一種可靠的方式來加載這個DLL而不指定它的文件名? – 2010-04-02 20:03:29

+0

更好的參考可能是http://blogs.msdn.com/astebner/archive/2008/07/13/8729636.aspx。他引用%WINDIR%\ system32 \ rgb9rast_2.dll – 2010-04-02 20:08:52

+0

我已經使用下面的軟件加載了這個軟件:IntPtr rasterizer = LoadLibrary(「rgb9rast_2.dll」); – 2010-04-21 15:59:34

1
// Perform a LoadLibrary of the Microsoft Software Rasterizer... 
HMODULE hRast = LoadLibrary(szPath + CString("\\RGB9Rast.dll")); 
if(!hRast) { 
    hRast = LoadLibrary(szPath + CString("\\RGB9Rast_1.dll")); 
    if(!hRast) { 
     hRast = LoadLibrary(szPath + CString("\\RGB9Rast_2.dll")); 
     if(!hRast) 
      return FALSE; 
    } 
} 
+0

你從哪裏獲得這段代碼? – 2010-10-04 18:59:13

+0

它與此處找到的代碼類似:http://svn.alleg.net/svn/Allegiance/branch/FAZR6/src/engine/D3DDevice9.cpp – 2011-05-26 17:37:00