C++/VB - side by side configuration - what does this really mean?
Asked By phil oakleaf
28-May-10 12:37 PM
I have recently given an update to a single user who finds that the
program now gives an error
configuration is incorrect. Please see.... "
The program runs fine on my machine and older builds runs on his.
However, if I take the older build and re-build, the resulting exe gives
the same error.
it is an MFC project and there are no new DLL's. The VC redist is
installed on his machine.
If anyone has any ideas they'd be very much appreciated
Phil
Windows Update
(1)
Visual Studio
(1)
Vista
(1)
Peter Thanks
(1)
Side by side configuration is incorrect
(1)
Service pack
(1)
DLL
(1)
VC
(1)
Pete Delgado replied to phil oakleaf
It may mean that you have installed a service pack such as the ATL update
and a new(er) version of the runtimes is required on the users machine.
Did you examine the manifest to see if the required DLLs were in fact
present on the machine?
-Pete
phil oakleaf replied to Pete Delgado
Peter
Thanks for the help
I am not aware of installing any updates on my machine
Sorry if this is really a dumb question. But how do I check the
manifests on the users machines.
Many thanks
Phil
David Ching replied to phil oakleaf

Last Summer, MS issues a Windows Update for "ATL Security Update" which you
might have gotten automatically depending on your Windows Update settings.
This patches Visual Studio so that anything you build with it from then on
requires new redists. (The new redists were put into your e.g. c:\program
files\microsoft visual studio 2008\vc\redist folder, so you can check there
to make sure it is the same as what you gave to your user.)
At a deeper level, run findstr from a command prompt and search all your
DLL's and EXE's that you distribute in with your app for e.g.
built with VC2005) and make sure that the versions that get dumped out are
actually the ones you distribute in your vc_redist.
Alternatively, if your user is skilled and running on Vista or later, have
him run SxSTrace.exe to 1) generate an error log, then 2) parse the error
log into a text file; the text file will show clearly what DLL could not be
found, and which DLL's whose versions were not adequate were found, thus
pointing to a version mismatch.
-- David
phil oakleaf replied to David Ching
David
thanks for the info
I think there must have been some change on my machine because if I
compile on a different system, no problem.
Build on my main machine I get the side by side
Why could VS have updated itself like this without asking me?
Thanks again
htm for info about ] [ comp.lang.c++.moderated. First time posters: Do this! ] C++ Discussions Windows XP (1) Visual Studio (1) Linux (1) Error (1) Excel (1) Configurations (1) Translation (1) Exception (1) I disgree is not so useful on Windoze, where the expectation seems to be to use the Visual Studio debugger and run the program again, catching the assertion as it occurs. Regards, Andrew Marlow assert is or is not working in production code is rather a matter of the configuration. Whether it prints out data is really mostly irrelevant. What is important that it leaves repair it, it is not a logic error in first place. Just a matter of configuration. And, besides, the stderr output is typically irrelevant anyhow. This is a good thing. Yes, it should, very much so! I guess this is more an argument against Windows than an argument against asserts, then. Core dumps are extremely useful for analyzing problems. Greetings
problems finding a good C++ IDE / Compiler package. Everything seems to be Microsoft-based using Visual C++ / Studio including the Intel Optimizing Compilers??? I need to Compile cross-platform code for a OOP around January 24th. So, I would like to test out several options that run under Windows XP (x86 / 32-bit) Virtual PC Mode, or Windows 7 (x64 / 64-bit) Professional. I, also, have Ubuntu LINUX setup on a spare laptop so I can find these systems w / o a lot of searching and hitting the incorrect URL's. TIA, MJR - - [ See http: / / www.gotw.ca / resources / clcm.htm for info about ] [ comp.lang.c++.moderated. First time posters: Do this! ] C++ Discussions Virtual PC (1) Windows XP (1 Visual Studio (1) Windows 7 (1) Python (1) Error (1) Linux (1) Configurations (1) On Windows you
just for thumbnails . . . R = E9pondre R = E9pondre = E0 l'auteur Transf = E9rer Win32 Kernel Discussions Visual Studio (1) SHChangeNotify (1) IShellItem (1) Windows 7 (1) Adobe (1) ThreadingModel (1) IStream (1) Disk (1) If the underlying components only I did it that way around; probably to do with what the underlying component expected.) Thanks to http: / / www.codemonkeycodes.com / 2010 / 01 / 11 / ithumbnailprovider-re-visited / work and SDK sample C: \ Program Files \ Microsoft SDKs \ Windows \ v7.0 \ Samples \ winui \ shell \ appshellintegration \ RecipeThumbnailProvider and Leo davidson help http: / / www.pretentiousname.com task For those who are looking inside IThumbnailProvider "magic" , here are some advices : 1) With Windows Seven x64 : dll compilation must be targeted to x64. Win32 : dll must be targeted to EXE 64 32 article here : http: / / www.dnjonline.com / article.aspx?id = jun07_access3264 2) Viisual Studio Config : You must add To default VisualStudio (case for 2008) all x64 tools, otherwise noway to set x64 in Project configuration If you need SDK 7.0 or VisualStudio SP1 be careful to install SDK on
c++.moderated. First time posters: Do this! ] So everything I said is worthless again?! :) LOL, thanks for the reply, and let me try again: I actually never overloaded these operators, because my expressions, or otherwise if I intend for all expressions to be evaluated (for their side effects). I can write the short-circuit as: foo( EXP1 && EXP2 && EXP3 ); But in the bool: all of them should operate on const objects and none of them should have side- effects. So from correctness standpoint, if you stick to the above, you are just fine leaves you with performance standpoint: perhaps, e.g. if your operator&& was invoked, and left side already returned false, right- hand side calculation is wasted. So here, I have to ask you: did you realize, through measurement boolean operators). For example, in the case I need all expressions to be evaluated (for side effects), which is less common case, but still occurs. Even without any operator overloads it EXP2 && EXP3 ); Appart from what you said, you need the sub-expressions to have no side effects. If EXP2 and EXP3 have side effects, it will make a difference - and for all I care that can be just
htm for info about ] [ comp.lang.c++.moderated. First time posters: Do this! ] C++ Discussions Visual Basic 6.0 (1) Windows XP (1) Windows 7 (1) Python (1) Linux (1) Error (1) Vista (1) Word (1) C++ is here to stay. Not "only" for embedded stuff, but also more afraid of the lifetime of languages owned by a company. Look what happened to Visual Basic 6.0. it is now deprecated! http: / / en.wikipedia.org / wiki / Visual_Basic - - [ See http C++ is not going anywhere anytime soon. It is very much worth getting to know. Peter - - [ See http: / / www.gotw.ca / resources / clcm.htm for info about ] [ comp.lang.c++.moderated language will remain useful in the future and if / how it will be developed. The Visual Basic 6.0 example is an excellent example to describe the issues at stake. It truth be told, wasting their time. Moreover, those countless LoC which have been written in Visual Basic have been forced to lay to waste from software rot. No one besides you