Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
I

ian__lindsay

@ian__lindsay
About
Posts
6
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • GUID pronunciation
    I ian__lindsay

    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?!

    The Lounge question career

  • XmlReader EOF property problem
    I ian__lindsay

    We 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.

    C / C++ / MFC help csharp dotnet visual-studio xml

  • VS 11
    I ian__lindsay

    Here's hoping! And maybe context sensitive help while they are at it.

    The Lounge visual-studio com

  • Dorcy 6 watt k2 luxeon aluminum led flashlight... is junk
    I ian__lindsay

    I 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[^]

    The Lounge

  • cliext::list strange behavior
    I ian__lindsay

    I 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

    Managed C++/CLI c++ help csharp visual-studio debugging

  • constant member function in Managed C++
    I ian__lindsay

    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?

    C / C++ / MFC c++ help tutorial
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups