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
G

gartnerj

@gartnerj
About
Posts
17
Topics
3
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • ASP.NET SETUP and Deployment project: Specifying HOST HEADER
    G gartnerj

    Folks, I've been poking around various sites to see if there is a way, using VS2005 Setup and Deployment projects, to specify the HOST HEADER for a web application. Does anyone know how to do this? Is there an easy setting someplace or do I need to add code in a CustomAction (or, can I do this AT ALL automatically)? I could require the install folks to manually update once the .msi has completed, but that could be problemmatic -- I'd rather have the installer do everything it needs w/o human intervention. Thanks for any help

    ASP.NET csharp asp-net sysadmin help tutorial

  • Stupid Router!!!
    G gartnerj

    Even if a wired computer only, it could still be a cordless phone. I had an old cordless that when it rang, the entire internet connection would disconnect, even if I wasn't using anything via the wireless ports. It was intermittent, and only started happening some 1.5-2 years AFTER I got the thing, so.... The phone was pretty far away also -- I solved it by getting a new 1.9ghz cordless set.

    The Lounge question

  • Is it time for EF or maybe...
    G gartnerj

    Yeah, CSLA is NOT a replacement for EF -- it is a business object layer, and does not really correlate to nHibernate/EF, etc.. You would still want some sort of DAL layer in addition to CSLA.

    The Lounge asp-net csharp visual-studio wpf com

  • Converting very old VC++ to VS2005 and MSXML
    G gartnerj

    Stuart -- thanks. Using the namespace seems to have worked (at least, it got rid of the compilation errors and let me build the project). Thanks folks for all of the help!!! :-D

    C / C++ / MFC c++ help csharp visual-studio com

  • Converting very old VC++ to VS2005 and MSXML
    G gartnerj

    I'll have to give that a try -- will try to get to it later this morning -- working on a different project at the moment!

    C / C++ / MFC c++ help csharp visual-studio com

  • Converting very old VC++ to VS2005 and MSXML
    G gartnerj

    Just checked, and NO, no ulrmon.h in any of the project files.

    C / C++ / MFC c++ help csharp visual-studio com

  • Converting very old VC++ to VS2005 and MSXML
    G gartnerj

    Actually, looking in the code, the stdafx.h file HAS the define for VC_extralean - must have done that during the conversion up to VS2005!

    C / C++ / MFC c++ help csharp visual-studio com

  • Converting very old VC++ to VS2005 and MSXML
    G gartnerj

    Thanks David, I had seen the WIN_LEAN_AND_MEAN setting and had tried that with no luck. I tried the VC_EXTRALEAN, and I still get the errors:

    DataParse.cpp
    e:\....\graphing\mpactgrafx activex control\msxml.h(977) :
    error C2011: 'XMLDOMDocumentEvents' :
    'struct' type redefinition
    c:\program files\microsoft visual studio 8\vc\platformsdk\include\msxml.h(9495) :
    see declaration of 'XMLDOMDocumentEvents'
    MSXML.cpp
    e:\....\graphing\mpactgrafx activex control\msxml.h(977) :
    error C2011: 'XMLDOMDocumentEvents' :
    'struct' type redefinition
    c:\program files\microsoft visual studio 8\vc\platformsdk\include\msxml.h(9495) : see declaration of 'XMLDOMDocumentEvents'

    No joy yet.

    C / C++ / MFC c++ help csharp visual-studio com

  • Converting very old VC++ to VS2005 and MSXML
    G gartnerj

    Yeah, really strange. There are only two references to #include "msxml.h" in the project: 1)a generated MSXML.cpp file 2)a DataParse.h (which is where a bunch of custom parsing code is defined). No other #include of msxml.h at all!!:confused:

    C / C++ / MFC c++ help csharp visual-studio com

  • Converting very old VC++ to VS2005 and MSXML
    G gartnerj

    Thanks -- actually DID include the local dir to resolve a few other issues -- this one is the only one I have left outstanding at the moment (at least until THIS one clears and the compilation finds something else :wtf: ) I have tried the "./msxml.h" also, but I am still getting that error message (I even put in the entire path, same result).

    C / C++ / MFC c++ help csharp visual-studio com

  • Converting very old VC++ to VS2005 and MSXML
    G gartnerj

    Folks, I have a project I'm trying to convert from VC++ MFC to VS2005, and I'm having a problem with msxml (and I know NOTHING about MFC -- have never coded in it). Basically, there is an msxml.cpp/.h in the project directory, and when I compile, I am getting type redefintion errors.

    MSXML.cpp
    e:\....\graphing\mpactgrafx activex control\msxml.h(972) :
    error C2011: 'XMLDOMDocumentEvents' : 'struct' type redefinition
    c:\program files\microsoft visual studio 8\vc\platformsdk\include\msxml.h(9495) : see declaration of 'XMLDOMDocumentEvents'

    in the PROJECT msxml.h:

    class XMLDOMDocumentEvents : public COleDispatchDriver

    and in the platformsdk\Include\msxml.h:

    XMLDOMDocumentEvents : public IDispatch

    Looks like it is pulling in not only the local msxml (which is what I want it to use), but also the c:\program files\Microsoft Visual Studio 8\VC\PlatformSDK\include\msXml.h so I am getting the redef in the project msxml stuff. I don't see any real way to EXCLUDE only that platformSDK\Include\msxml.h file during compilation. I've tried the tools->options->project..-> VC++ directories, but if I exclude that platformSDK\include, I get all sorts of badness happening. If I get rid of the local msxml.h/cpp, I also get bad things happening (due to used objects from that old msxml missing) Any help greatly appreciated.

    C / C++ / MFC c++ help csharp visual-studio com

  • Convert C++ from VisC++ 6 to VS 2008 [modified]
    G gartnerj

    Thanks -- yeah that link really helped! I guess I was hoping that there would be some sort of compatibility mode setting for the compiler/project to allow this to work with minimal change, but I don't think that's possible!

    C / C++ / MFC c++ help visual-studio question lounge

  • Convert C++ from VisC++ 6 to VS 2008 [modified]
    G gartnerj

    Thanks -- VERY helpful!!!

    C / C++ / MFC c++ help visual-studio question lounge

  • Convert C++ from VisC++ 6 to VS 2008 [modified]
    G gartnerj

    Well, I didn't include all of the code, but the SubjectUsage class is defined right above this line in the file, so that shouldn't be an issue. This code DOES compile in Visual C++ 6.0.   I'm sure there must be differences with C++ and with the MFC supplied with VS 2008 that is causing this -- not sure if there are any project switches to set for compatibility? Also, the CORRECT statement that has the errors is: template <> void AFXAPI ConstructElement <SubjectUsage> (SubjectUsage * pSubUsage, int nCount) Sorry about that!

    C / C++ / MFC c++ help visual-studio question lounge

  • Convert C++ from VisC++ 6 to VS 2008 [modified]
    G gartnerj

    Thanks -- I did read those pages, but not a lot of info on using old MFC with VS 2008.

    C / C++ / MFC c++ help visual-studio question lounge

  • Convert C++ from VisC++ 6 to VS 2008 [modified]
    G gartnerj

    Folks, I have a VERY OLD legacy app that I'm trying to compile under VS 2008 (I am NOT an MFC developer at all). I am running into build errors on things like: template <> void AFXAPI ConstructElements <SubjectUsage> (SubjectUsage * pSubName, int nCount) NOTE: Edited this to correct the line ERRORS for this is: C2143 Syntax error: missing ";" before "<" C2182: "ConstructElements: illegal use of type 'void' C2988: unrecognizable template declaration/definition I know NOTHING about the AFXAPI, but the file does have an <code>#include <afxtempl.h> </code> Any help greatly appreciated, and in general, any words of wisdom from moving from VC++6 to VS2008?

    modified on Wednesday, May 20, 2009 2:06 PM

    C / C++ / MFC c++ help visual-studio question lounge

  • Programming While On Medication
    G gartnerj

    So you have to be depressed to write good code? Or does writing code make you depressed. Actually, that could explain a lot. X|

    The Lounge
  • Login

  • Don't have an account? Register

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