Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Managed C++ / November 2005

Tip: Looking for answers? Try searching our database.

GUID_NULL Error

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Michael Tissington - 22 Nov 2005 04:39 GMT
I'm converting a VS 6 MFC C++ project to VS 2005 C++
I'm done to a single error to do with GUID_NULL not being defined

This error occures in a single cpp file which uses #define INITGUID

Any ideas where GUID_NULL should be defined or an include file that I'm
missing?

Thanks.

Signature

Michael Tissington
http://www.oaklodge.com
http://www.tabtag.com

"Gary Chang[MSFT]" - 22 Nov 2005 11:20 GMT
Hi Michael,

>I'm converting a VS 6 MFC C++ project to VS 2005 C++
>I'm done to a single error to do with GUID_NULL not being defined

The VC2005 doesn't use the libraries which VC6's application used, so the
problem may be the GUID_NULL hasn't been defined in the corresponding
VC2005's library files.

I found the following GUID_NULL definition in the VC6's library files KS.h:

#define DEFINE_GUIDSTRUCT(g, n) struct __declspec(uuid(g)) n
#define DEFINE_GUIDNAMED(n) n

DEFINE_GUIDSTRUCT("00000000-0000-0000-0000-000000000000", GUID_NULL);
#define GUID_NULL DEFINE_GUIDNAMED(GUID_NULL)

Hope this helps!

Best regards,

Gary Chang
Microsoft Community Support
--------------------
Get Secure! ¡§C www.microsoft.com/security
Register to Access MSDN Managed Newsgroups!
http://support.microsoft.com/default.aspx?scid=/servicedesks/msdn/nospam.asp
&SD=msdn

This posting is provided "AS IS" with no warranties, and confers no rights.

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.