Skocz do zawartości
  • 👋 Witaj na MPCForum!

    Przeglądasz forum jako gość, co oznacza, że wiele świetnych funkcji jest jeszcze przed Tobą! 😎

    • Pełny dostęp do działów i ukrytych treści
    • Możliwość pisania i odpowiadania w tematach
    • System prywatnych wiadomości
    • Zbieranie reputacji i rozwijanie swojego profilu
    • Członkostwo w jednej z największych społeczności graczy

    👉 Dołączenie zajmie Ci mniej niż minutę – a zyskasz znacznie więcej!

    Zarejestruj się teraz

[Problem] Z C++, pomożecie?


p3i2o1

Rekomendowane odpowiedzi

Opublikowano

No próbuje wgrać te pluginy z poradniku muter'a. Lecz cuś nie tak. Więcej na SS.

Lecą plusy i minusy...

 

Windows 7 64 Bit.

Visual C++ 2010 Express.

 

przechwytywanierd.jpg

Opublikowano

Próbujesz wgrać bibliotekę d3d tak ??? te SDK 2009 summer ???

 

dodać do projektu d3d9 i d3dx9 ?

O co chodzi z tym programowaniem? Gdy programujesz, uczysz najprawdopodobniej najgłupszą rzecz na świecie, czyli komputer, jak ma coś zrobić.

Opublikowano

To robisz tak

 

1. szukasz w program files tego >>> Microsoft DirectX 9.0 SDK (Summer 2004)

 

2. wchodzisz

 

3. szukasz folderu LIB

 

4. wchodzisz

 

5. potem wchodzisz w x64 czyli dla 64 bit

 

6. szukasz d3d9 i d3dx9 kopiujesz i wklejasz do folderu z bazą d3d

 

7 odpalasz baze zmieniasz z debug na relase klikasz OK i wszystko powinno śmigać

 

jeśli nie wiesz gdzie to zrobić debug - relase napisz

O co chodzi z tym programowaniem? Gdy programujesz, uczysz najprawdopodobniej najgłupszą rzecz na świecie, czyli komputer, jak ma coś zrobić.

Opublikowano

Zrobiłem jak kazałeś, i:

 

1>------ Build started: Project: CyberRazzer Privat, Configuration: Release Win32 ------
1>  ADE32.cpp
1>  base.cpp
1>base.cpp(4): fatal error C1083: Cannot open include file: 'd3dx9.h': No such file or directory
1>  d3dmenu.cpp
1>c:\users\dom'\documents\visual studio 2010\projects\nowy folder1\d3dmenu.h(7): fatal error C1083: Cannot open include file: 'd3dx9.h': No such file or directory
1>  Generating Code...
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Opublikowano

Ja właśnie miałem takie błędy i wystarczyło że wrzuciłem d3dx9 do folderu z bazą i już było OK ale czy na 100% zmieniłeś z debug na relase bo jeśli nie to ten błąd ma prawo wyskakiwać

 

masz skeypa ?

O co chodzi z tym programowaniem? Gdy programujesz, uczysz najprawdopodobniej najgłupszą rzecz na świecie, czyli komputer, jak ma coś zrobić.

Opublikowano

No oczywiście że mam skeypa: popej1232

 

Ale teraz spadam i będę dopiero około 15:00...

Opublikowano

@UP zrób też tak bo brakuje ci pliku d3dx9.h :

1. Znajdź Microsoft DirectX 9.0 SDK (Summer 2004) Domyślnie C:\Program Files\Microsoft DirectX 9.0 SDK (Summer 2004) chyba że masz system 64 bitowy to C:\Program Files (x86)\Microsoft DirectX 9.0 SDK (Summer 2004)

2. Wejdź do tego folderu

3. Znajdź folder Include

4. Otwórz ten folder

5. Znajdź d3dx9.h kopiujesz i wklejasz do folderu z bazą d3d

Ale bardzie opłaca się pobrać Visual C++ 2008 lepsze do pisania cheatów

16359.png

34922.jpg

31019.png

Opublikowano

Taa...

 

1>------ Build started: Project: CyberRazzer Privat, Configuration: Release Win32 ------
1>  base.cpp
1>base.cpp(4): fatal error C1083: Cannot open include file: 'd3dx9.h': No such file or directory
1>  d3dmenu.cpp
1>c:\users\dom'\documents\visual studio 2010\projects\nowy folder1\d3dmenu.h(7): fatal error C1083: Cannot open include file: 'd3dx9.h': No such file or directory
1>  Generating Code...
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Opublikowano

