crash,assert

For help with general CEGUI usage:
- Questions about the usage of CEGUI and its features, if not explained in the documentation.
- Problems with the CMAKE configuration or problems occuring during the build process/compilation.
- Errors or unexpected behaviour.

Moderators: CEGUI MVP, CEGUI Team

zzz822163
Just popping in
Just popping in
Posts: 4
Joined: Sun Jan 04, 2009 10:33

crash,assert

Postby zzz822163 » Thu Feb 12, 2009 09:33

Image
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_pCEGUIRender);
my project has only the two word about cegui....
what's wrong here?thanks.

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Postby CrazyEddie » Fri Feb 13, 2009 09:38

Hi,

Are you using the prebuilt VC++ 2005 SDK, but your own copy of VC++ 2005 does not have the VC++ 2005 SP1 applied?

Failing this, check the build configurations and make sure you're linking the correct debug or release libs (but not both at the same time).

HTH

CE.

zzz822163
Just popping in
Just popping in
Posts: 4
Joined: Sun Jan 04, 2009 10:33

Postby zzz822163 » Sat Feb 14, 2009 05:06

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?

Pompei2
Home away from home
Home away from home
Posts: 489
Joined: Tue May 23, 2006 16:31

Postby Pompei2 » Sun Feb 15, 2009 21:19

Maybe the game is linked with C Runtime library Multithreaded and the DirectX demos are linked with C Runtime library not multithreaded, or something like that. Try to compile your dll with different options.


Return to “Help”

Who is online

Users browsing this forum: No registered users and 26 guests