Click here to Skip to main content
15,892,674 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: System-Restore programatically Pin
Richard Deeming24-Aug-15 1:43
mveRichard Deeming24-Aug-15 1:43 
GeneralRe: System-Restore programatically Pin
Krishnakumartg24-Aug-15 2:01
Krishnakumartg24-Aug-15 2:01 
GeneralRe: System-Restore programatically Pin
Richard Deeming24-Aug-15 2:07
mveRichard Deeming24-Aug-15 2:07 
QuestionRe: System-Restore programatically Pin
David Crow24-Aug-15 6:37
David Crow24-Aug-15 6:37 
QuestionMFC Visual Studio Style Project cannot change title of FileView Pin
Member 853403523-Aug-15 23:23
Member 853403523-Aug-15 23:23 
QuestionCan someone take a look at this project, getting linker errors, I've done everything to fix Pin
Member 1129483021-Aug-15 7:17
Member 1129483021-Aug-15 7:17 
GeneralRe: Can someone take a look at this project, getting linker errors, I've done everything to fix Pin
PIEBALDconsult21-Aug-15 7:26
mvePIEBALDconsult21-Aug-15 7:26 
GeneralRe: Can someone take a look at this project, getting linker errors, I've done everything to fix Pin
Member 1129483021-Aug-15 7:28
Member 1129483021-Aug-15 7:28 
1>------ Build started: Project: P2BallGame, Configuration: Debug Win32 ------
1>SpriteResources.obj : error LNK2019: unresolved external symbol "public: __thiscall DirectX::SpriteBatch::SpriteBatch(struct ID3D11DeviceContext *)" (??0SpriteBatch@DirectX@@QAE@PAUID3D11DeviceContext@@@Z) referenced in function "public: __thiscall P2BallGame::SpriteResources::SpriteResources(class std::shared_ptr<class DX::DeviceResources>)" (??0SpriteResources@P2BallGame@@QAE@V?$shared_ptr@VDeviceResources@DX@@@std@@@Z)
1>PlayerBall.obj : error LNK2001: unresolved external symbol "public: __thiscall DirectX::SpriteBatch::SpriteBatch(struct ID3D11DeviceContext *)" (??0SpriteBatch@DirectX@@QAE@PAUID3D11DeviceContext@@@Z)
1>SpriteResources.obj : error LNK2019: unresolved external symbol "public: __thiscall DirectX::CommonStates::CommonStates(struct ID3D11Device *)" (??0CommonStates@DirectX@@QAE@PAUID3D11Device@@@Z) referenced in function "public: __thiscall P2BallGame::SpriteResources::SpriteResources(class std::shared_ptr<class DX::DeviceResources>)" (??0SpriteResources@P2BallGame@@QAE@V?$shared_ptr@VDeviceResources@DX@@@std@@@Z)
1>PlayerBall.obj : error LNK2001: unresolved external symbol "public: __thiscall DirectX::CommonStates::CommonStates(struct ID3D11Device *)" (??0CommonStates@DirectX@@QAE@PAUID3D11Device@@@Z)
1>SpriteResources.obj : error LNK2019: unresolved external symbol "public: __thiscall DirectX::SpriteFont::SpriteFont(struct ID3D11Device *,wchar_t const *)" (??0SpriteFont@DirectX@@QAE@PAUID3D11Device@@PB_W@Z) referenced in function "public: __thiscall P2BallGame::SpriteResources::SpriteResources(class std::shared_ptr<class DX::DeviceResources>)" (??0SpriteResources@P2BallGame@@QAE@V?$shared_ptr@VDeviceResources@DX@@@std@@@Z)
1>SpriteResources.obj : error LNK2019: unresolved external symbol "long __cdecl DirectX::CreateWICTextureFromFile(struct ID3D11Device *,struct ID3D11DeviceContext *,wchar_t const *,struct ID3D11Resource * *,struct ID3D11ShaderResourceView * *,unsigned int)" (?CreateWICTextureFromFile@DirectX@@YAJPAUID3D11Device@@PAUID3D11DeviceContext@@PB_WPAPAUID3D11Resource@@PAPAUID3D11ShaderResourceView@@I@Z) referenced in function "public: void __thiscall P2BallGame::SpriteResources::LoadTexture(class std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> >)" (?LoadTexture@SpriteResources@P2BallGame@@QAEXV?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@@Z)
1>PlayerBall.obj : error LNK2001: unresolved external symbol "long __cdecl DirectX::CreateWICTextureFromFile(struct ID3D11Device *,struct ID3D11DeviceContext *,wchar_t const *,struct ID3D11Resource * *,struct ID3D11ShaderResourceView * *,unsigned int)" (?CreateWICTextureFromFile@DirectX@@YAJPAUID3D11Device@@PAUID3D11DeviceContext@@PB_WPAPAUID3D11Resource@@PAPAUID3D11ShaderResourceView@@I@Z)
1>PlayerBall.obj : error LNK2019: unresolved external symbol "public: void __vectorcall DirectX::SpriteBatch::Begin(enum DirectX::SpriteSortMode,struct ID3D11BlendState *,struct ID3D11SamplerState *,struct ID3D11DepthStencilState *,struct ID3D11RasterizerState *,class std::function<void __cdecl(void)>,struct DirectX::XMMATRIX)" (?Begin@SpriteBatch@DirectX@@QAQXW4SpriteSortMode@2@PAUID3D11BlendState@@PAUID3D11SamplerState@@PAUID3D11DepthStencilState@@PAUID3D11RasterizerState@@V?$function@$$A6AXXZ@std@@UXMMATRIX@2@@Z) referenced in function "public: void __thiscall P2BallGame::PlayerBall::Render(void)" (?Render@PlayerBall@P2BallGame@@QAEXXZ)
1>P2BallGameMain.obj : error LNK2001: unresolved external symbol "public: void __vectorcall DirectX::SpriteBatch::Begin(enum DirectX::SpriteSortMode,struct ID3D11BlendState *,struct ID3D11SamplerState *,struct ID3D11DepthStencilState *,struct ID3D11RasterizerState *,class std::function<void __cdecl(void)>,struct DirectX::XMMATRIX)" (?Begin@SpriteBatch@DirectX@@QAQXW4SpriteSortMode@2@PAUID3D11BlendState@@PAUID3D11SamplerState@@PAUID3D11DepthStencilState@@PAUID3D11RasterizerState@@V?$function@$$A6AXXZ@std@@UXMMATRIX@2@@Z)
1>PlayerBall.obj : error LNK2019: unresolved external symbol "public: void __thiscall DirectX::SpriteBatch::End(void)" (?End@SpriteBatch@DirectX@@QAEXXZ) referenced in function "public: void __thiscall P2BallGame::PlayerBall::Render(void)" (?Render@PlayerBall@P2BallGame@@QAEXXZ)
1>P2BallGameMain.obj : error LNK2001: unresolved external symbol "public: void __thiscall DirectX::SpriteBatch::End(void)" (?End@SpriteBatch@DirectX@@QAEXXZ)
1>PlayerBall.obj : error LNK2019: unresolved external symbol "public: void __vectorcall DirectX::SpriteBatch::Draw(struct ID3D11ShaderResourceView *,struct DirectX::XMFLOAT2 const &,struct tagRECT const *,union __m128,float,struct DirectX::XMFLOAT2 const &,float,enum DirectX::SpriteEffects,float)" (?Draw@SpriteBatch@DirectX@@QAQXPAUID3D11ShaderResourceView@@ABUXMFLOAT2@2@PBUtagRECT@@T__m128@@M1MW4SpriteEffects@2@M@Z) referenced in function "public: void __thiscall P2BallGame::PlayerBall::Render(void)" (?Render@PlayerBall@P2BallGame@@QAEXXZ)
1>PlayerBall.obj : error LNK2019: unresolved external symbol "public: struct ID3D11BlendState * __thiscall DirectX::CommonStates::NonPremultiplied(void)const " (?NonPremultiplied@CommonStates@DirectX@@QBEPAUID3D11BlendState@@XZ) referenced in function "public: void __thiscall P2BallGame::PlayerBall::Render(void)" (?Render@PlayerBall@P2BallGame@@QAEXXZ)
1>P2BallGameMain.obj : error LNK2001: unresolved external symbol "public: struct ID3D11BlendState * __thiscall DirectX::CommonStates::NonPremultiplied(void)const " (?NonPremultiplied@CommonStates@DirectX@@QBEPAUID3D11BlendState@@XZ)
1>PlayerBall.obj : error LNK2001: unresolved external symbol "private: static struct DirectX::XMMATRIX const DirectX::SpriteBatch::MatrixIdentity" (?MatrixIdentity@SpriteBatch@DirectX@@0UXMMATRIX@2@B)
1>P2BallGameMain.obj : error LNK2001: unresolved external symbol "private: static struct DirectX::XMMATRIX const DirectX::SpriteBatch::MatrixIdentity" (?MatrixIdentity@SpriteBatch@DirectX@@0UXMMATRIX@2@B)
1>P2BallGameMain.obj : error LNK2019: unresolved external symbol "public: void __vectorcall DirectX::SpriteFont::DrawString(class DirectX::SpriteBatch *,wchar_t const *,struct DirectX::XMFLOAT2 const &,union __m128,float,struct DirectX::XMFLOAT2 const &,float,enum DirectX::SpriteEffects,float)" (?DrawString@SpriteFont@DirectX@@QAQXPAVSpriteBatch@2@PB_WABUXMFLOAT2@2@T__m128@@M2MW4SpriteEffects@2@M@Z) referenced in function "public: bool __thiscall P2BallGame::P2BallGameMain::Render(void)" (?Render@P2BallGameMain@P2BallGame@@QAE_NXZ)
1>P2BallGameMain.obj : error LNK2001: unresolved external symbol "private: static struct DirectX::XMFLOAT2 const DirectX::SpriteFont::Float2Zero" (?Float2Zero@SpriteFont@DirectX@@0UXMFLOAT2@2@B)
1>C:\Users\pedram\Documents\C++Menu\P2BallGame\Debug\P2BallGame\P2BallGame.exe : fatal error LNK1120: 11 unresolved externals
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
========== Deploy: 0 succeeded, 0 failed, 0 skipped ==========

