-
February 28th, 2010, 07:49 AM
#1
errors with 'shlobj.h' ?
im using shlobj.h header on VC 6.0 with SDK February 2003 installed , and i get those 2 errors from the header file
i googled alot but i couldnt find a solution, any1 knows why?
thanks
Code:
C:\Program Files\Microsoft SDK\include\shobjidl.h(9315) : error C2061: syntax error : identifier 'IXMLDOMDocument'
C:\Program Files\Microsoft SDK\include\shobjidl.h(9424) : error C2061: syntax error : identifier 'IXMLDOMDocument'
-
February 28th, 2010, 08:30 AM
#2
Re: errors with 'shlobj.h' ?
include\shobjidl.h
it looks like you have a syntax error some where close to where the included file is(that is where an object that uses that file) , i don't know what that include file is used for and if you don't know, try looking for syntax errors through your .h and .c files from before your last build.
-
February 28th, 2010, 08:32 AM
#3
Re: errors with 'shlobj.h' ?
is this include file something you made? look through this file for a syntax error.
-
February 28th, 2010, 08:36 AM
#4
Re: errors with 'shlobj.h' ?
no , "shobjidl" is not a header i created.... its probably included in "shlobj.h"
a friend compiled the same project using VC 2008 without any problems thought...
-
February 28th, 2010, 09:05 AM
#5
Re: errors with 'shlobj.h' ?
look thru your code for syntax errors
-
February 28th, 2010, 11:34 AM
#6
Re: errors with 'shlobj.h' ?
Originally Posted by Cpp_Noob
a friend compiled the same project using VC 2008 without any problems thought...
Didn't that give you a hint on what's going on.
From MS Windows® Server 2003 SP1 Platform SDK download page:This SDK does not support working with Microsoft Visual C/C++®, 6.0 as support for VC 6.0 has ended. The last SDK that will work with VC 6.0 is the February 2003 Edition, you can order a CD on the fulfillment site. Side by side installations are not supported.
The SDK names are a bit similar (and since the one you want is not downloadable anymore), are you sure you have the correct SDK installed?
Edit: The best choice is of course to upgrade your environment but if you decide not to upgrade this link will be nice: http://blogs.msdn.com/windowssdk/arc...20/640172.aspx
Last edited by S_M_A; February 28th, 2010 at 01:39 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|