I'm lost now from this point I have no clue what to do so ill read that article.
EDIT followed this to a tee, Same error using the tut file vs2005 version
EDIT 2 Okay, missed one line now i have these
code:
------ Build started: Project: CreateDevice, Configuration: Debug Win32 ------
Linking...
CreateDevice.obj : error LNK2019: unresolved external symbol __imp__DefWindowProcA@16 referenced in function "long __stdcall MsgProc(struct HWND__ *,unsigned int,unsigned int,long)" (?MsgProc@@YGJPAUHWND__@@IIJ@Z)
CreateDevice.obj : error LNK2019: unresolved external symbol __imp__ValidateRect@8 referenced in function "long __stdcall MsgProc(struct HWND__ *,unsigned int,unsigned int,long)" (?MsgProc@@YGJPAUHWND__@@IIJ@Z)
CreateDevice.obj : error LNK2019: unresolved external symbol __imp__PostQuitMessage@4 referenced in function "long __stdcall MsgProc(struct HWND__ *,unsigned int,unsigned int,long)" (?MsgProc@@YGJPAUHWND__@@IIJ@Z)
CreateDevice.obj : error LNK2019: unresolved external symbol __imp__UnregisterClassA@8 referenced in function _WinMain@16
CreateDevice.obj : error LNK2019: unresolved external symbol __imp__DispatchMessageA@4 referenced in function _WinMain@16
CreateDevice.obj : error LNK2019: unresolved external symbol __imp__TranslateMessage@4 referenced in function _WinMain@16
CreateDevice.obj : error LNK2019: unresolved external symbol __imp__GetMessageA@16 referenced in function _WinMain@16
CreateDevice.obj : error LNK2019: unresolved external symbol __imp__UpdateWindow@4 referenced in function _WinMain@16
CreateDevice.obj : error LNK2019: unresolved external symbol __imp__ShowWindow@8 referenced in function _WinMain@16
CreateDevice.obj : error LNK2019: unresolved external symbol __imp__CreateWindowExA@48 referenced in function _WinMain@16
CreateDevice.obj : error LNK2019: unresolved external symbol __imp__RegisterClassExA@4 referenced in function _WinMain@16
Debug/CreateDevice.exe : fatal error LNK1120: 11 unresolved externals
Build log was saved at "file://c:\Program Files\Microsoft DirectX SDK (April 2007)\Samples\C++\Direct3D\Tutorials\Tut01_CreateDevice\Debug\BuildLog.htm"
CreateDevice - 12 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Martin
Posted: Tue May 29, 2007 7:28 am Post subject: Re: objbase.h not found :angry:
Do you have the Platform SDK? You can get it here.
Geostigma
Posted: Tue May 29, 2007 8:29 am Post subject: RE:objbase.h not found :angry:
.......... I have everything I wouldn't even be at this point if I didn't have it.
EDIT: hold on Ill have to try that tonight after thinking about it, I think I don't have it. I'm at school so I can't check sorry for hasty response
Martin
Posted: Wed May 30, 2007 1:06 pm Post subject: RE:objbase.h not found :angry:
So, success?
Geostigma
Posted: Wed May 30, 2007 10:44 pm Post subject: Re: objbase.h not found :angry:
Umm no success yet. I think I may have deleted a directory location by mistake. Can someone post there entire link set that have "$" in them.. also the error i get is.
Very important if someone could name of the exe list, include list, library list, exclude list, and source reference list directories so I can make sure that I didn't delete the wrong one. I tried reinstalling VS 3x with no avail and can't figure out how to reset the list.
Geostigma
Posted: Wed May 30, 2007 11:08 pm Post subject: RE:objbase.h not found :angry:
Know what, a picture is worth 1000 words and I solved my link.exe error.
------ Build started: Project: CreateDevice, Configuration: Debug Win32 ------
Linking...
CreateDevice.obj : error LNK2019: unresolved external symbol __imp__DefWindowProcA@16 referenced in function "long __stdcall MsgProc(struct HWND__ *,unsigned int,unsigned int,long)" (?MsgProc@@YGJPAUHWND__@@IIJ@Z)
CreateDevice.obj : error LNK2019: unresolved external symbol __imp__ValidateRect@8 referenced in function "long __stdcall MsgProc(struct HWND__ *,unsigned int,unsigned int,long)" (?MsgProc@@YGJPAUHWND__@@IIJ@Z)
CreateDevice.obj : error LNK2019: unresolved external symbol __imp__PostQuitMessage@4 referenced in function "long __stdcall MsgProc(struct HWND__ *,unsigned int,unsigned int,long)" (?MsgProc@@YGJPAUHWND__@@IIJ@Z)
CreateDevice.obj : error LNK2019: unresolved external symbol __imp__UnregisterClassA@8 referenced in function _WinMain@16
CreateDevice.obj : error LNK2019: unresolved external symbol __imp__DispatchMessageA@4 referenced in function _WinMain@16
CreateDevice.obj : error LNK2019: unresolved external symbol __imp__TranslateMessage@4 referenced in function _WinMain@16
CreateDevice.obj : error LNK2019: unresolved external symbol __imp__GetMessageA@16 referenced in function _WinMain@16
CreateDevice.obj : error LNK2019: unresolved external symbol __imp__UpdateWindow@4 referenced in function _WinMain@16
CreateDevice.obj : error LNK2019: unresolved external symbol __imp__ShowWindow@8 referenced in function _WinMain@16
CreateDevice.obj : error LNK2019: unresolved external symbol __imp__CreateWindowExA@48 referenced in function _WinMain@16
CreateDevice.obj : error LNK2019: unresolved external symbol __imp__RegisterClassExA@4 referenced in function _WinMain@16
Debug/CreateDevice.exe : fatal error LNK1120: 11 unresolved externals
Build log was saved at "file://c:\Program Files\Microsoft DirectX SDK (April 2007)\Samples\C++\Direct3D\Tutorials\Tut01_CreateDevice\Debug\BuildLog.htm"
CreateDevice - 12 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Sponsor Sponsor
Martin
Posted: Thu May 31, 2007 9:26 am Post subject: RE:objbase.h not found :angry:
I'm almost positive that your problem has to do with not having the Platform SDK set up properly. Those are all Windows methods. Out of the (digital) box, Visual Studio Express only allows you to make .NET applications, and the Platform SDK is required to use old Windows technologies like Win32. Make sure that you follow all of those steps in that link that I sent you a few posts up.
Geostigma
Posted: Thu May 31, 2007 1:54 pm Post subject: RE:objbase.h not found :angry:
I attached a photo for a reason in my above post. I don't know what I'm missing when I have checked a billion times. Now i just cant get object files..
code:
------ Build started: Project: CreateDevice, Configuration: Debug Win32 ------
Linking...
CreateDevice.obj : error LNK2019: unresolved external symbol __imp__DefWindowProcA@16 referenced in function "long __stdcall MsgProc(struct HWND__ *,unsigned int,unsigned int,long)" (?MsgProc@@YGJPAUHWND__@@IIJ@Z)
CreateDevice.obj : error LNK2019: unresolved external symbol __imp__ValidateRect@8 referenced in function "long __stdcall MsgProc(struct HWND__ *,unsigned int,unsigned int,long)" (?MsgProc@@YGJPAUHWND__@@IIJ@Z)
CreateDevice.obj : error LNK2019: unresolved external symbol __imp__PostQuitMessage@4 referenced in function "long __stdcall MsgProc(struct HWND__ *,unsigned int,unsigned int,long)" (?MsgProc@@YGJPAUHWND__@@IIJ@Z)
CreateDevice.obj : error LNK2019: unresolved external symbol __imp__UnregisterClassA@8 referenced in function _WinMain@16
CreateDevice.obj : error LNK2019: unresolved external symbol __imp__DispatchMessageA@4 referenced in function _WinMain@16
CreateDevice.obj : error LNK2019: unresolved external symbol __imp__TranslateMessage@4 referenced in function _WinMain@16
CreateDevice.obj : error LNK2019: unresolved external symbol __imp__GetMessageA@16 referenced in function _WinMain@16
CreateDevice.obj : error LNK2019: unresolved external symbol __imp__UpdateWindow@4 referenced in function _WinMain@16
CreateDevice.obj : error LNK2019: unresolved external symbol __imp__ShowWindow@8 referenced in function _WinMain@16
CreateDevice.obj : error LNK2019: unresolved external symbol __imp__CreateWindowExA@48 referenced in function _WinMain@16
CreateDevice.obj : error LNK2019: unresolved external symbol __imp__RegisterClassExA@4 referenced in function _WinMain@16
Debug/CreateDevice.exe : fatal error LNK1120: 11 unresolved externals
Build log was saved at "file://c:\Program Files\Microsoft DirectX SDK (April 2007)\Samples\C++\Direct3D\Tutorials\Tut01_CreateDevice\Debug\BuildLog.htm"
CreateDevice - 12 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Geostigma
Posted: Thu May 31, 2007 2:16 pm Post subject: RE:objbase.h not found :angry:
yes works finally effin yes1 bits and karma
Martin
Posted: Thu May 31, 2007 2:22 pm Post subject: RE:objbase.h not found :angry:
Woohoo Live and learn.
Geostigma
Posted: Thu May 31, 2007 2:26 pm Post subject: RE:objbase.h not found :angry:
Apperntly I didn't edit the file where I had to add the extra