OldSchoolHack

Register / Login English

User Search: Tsumba

Search-Information
Tsumba
Threads
Thread Forum Last Post Posts Views
icon

Go to first new post [Help] OSHGui Renderer Einbindungs Problem in das Projekt / D3DX11Effects Posted on: Tue 26. Apr 2016, 23:15

Tsumba

preview Preview

Go To Post

Hallo,

ich wollte euren OSHGui Renderer in meinen Projekt einbinden, ich habe ja auch das Example für DX9 gesehen, für 9-10 geht alles.
Nur bei DX11 bekomme ich Probleme mit der Effects.lib ein paar Fehler die ich einfach nicht loswerde.
TEXT Code:
  1. 2>D3DX11Effects.lib(d3dxGlobal.obj) : error LNK2005: "void __cdecl operator delete(void *,class CDataBlockStore &)" (??3@YAXPAXAAVCDataBlockStore@@@Z) ist bereits in D3DX11Effects.lib(EffectAPI.obj) definiert.
  2. 2>D3DX11Effects.lib(d3dxGlobal.obj) : error LNK2005: "void * __cdecl operator new(unsigned int,class CDataBlockStore &)" (??2@YAPAXIAAVCDataBlockStore@@@Z) ist bereits in D3DX11Effects.lib(EffectAPI.obj) definiert.
  3. 2>D3DX11Effects.lib(EffectNonRuntime.obj) : error LNK2005: "void __cdecl operator delete(void *,class CDataBlockStore &)" (??3@YAXPAXAAVCDataBlockStore@@@Z) ist bereits in D3DX11Effects.lib(EffectAPI.obj) definiert.
  4. 2>D3DX11Effects.lib(EffectNonRuntime.obj) : error LNK2005: "void * __cdecl operator new(unsigned int,class CDataBlockStore &)" (??2@YAPAXIAAVCDataBlockStore@@@Z) ist bereits in D3DX11Effects.lib(EffectAPI.obj) definiert.
  5. 2>D3DX11Effects.lib(EffectLoad.obj) : error LNK2005: "void __cdecl operator delete(void *,class CDataBlockStore &)" (??3@YAXPAXAAVCDataBlockStore@@@Z) ist bereits in D3DX11Effects.lib(EffectAPI.obj) definiert.
  6. 2>D3DX11Effects.lib(EffectLoad.obj) : error LNK2005: "void * __cdecl operator new(unsigned int,class CDataBlockStore &)" (??2@YAPAXIAAVCDataBlockStore@@@Z) ist bereits in D3DX11Effects.lib(EffectAPI.obj) definiert.
  7. 2>D3DX11Effects.lib(EffectReflection.obj) : error LNK2005: "void __cdecl operator delete(void *,class CDataBlockStore &)" (??3@YAXPAXAAVCDataBlockStore@@@Z) ist bereits in D3DX11Effects.lib(EffectAPI.obj) definiert.
  8. 2>D3DX11Effects.lib(EffectReflection.obj) : error LNK2005: "void * __cdecl operator new(unsigned int,class CDataBlockStore &)" (??2@YAPAXIAAVCDataBlockStore@@@Z) ist bereits in D3DX11Effects.lib(EffectAPI.obj) definiert.
  9. 2>D3DX11Effects.lib(EffectRuntime.obj) : error LNK2005: "void __cdecl operator delete(void *,class CDataBlockStore &)" (??3@YAXPAXAAVCDataBlockStore@@@Z) ist bereits in D3DX11Effects.lib(EffectAPI.obj) definiert.
  10. 2>D3DX11Effects.lib(EffectRuntime.obj) : error LNK2005: "void * __cdecl operator new(unsigned int,class CDataBlockStore &)" (??2@YAPAXIAAVCDataBlockStore@@@Z) ist bereits in D3DX11Effects.lib(EffectAPI.obj) definiert.
Hoffe ihr könnt mir helfen das Problem zu beseitigen.
Wie gesagt die Libs die Dabei waren Compiled und als Lib eingefügt sowie als Pfad und als Eingabe im Linker.

Mfg Tsumba
VB, C/C++, Delphi, etc

Fri 6. May 2016, 12:43

by Tsumba Go to last post
13 951
icon

Go to first new post [Help] OSHGui Renderer Einbindungs Problem in das Projekt / D3DX11Effects Posted on: Tue 26. Apr 2016, 23:15

Tsumba

preview Preview

Go To Post

Also ich habe ein Projekt indem ich dx9-11 dynamisch hooke.
Da habe ich die DllMain und die Hooks, mit einer external void die ich dann später im end Projekt benutze.Das hook Projekt habe ich als Lib compiled und in meinen end Projekt  eingebunden. Da habe ich dann nur zwei Funktionen einmal IniCustomGameHooks und OnFrame.
Und dort habe ich auch die Effecs eingebunden, dann holt sich das End Projekt sich die DllMain und die Hooks aus der Lib, so dass ich für neue Games nur zwei Funktionen verändern muss.
http://i.epvpimg.com/lOwAg.jpg
VB, C/C++, Delphi, etc

Fri 6. May 2016, 12:43

by Tsumba Go to last post
13 951
icon

Go to first new post [Help] OSHGui Renderer Einbindungs Problem in das Projekt / D3DX11Effects Posted on: Tue 26. Apr 2016, 23:15

Tsumba

preview Preview

Go To Post

Mhh,

hab gerade in deinen Test Projekt den Renderer DX11 mit eingebunden, bekomme genau wieder den selben Fehler das der CDataBlockStore bereits definiert sei.
Habe dann mal eine ältere Revision mir gezogen mit der klappt es.
Echt keine Ahnung woran es liegt.
VB, C/C++, Delphi, etc

Fri 6. May 2016, 12:43

by Tsumba Go to last post
13 951
icon

Go to first new post [Help] OSHGui Renderer Einbindungs Problem in das Projekt / D3DX11Effects Posted on: Tue 26. Apr 2016, 23:15

Tsumba

preview Preview
VB, C/C++, Delphi, etc

Fri 6. May 2016, 12:43

by Tsumba Go to last post
13 951
icon

Go to first new post [Help] OSHGui Renderer Einbindungs Problem in das Projekt / D3DX11Effects Posted on: Tue 26. Apr 2016, 23:15

Tsumba

preview Preview

Go To Post

Alles klar danke.
Sauber geht auch alles. Habe nur eine Frage was bevorzugst du MT oder MT-DLL ? Nur habe ich mal gehört MT-DLL vermeidet Probleme etc. Sowie gibt eine Möglichkeit die Form Klasse extern anzulegen ?
Habe sowas Probiert :
TEXT Code:
  1. extern class MenuGui : OSHGui::Form;
VB, C/C++, Delphi, etc

Fri 6. May 2016, 12:43

by Tsumba Go to last post
13 951
Downloads
No downloads found.