A może spróbuj pobrać Visual C++ 2008 <- ja go mam, mam Windows 7 64bit i normalnie działa wszystko

Jeżeli uważasz że mój post Ci pomógł daj |LIKE IT|

Opublikowano

Skopiować i wkleić tego co trzeba nie wystarczy...

A zincludowałes to ?? Pewnie nie...

#include <d3d9.h>
#include <d3dx9.h>

Jak będziesz mieć nadal błąd to jeszcze to:

#pragma comment(lib, "d3d9.lib")
#pragma comment(lib, "D3DX9.LIB")

Opublikowano

VC++ 2010 nie obsługuje już możliwości dodawania ścieżek do bibliotek dla wszystkich projektów - trzeba to robić dla każdego osobno.

Najpierw stwórz projekt, a następnie w okienku solution explorer(tam, gdzie są pliki projektu, typu main.cpp, itd) ppm na nazwie projektu -> properties -> configuration properties -> VC++ Directories i tam już dodaj folder include oraz lib.

Opublikowano

Dobra, pobrałem C++ 2008, zainstalowałem i wgrałem te Includy i Librar'y. CyberRazzer... teraz tyle...

 

1>------ Build started: Project: CyberRazzer Privat, Configuration: Debug Win32 ------
1>Linking...
1>base.obj : error LNK2019: unresolved external symbol __imp__GetAsyncKeyState@4 referenced in function "void __cdecl hackengine(void)" (?hackengine@@YAXXZ)
1>d3dmenu.obj : error LNK2001: unresolved external symbol __imp__GetAsyncKeyState@4
1>base.obj : error LNK2019: unresolved external symbol __imp__DestroyWindow@4 referenced in function "void * __cdecl D3Ddiscover(void *,int)" (?D3Ddiscover@@YAPAXPAXH@Z)
1>base.obj : error LNK2019: unresolved external symbol __imp__ShowWindow@8 referenced in function "void * __cdecl D3Ddiscover(void *,int)" (?D3Ddiscover@@YAPAXPAXH@Z)
1>base.obj : error LNK2019: unresolved external symbol __imp__CreateWindowExA@48 referenced in function "void * __cdecl D3Ddiscover(void *,int)" (?D3Ddiscover@@YAPAXPAXH@Z)
1>d3dmenu.obj : error LNK2019: unresolved external symbol __imp__SetRect@20 referenced in function "public: void __thiscall D3D9Menu::DrawTextR(int,int,unsigned long,char *,struct ID3DXFont *)" (?DrawTextR@D3D9Menu@@QAEXHHKPADPAUID3DXFont@@@Z)
1>D3DX9.LIB(cfont.obj) : error LNK2019: unresolved external symbol __imp__GetObjectA@12 referenced in function "public: virtual long __stdcall D3DXCore::CFont::GetDescA(struct _D3DXFONT_DESCA *)" (?GetDescA@CFont@D3DXCore@@UAGJPAU_D3DXFONT_DESCA@@@Z)
1>D3DX9.LIB(cfont.obj) : error LNK2019: unresolved external symbol __imp__GetObjectW@12 referenced in function "public: virtual long __stdcall D3DXCore::CFont::GetDescW(struct _D3DXFONT_DESCW *)" (?GetDescW@CFont@D3DXCore@@UAGJPAU_D3DXFONT_DESCW@@@Z)
1>D3DX9.LIB(cfont.obj) : error LNK2019: unresolved external symbol __imp__GetTextMetricsA@8 referenced in function "public: virtual int __stdcall D3DXCore::CFont::GetTextMetricsA(struct tagTEXTMETRICA *)" (?GetTextMetricsA@CFont@D3DXCore@@UAGHPAUtagTEXTMETRICA@@@Z)
1>D3DX9.LIB(cfont.obj) : error LNK2019: unresolved external symbol __imp__GetGlyphOutlineA@28 referenced in function "private: int __thiscall D3DXCore::CFont::ValidGlyph(unsigned int)" (?ValidGlyph@CFont@D3DXCore@@AAEHI@Z)
1>D3DX9.LIB(cfont.obj) : error LNK2019: unresolved external symbol __imp__CreateDIBSection@24 referenced in function "private: struct HBITMAP__ * __thiscall D3DXCore::CFont::CreateBitmap(struct tagSIZE const *,struct tagRGBQUAD * *)" (?CreateBitmap@CFont@D3DXCore@@AAEPAUHBITMAP__@@PBUtagSIZE@@PAPAUtagRGBQUAD@@@Z)
1>D3DX9.LIB(cfont.obj) : error LNK2019: unresolved external symbol __imp__DeleteDC@4 referenced in function "public: __thiscall D3DXCore::CFont::~CFont(void)" (??1CFont@D3DXCore@@QAE@XZ)
1>D3DX9.LIB(cfont.obj) : error LNK2019: unresolved external symbol __imp__DeleteObject@4 referenced in function "public: __thiscall D3DXCore::CFont::~CFont(void)" (??1CFont@D3DXCore@@QAE@XZ)
1>D3DX9.LIB(cresource.obj) : error LNK2001: unresolved external symbol __imp__DeleteObject@4
1>D3DX9.LIB(cfont.obj) : error LNK2019: unresolved external symbol __imp__SelectObject@8 referenced in function "public: __thiscall D3DXCore::CFont::~CFont(void)" (??1CFont@D3DXCore@@QAE@XZ)
1>D3DX9.LIB(cfont.obj) : error LNK2019: unresolved external symbol __imp__GetCharacterPlacementA@24 referenced in function "public: long __thiscall D3DXCore::CFont::Initialize(struct IDirect3DDevice9 *,void const *,int)" (?Initialize@CFont@D3DXCore@@QAEJPAUIDirect3DDevice9@@PBXH@Z)
1>D3DX9.LIB(cfont.obj) : error LNK2019: unresolved external symbol __imp__GetCharacterPlacementW@24 referenced in function "public: long __thiscall D3DXCore::CFont::Initialize(struct IDirect3DDevice9 *,void const *,int)" (?Initialize@CFont@D3DXCore@@QAEJPAUIDirect3DDevice9@@PBXH@Z)
1>D3DX9.LIB(cfont.obj) : error LNK2019: unresolved external symbol __imp__SetTextColor@8 referenced in function "public: long __thiscall D3DXCore::CFont::Initialize(struct IDirect3DDevice9 *,void const *,int)" (?Initialize@CFont@D3DXCore@@QAEJPAUIDirect3DDevice9@@PBXH@Z)
1>D3DX9.LIB(cfont.obj) : error LNK2019: unresolved external symbol __imp__SetBkColor@8 referenced in function "public: long __thiscall D3DXCore::CFont::Initialize(struct IDirect3DDevice9 *,void const *,int)" (?Initialize@CFont@D3DXCore@@QAEJPAUIDirect3DDevice9@@PBXH@Z)
1>D3DX9.LIB(cfont.obj) : error LNK2019: unresolved external symbol __imp__SetBkMode@8 referenced in function "public: long __thiscall D3DXCore::CFont::Initialize(struct IDirect3DDevice9 *,void const *,int)" (?Initialize@CFont@D3DXCore@@QAEJPAUIDirect3DDevice9@@PBXH@Z)
1>D3DX9.LIB(cfont.obj) : error LNK2019: unresolved external symbol __imp__GetTextMetricsW@8 referenced in function "public: long __thiscall D3DXCore::CFont::Initialize(struct IDirect3DDevice9 *,void const *,int)" (?Initialize@CFont@D3DXCore@@QAEJPAUIDirect3DDevice9@@PBXH@Z)
1>D3DX9.LIB(cfont.obj) : error LNK2019: unresolved external symbol __imp__GetFontLanguageInfo@4 referenced in function "public: long __thiscall D3DXCore::CFont::Initialize(struct IDirect3DDevice9 *,void const *,int)" (?Initialize@CFont@D3DXCore@@QAEJPAUIDirect3DDevice9@@PBXH@Z)
1>D3DX9.LIB(cfont.obj) : error LNK2019: unresolved external symbol __imp__CreateFontIndirectA@4 referenced in function "public: long __thiscall D3DXCore::CFont::Initialize(struct IDirect3DDevice9 *,void const *,int)" (?Initialize@CFont@D3DXCore@@QAEJPAUIDirect3DDevice9@@PBXH@Z)
1>D3DX9.LIB(cfont.obj) : error LNK2019: unresolved external symbol __imp__CreateFontIndirectW@4 referenced in function "public: long __thiscall D3DXCore::CFont::Initialize(struct IDirect3DDevice9 *,void const *,int)" (?Initialize@CFont@D3DXCore@@QAEJPAUIDirect3DDevice9@@PBXH@Z)
1>D3DX9.LIB(cfont.obj) : error LNK2019: unresolved external symbol __imp__SetTextAlign@8 referenced in function "public: long __thiscall D3DXCore::CFont::Initialize(struct IDirect3DDevice9 *,void const *,int)" (?Initialize@CFont@D3DXCore@@QAEJPAUIDirect3DDevice9@@PBXH@Z)
1>D3DX9.LIB(cfont.obj) : error LNK2019: unresolved external symbol __imp__SetMapMode@8 referenced in function "public: long __thiscall D3DXCore::CFont::Initialize(struct IDirect3DDevice9 *,void const *,int)" (?Initialize@CFont@D3DXCore@@QAEJPAUIDirect3DDevice9@@PBXH@Z)
1>D3DX9.LIB(cfont.obj) : error LNK2019: unresolved external symbol __imp__CreateCompatibleDC@4 referenced in function "public: long __thiscall D3DXCore::CFont::Initialize(struct IDirect3DDevice9 *,void const *,int)" (?Initialize@CFont@D3DXCore@@QAEJPAUIDirect3DDevice9@@PBXH@Z)
1>D3DX9.LIB(cfont.obj) : error LNK2019: unresolved external symbol __imp__ExtTextOutA@32 referenced in function "private: long __thiscall D3DXCore::CFont::Preload(unsigned short const *,int,struct D3DXCore::_D3DXFONT_CELL * *)" (?Preload@CFont@D3DXCore@@AAEJPBGHPAPAU_D3DXFONT_CELL@2@@Z)
1>D3DX9.LIB(cfont.obj) : error LNK2019: unresolved external symbol __imp__MoveToEx@16 referenced in function "private: long __thiscall D3DXCore::CFont::Preload(unsigned short const *,int,struct D3DXCore::_D3DXFONT_CELL * *)" (?Preload@CFont@D3DXCore@@AAEJPBGHPAPAU_D3DXFONT_CELL@2@@Z)
1>D3DX9.LIB(cfont.obj) : error LNK2019: unresolved external symbol __imp__ExtTextOutW@32 referenced in function "private: long __thiscall D3DXCore::CFont::Preload(unsigned short const *,int,struct D3DXCore::_D3DXFONT_CELL * *)" (?Preload@CFont@D3DXCore@@AAEJPBGHPAPAU_D3DXFONT_CELL@2@@Z)
1>D3DX9.LIB(d3dx9dbg.obj) : error LNK2019: unresolved external symbol __imp__RegCloseKey@4 referenced in function "int __stdcall GetD3DRegValue(unsigned long,char *,void *,unsigned long)" (?GetD3DRegValue@@YGHKPADPAXK@Z)
1>D3DX9.LIB(cpudetect.obj) : error LNK2001: unresolved external symbol __imp__RegCloseKey@4
1>D3DX9.LIB(d3dx9dbg.obj) : error LNK2019: unresolved external symbol __imp__RegQueryValueExA@24 referenced in function "int __stdcall GetD3DRegValue(unsigned long,char *,void *,unsigned long)" (?GetD3DRegValue@@YGHKPADPAXK@Z)
1>D3DX9.LIB(cpudetect.obj) : error LNK2001: unresolved external symbol __imp__RegQueryValueExA@24
1>D3DX9.LIB(d3dx9dbg.obj) : error LNK2019: unresolved external symbol __imp__RegOpenKeyA@12 referenced in function "int __stdcall GetD3DRegValue(unsigned long,char *,void *,unsigned long)" (?GetD3DRegValue@@YGHKPADPAXK@Z)
1>D3DX9.LIB(cpudetect.obj) : error LNK2001: unresolved external symbol __imp__RegOpenKeyA@12
1>.\Debug/Release.dll : fatal error LNK1120: 31 unresolved externals
1>Build log was saved at "file://c:\Users\Dom'\Documents\Visual Studio 2008\Projects\p0p3j h4nd3r D3D\Debug\BuildLog.htm"
1>CyberRazzer Privat - 37 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

 

EDIT: Uzyskałem pomocy od daniel_biały, lecą do niego plusiki. Zapomniałem w wersji 2008 zmienić z Debug na Relase. Temat do zamknięcia, i kosz...

Zarchiwizowany

Ten temat przebywa obecnie w archiwum. Dodawanie nowych odpowiedzi zostało zablokowane.

×
×
  • Dodaj nową pozycję...