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
gartnerj
Posts
-
ASP.NET SETUP and Deployment project: Specifying HOST HEADER -
Stupid Router!!!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.
-
Is it time for EF or maybe...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.
-
Converting very old VC++ to VS2005 and MSXMLStuart -- 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
-
Converting very old VC++ to VS2005 and MSXMLI'll have to give that a try -- will try to get to it later this morning -- working on a different project at the moment!
-
Converting very old VC++ to VS2005 and MSXMLJust checked, and NO, no ulrmon.h in any of the project files.
-
Converting very old VC++ to VS2005 and MSXMLActually, looking in the code, the stdafx.h file HAS the define for VC_extralean - must have done that during the conversion up to VS2005!
-
Converting very old VC++ to VS2005 and MSXMLThanks 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.
-
Converting very old VC++ to VS2005 and MSXMLYeah, 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:
-
Converting very old VC++ to VS2005 and MSXMLThanks -- 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).
-
Converting very old VC++ to VS2005 and MSXMLFolks, 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.
-
Convert C++ from VisC++ 6 to VS 2008 [modified]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!
-
Convert C++ from VisC++ 6 to VS 2008 [modified]Thanks -- VERY helpful!!!
-
Convert C++ from VisC++ 6 to VS 2008 [modified]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! -
Convert C++ from VisC++ 6 to VS 2008 [modified]Thanks -- I did read those pages, but not a lot of info on using old MFC with VS 2008.
-
Convert C++ from VisC++ 6 to VS 2008 [modified]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
-
Programming While On MedicationSo you have to be depressed to write good code? Or does writing code make you depressed. Actually, that could explain a lot. X|