Search found 4 matches

by zzz822163
Sat Feb 14, 2009 05:06
Forum: Help
Topic: crash,assert
Replies: 3
Views: 2818

thanks your reply.I have the VC++ 2005 SP1 applied.
And I test the dll again,found that succeed in some application,but failed in other application.In other word,I have show gui in the some application(a game),but cause error in other application(directx demo).
So libs of link should be right?
by zzz822163
Thu Feb 12, 2009 09:33
Forum: Help
Topic: crash,assert
Replies: 3
Views: 2818

crash,assert

http://p.blog.csdn.net/images/p_blog_csdn_net/zzz822163/EntryImages/20090212/exception.PNG I want to show gui in the another application,so I Inject a dll,hook d3d function in the dll,meanwhile in MyDirect3DDevice9() m_pCEGUIRender = new CEGUI::DirectX9Renderer(m_device , 0); new CEGUI::System(m_pC...
by zzz822163
Wed Jan 07, 2009 09:17
Forum: Help
Topic: loadFromMemory donot use CEGUI::Texture::PF_RGB?
Replies: 1
Views: 1415

loadFromMemory donot use CEGUI::Texture::PF_RGB?

I get bitmap data: unsigned char *bitmapImage= (unsigned char *)bmp.bmBits; rttTexture->loadFromMemory(buffer,256, 256, CEGUI::Texture::PF_RGB ); but the picture is not right now,after I conver the data for (unsigned int src = 0, dst = 0; src < bi.biSizeImage; src +=3, dst +=4) { m_ListVideo[dex].da...
by zzz822163
Sun Jan 04, 2009 10:46
Forum: Help
Topic: how to convert LPDIRECT3DTEXTURE9 to CEGUI::Texture?
Replies: 1
Views: 2098

how to convert LPDIRECT3DTEXTURE9 to CEGUI::Texture?

use D3DXCreateTextureFromFile generate a LPDIRECT3DTEXTURE9 pointer,I want to use SetTexture() replace an old CEGUI::Texture . ex: CEGUI::Texture* rttTexture = m_pCEGUIRender->createTexture("1.bmp","imagesets"); LPDIRECT3DTEXTURE9 m_pText; D3DXCreateTextureFromFileInMemory( m_dev...

Go to advanced search