Inside COM, Rogerson, Microsoft Press ISBN 1-57231-349-8, top of page 112: Pronounced goo-id to rhyme with druid. Not sure what the geoduck stuff is about though?!
ian__lindsay
Posts
-
GUID pronunciation -
XmlReader EOF property problemWe just hit this one, it is because of a #define in stdio.h which defines EOF as -1. The easiest quick and dirty fix is to do a #undef EOF before the line in the file if the C library EOF define is not used further on.
-
VS 11Here's hoping! And maybe context sensitive help while they are at it.
-
Dorcy 6 watt k2 luxeon aluminum led flashlight... is junkI have a Fenix L2D Cree Q5 Premium, best torch I have ever bought. Bit on the expensive side, but really recommended. http://www.fenixtorch.co.uk/led_torches/fenix_l2d_q5.html[^]
-
cliext::list strange behaviorI am trying to use a cliext::list<> and am hitting various problems - apologies, its a long one - but stick with me :) . Before I start, I am using Visual Studio 2008 with service pack 1. I am (relatively) new to mixed mode programming - my background is pure C++ / MFC, etc - so it is entirely possible I am misunderstanding something. I have reduced my first problem to the following: Header file: #pragma once #include private ref class TestClass { cliext::list ^ m_list; public: TestClass(void); }; .cpp file: #include "StdAfx.h" #include "TestClass.h" TestClass::TestClass(void) : m_list(gcnew cliext::list()) { } Produces this little lot... (project name is LNK2022) 1>------ Build started: Project: LNK2022, Configuration: Debug Win32 ------ 1>Linking... 1>TestClass.obj : error LNK2022: metadata operation failed (80131188) : Inconsistent field declarations in duplicated types (types: cliext.impl.list_impl; fields: _Myhead): (0x0400000a). 1>TestClass.obj : error LNK2022: metadata operation failed (80131188) : Inconsistent field declarations in duplicated types (types: cliext.impl.list_impl; fields: _Mysize): (0x0400000b). 1>TestClass.obj : error LNK2022: metadata operation failed (80131188) : Inconsistent field declarations in duplicated types (types: cliext.impl.list_impl; fields: _Mygen): (0x0400000c). 1>TestClass.obj : error LNK2022: metadata operation failed (801311D7) : Differing number of fields in duplicated types (cliext.impl.list_impl): (0x02000023). 1>TestClass.obj : error LNK2022: metadata operation failed (8013118B) : Inconsistent implemented interfaces in duplicated types (types: cliext.impl.list_impl; interfaces: System.Runtime.CompilerServices.CallConvStdcall): (0x09000001). 1>TestClass.obj : error LNK2022: metadata operation failed (8013118B) : Inconsistent implemented interfaces in duplicated types (types: cliext.impl.list_impl; interfaces: System.IDisposable): (0x09000002). 1>TestClass.obj : error LNK2022: metadata operation failed (8013118B) : Inconsistent implemented interfaces in duplicated types (types: cliext.impl.list_base; interfaces: System.Runtime.CompilerServices.CallConvFastcall): (0x09000003). 1>TestClass.obj : error LNK2022: metadata operation failed (8013118B) : Inconsistent implemented interfaces in duplicated types (types: cliext.impl.list_base; interfaces: System.Runtime.CompilerServices.CallConvThiscall): (0x09000004). 1>TestClass.obj : error LNK20
-
constant member function in Managed C++I think there is a wider question here - are we saying that the .net languages do not support const correctness at all, or is the syntax just different? Unless you didn't guess I am from a C++ background! For instance if I have a const handle to an object, how do I restrict the caller to only calling certain functions - for instance getters which do not modify the object and not setters which would cause the object to be modified?