GeneralRe: Can someone take a look at this project, getting linker errors, I've done everything to fix Pin
CPallini21-Aug-15 9:23
mveCPallini21-Aug-15 9:23 
GeneralRe: Can someone take a look at this project, getting linker errors, I've done everything to fix Pin
Member 1129483021-Aug-15 9:25
Member 1129483021-Aug-15 9:25 
GeneralRe: Can someone take a look at this project, getting linker errors, I've done everything to fix Pin
CPallini21-Aug-15 9:35
mveCPallini21-Aug-15 9:35 
SuggestionRe: Can someone take a look at this project, getting linker errors, I've done everything to fix Pin
David Crow21-Aug-15 9:23
David Crow21-Aug-15 9:23 
QuestionMFC Project Style "Visual Studio", but Single Document with multiple views Pin
Member 853403521-Aug-15 5:34
Member 853403521-Aug-15 5:34 
AnswerRe: MFC Project Style "Visual Studio", but Single Document with multiple views Pin
Richard MacCutchan21-Aug-15 6:10
mveRichard MacCutchan21-Aug-15 6:10 
GeneralRe: MFC Project Style "Visual Studio", but Single Document with multiple views Pin
Member 853403522-Aug-15 21:43
Member 853403522-Aug-15 21:43 
GeneralRe: MFC Project Style "Visual Studio", but Single Document with multiple views Pin
Richard MacCutchan23-Aug-15 1:09
mveRichard MacCutchan23-Aug-15 1:09 
QuestionAccessing struct member and getting error I do not know how to fix it. Pin
Vaclav_21-Aug-15 4:08
Vaclav_21-Aug-15 4:08 
AnswerRe: Accessing struct member and getting error I do not know how to fix it. Pin
Richard MacCutchan21-Aug-15 4:21
mveRichard MacCutchan21-Aug-15 4:21 
GeneralSOLVED : Accessing struct member and getting error I do not know how to fix it. Pin
Vaclav_21-Aug-15 5:57
Vaclav_21-Aug-15 5:57 
QuestionUsing #define wrong way ? Pin
Vaclav_20-Aug-15 6:56
Vaclav_20-Aug-15 6:56 
AnswerRe: Using #define wrong way ? Pin
k505420-Aug-15 7:10
mvek505420-Aug-15 7:10 
GeneralSOLVED Re: Using #define wrong way ? Pin
Vaclav_20-Aug-15 8:07
Vaclav_20-Aug-15 8:07 
QuestionRe: Using #define wrong way ? Pin
CPallini20-Aug-15 21:06
mveCPallini20-Aug-15 21:06 
AnswerRe: Using #define wrong way ? Pin
Vaclav_21-Aug-15 4:12
Vaclav_21-Aug-15 4:12 
GeneralRe: Using #define wrong way ? Pin
Stefan_Lang31-Aug-15 22:02
Stefan_Lang31-Aug-15 22:02 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.