Visual C++ Express Edition ForumQuestions about Visual C++ Express Edition and getting started with C++.© 2009 Microsoft Corporation. All rights reserved.Sun, 29 Nov 2009 12:51:33 Z4b7538bb-bb04-48c1-8c91-94ab75452e62http://social.msdn.microsoft.com/Forums/en-US/Vsexpressvc/thread/5952b7db-4879-4883-b914-7ba524186e6bhttp://social.msdn.microsoft.com/Forums/en-US/Vsexpressvc/thread/5952b7db-4879-4883-b914-7ba524186e6bperla_mohttp://social.msdn.microsoft.com/Profile/en-US/?user=perla_moerror in visual c++ 2008 Express EditionHello, <br/> I'have a problem in visual c++ 2008 Express Edition:<br/> <br/> 1&gt;Compiling...<br/> 1&gt;stdafx.cpp<br/> 1&gt;c:\documents and settings\hp\bureau\14 image processing with edge detection - gidro\code\software\vs2008 project\stdafx.h(18) : fatal error C1083: Cannot open include file: 'afxwin.h': No such file or directory<br/> 1&gt;Build log was saved at &quot;file://c:\Documents and Settings\hp\Bureau\14 Image Processing with Edge Detection - Gidro\Code\Software\VS2008 Project\Debug\BuildLog.htm&quot;<br/> 1&gt;ImageUp - 1 error(s), 0 warning(s)<br/> ========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========<br/> <br/> Please help me.<br/> Thanks.Sun, 29 Nov 2009 07:18:33 Z2009-11-29T09:44:29Zhttp://social.msdn.microsoft.com/Forums/en-US/Vsexpressvc/thread/6597af3d-3871-4fbf-bfbd-ac8d464f5a26http://social.msdn.microsoft.com/Forums/en-US/Vsexpressvc/thread/6597af3d-3871-4fbf-bfbd-ac8d464f5a26coutinhovrhttp://social.msdn.microsoft.com/Profile/en-US/?user=coutinhovrfatal error cannot open include fileHi!<br/> <br/> I created a Win 32 console application and copied one header file to the header folder. When I include this header file, I get this error: cannot open include file.<br/> <br/> <pre lang=x-cpp>#include &quot;glut.h&quot; int main() { return 0; }</pre> Please, help me.Sat, 28 Nov 2009 18:57:47 Z2009-11-29T05:12:54Zhttp://social.msdn.microsoft.com/Forums/en-US/Vsexpressvc/thread/2875ab5e-6131-4df7-80dc-c96b23d34103http://social.msdn.microsoft.com/Forums/en-US/Vsexpressvc/thread/2875ab5e-6131-4df7-80dc-c96b23d34103cpedehttp://social.msdn.microsoft.com/Profile/en-US/?user=cpedeActive Scripting Engines<span style="font-family:;font-size:x-small"><span style="font-size:x-small"> <p>I have written a great nice script host for my application. And everything works great when I use the (Windows) build in VBScript and JScript engines. However as I understood (a lot) of third party scripts engines are implemented, and then I when on a download adventure on the Web.<br/><br/>I started by downloading the ActiveScriptRuby v1.8.7 from <a href="http://arton.hp.infoseek.co.jp/">http://arton.hp.infoseek.co.jp/</a>. Setting lang=&quot;RubyScript&quot; and things seemed to run, until the script engine was about to close in m_axScript-&gt;Close(); Slam...<span style="font-size:x-small"> <pre lang=x-cpp>if (m_axScript) { m_axScript-&gt;SetScriptState(SCRIPTSTATE_DISCONNECTED); m_axScript-&gt;Close(); m_axScript-&gt;Release(); } if (m_axParse) m_axParse-&gt;Release();</pre> <font size=2> <p> </p> </font></span></p> <p>Ok probably a bad implementation, so I went for ActivePhyton, and downloaded it from <a href="http://www.activestate.com/activepython/">http://www.activestate.com/activepython/</a>. Setting lang=&quot;Python&quot;, but this time it never went passed</p> <pre lang=x-cpp>CLSID clsid; hr = ::CLSIDFromProgID(T2OLE(lang),&amp;clsid); if (FAILED(hr)) return FALSE; hr = ::CoCreateInstance(clsid,NULL,CLSCTX_INPROC_SERVER,IID_IActiveScript,reinterpret_cast&lt;void**&gt;(&amp;m_axScript)); if (FAILED(hr)) return FALSE;</pre> <p>I will of cause just use VBScript and JScript, but it surprises me that it is so difficult to get other scripting engines to work with my code.<br/><br/>Windows Vista x64 <br/>Visual Studio 2008 SP1<br/>MFC/C++<br/><br/>Any ideas are very welcome.<br/>-cpede</p> </span></span>Sat, 28 Nov 2009 21:36:55 Z2009-11-28T21:37:02Zhttp://social.msdn.microsoft.com/Forums/en-US/Vsexpressvc/thread/314a9c59-717d-42f1-9a1b-194d02577210http://social.msdn.microsoft.com/Forums/en-US/Vsexpressvc/thread/314a9c59-717d-42f1-9a1b-194d02577210neerajsatnahttp://social.msdn.microsoft.com/Profile/en-US/?user=neerajsatnaerorri am working with turboc2<br/><br/>unfortunately  atruble came .is very serious<br/><br/>i had write only <br/><br/><br/>#include&lt;iostream.h&gt;<br/><br/><br/>surpisely 26 error came infront <br/><br/>problem related to header file i think some one had tempered it <br/><br/><br/>errors are::  _ _Cdecl ()  // contructor is not initlise  &amp; 0 vale   some thing which i do not under<br/> pls help me out ??????<br/>Thu, 26 Nov 2009 05:43:03 Z2009-11-28T14:23:38Zhttp://social.msdn.microsoft.com/Forums/en-US/Vsexpressvc/thread/c235a3f4-ca04-4895-b590-270cfdfdfca9http://social.msdn.microsoft.com/Forums/en-US/Vsexpressvc/thread/c235a3f4-ca04-4895-b590-270cfdfdfca9Jeff_NewUserhttp://social.msdn.microsoft.com/Profile/en-US/?user=Jeff_NewUserErrorHi,<br/> <br/> I downloaded code off the internet and am trying to run it.  It should work becauase it has already been run by people.<br/> <br/> There are 2 Cpp files and a header file.  I created a console application and added the 3 files.  Visual Studio express 2008.<br/> <br/> DESolver.cpp<br/> DETest.cpp<br/> DESolver.h<br/> <br/> I get the error...<br/> <br/> \new folder\devcpp\detest.cpp(13) : warning C4627: '#include &quot;DESolver.h&quot;': skipped when looking for precompiled header use<br/>         Add directive to 'stdafx.h' or rebuild precompiled header<br/> <br/> How can I create a new project, add the 3 files and compile successfully?<br/> <br/> ThanksFri, 27 Nov 2009 17:35:06 Z2009-11-28T10:31:24Zhttp://social.msdn.microsoft.com/Forums/en-US/Vsexpressvc/thread/7c127fd9-ea3e-4278-9df1-9ef114798e60http://social.msdn.microsoft.com/Forums/en-US/Vsexpressvc/thread/7c127fd9-ea3e-4278-9df1-9ef114798e60Michaelsbesthttp://social.msdn.microsoft.com/Profile/en-US/?user=Michaelsbestcan I uninstall Microsoft V C ++Can Microsoft V C ++ and all of its installed components be uninstalled and then reinstalled without causing any problems?<br/>I have a duo core 64bit running windows vista home  6.0.6002 SP2.<hr class="sig">mikeFri, 27 Nov 2009 04:20:49 Z2009-11-28T09:20:57Zhttp://social.msdn.microsoft.com/Forums/en-US/Vsexpressvc/thread/006b0347-3557-40db-8f4a-c471d6c70ee8http://social.msdn.microsoft.com/Forums/en-US/Vsexpressvc/thread/006b0347-3557-40db-8f4a-c471d6c70ee8gobinathmarappanhttp://social.msdn.microsoft.com/Profile/en-US/?user=gobinathmarappanCannot able to access th CDaoDatabase class in MFC dialog based application in VC++ 2005 IDE<p>I have one doubt in visual C++ 2005</p> <p>How to inherit the CDaoDatabase class in MFC Dialog based application.</p> <p>Normally in VC++6.0 in classview rightclick on workspace name, click Add class then one</p> <p>dialog will be opened there we can choose the MFC baseclass as CDaoDatabase and create a</p> <p>new class for for accessing the database behaviour of CDaoDatabase baseclass which we</p> <p>selected.</p> <p>But now in VC++ 2005 environment same procedure i did, but CDaoDatabase class is not shown</p> <p>in the new class creation window which we selected by right click on workspace name in</p> <p>classview.</p> <p>If somebody knows how to access the CDaoDatabase class in MFC dialog based application in</p> <p>VC++ 2005 IDE please teach me</p> <p> </p>Fri, 27 Nov 2009 04:19:08 Z2009-11-27T23:24:34Zhttp://social.msdn.microsoft.com/Forums/en-US/Vsexpressvc/thread/054772c3-8145-4532-86df-07d8943b6869http://social.msdn.microsoft.com/Forums/en-US/Vsexpressvc/thread/054772c3-8145-4532-86df-07d8943b6869Raja Vadamaluhttp://social.msdn.microsoft.com/Profile/en-US/?user=Raja%20VadamaluHow to add version to my own dlls?Dear all,<br/> <br/> When I use dependency walker, I am able to see the version numbers of the different dll s used by my executable! But the exe also uses a dll created by me. But the dependency walker displays &quot;N/A&quot; when it comes to the version number of my executable! <br/> <br/> I am using VC++ Express Edition 2005, to create the dll. I would like to know how to add version information in dll s created using VC++ 2005 Express Edition.<br/> <br/> Thanks in advance!<br/> <br/> Thanks,<br/> Raja.Fri, 27 Nov 2009 07:18:19 Z2009-11-27T23:23:13Zhttp://social.msdn.microsoft.com/Forums/en-US/Vsexpressvc/thread/24d41ef3-d044-4de2-bd9c-17c15c04f433http://social.msdn.microsoft.com/Forums/en-US/Vsexpressvc/thread/24d41ef3-d044-4de2-bd9c-17c15c04f433whtankhttp://social.msdn.microsoft.com/Profile/en-US/?user=whtankReBase Tool usageI got some knowledge about ReBase tool to rebase DLL address, however I don't know how to use the parameter -R and -N.<br/><br/>Here I have many DLLs to be rebased, and there is a third part DLL which has had a fixed DLL address. Then I want that the third part DLL has its own original address and other DLLs should not override the third part DLL's address. I feel I should use param -R and -N. But I can still meet with an error.<br/><br/>Assume my DLLs are A.DLL, B.DLL, C.DLL and the third part DLL called tp.dll.<br/>rebase -b 0x40000000 -R . -N tp.dll A.dll B.dll C.dll<br/><br/>what's the meaning of 'image root'?<br/>Tue, 10 Nov 2009 08:35:38 Z2009-11-27T08:38:58Zhttp://social.msdn.microsoft.com/Forums/en-US/Vsexpressvc/thread/0f2c20d2-f59e-4c1f-a2e5-cf386a0611ffhttp://social.msdn.microsoft.com/Forums/en-US/Vsexpressvc/thread/0f2c20d2-f59e-4c1f-a2e5-cf386a0611ffLong_oshttp://social.msdn.microsoft.com/Profile/en-US/?user=Long_osCounting lines in RichTextBoxHow can I count lines in RichTextBox ? There are only numbers if it's interesting. I can't find code in C++ for VS 2008 :/Thu, 26 Nov 2009 15:56:33 Z2009-11-26T16:52:09Zhttp://social.msdn.microsoft.com/Forums/en-US/Vsexpressvc/thread/a925e720-5143-4537-96c0-6d36c05858bdhttp://social.msdn.microsoft.com/Forums/en-US/Vsexpressvc/thread/a925e720-5143-4537-96c0-6d36c05858bdDavidTMhttp://social.msdn.microsoft.com/Profile/en-US/?user=DavidTMStatic Code AnalysisHi<br/><br/>Does anyone have experience of using a static code analysis tool such as <strong>PREfast</strong> or <strong>cppcheck</strong> with Visual C++ Express 2008 on Windows XP?<br/><br/>Any recommendations or how-to's would be appreciated.<br/><hr class="sig">DavidThu, 26 Nov 2009 16:50:02 Z2009-11-26T16:50:03Zhttp://social.msdn.microsoft.com/Forums/en-US/Vsexpressvc/thread/dba88411-4283-4f3d-af5c-da74217a1fcehttp://social.msdn.microsoft.com/Forums/en-US/Vsexpressvc/thread/dba88411-4283-4f3d-af5c-da74217a1fcelixo1http://social.msdn.microsoft.com/Profile/en-US/?user=lixo1Visual Studio Express 2010 beta OpenMPDear all,<br/> Before install the new VC++ 2010 Express beta I would like to now if OpenMP is included in this new release or not.<br/> Thank you.Thu, 26 Nov 2009 16:19:52 Z2009-11-26T17:28:37Zhttp://social.msdn.microsoft.com/Forums/en-US/Vsexpressvc/thread/c41a2603-7682-4b28-ab91-7959292a205dhttp://social.msdn.microsoft.com/Forums/en-US/Vsexpressvc/thread/c41a2603-7682-4b28-ab91-7959292a205djack_kkdhttp://social.msdn.microsoft.com/Profile/en-US/?user=jack_kkdProblem with toolStripMenuItem <div>hi i have a problem with toolstripmenuitem.<br/> <br/> when i add items to menu. the menu item looks big. i was not able to edit even size to make it small. can any one help me in decreasing it size.<br/> <br/> all menuitems properties are set to autosize.<br/> <br/>   <br/> <img alt=""> <br/> <br/> thanking you,<br/> lion.king</div>Wed, 18 Nov 2009 09:41:17 Z2009-11-26T10:11:17Zhttp://social.msdn.microsoft.com/Forums/en-US/Vsexpressvc/thread/28f18ac9-38af-4e9e-b4c4-4d43e4a789a8http://social.msdn.microsoft.com/Forums/en-US/Vsexpressvc/thread/28f18ac9-38af-4e9e-b4c4-4d43e4a789a8Freqyhttp://social.msdn.microsoft.com/Profile/en-US/?user=FreqyStack overflow problemI have a problem with stack overflow in my (Win32) program which does very deep recursion - over 4000 deep recursion.<br/><br/>I'm getting a stack overflow at recursion number 596, regardless of what I set my stack size to, either using /F on the C++ compiler or changing the setting(s) for the Linker.<br/><br/>Am I doing something that's not supported? Why is the stack size setting having no effect? Is there a way I could have caused a stack overflow that's not actually to do with the recursion?<br/><br/>And BTW what is the difference between my 'reserved' stack and my 'committed' stack?Wed, 11 Nov 2009 11:56:13 Z2009-11-26T08:36:20Zhttp://social.msdn.microsoft.com/Forums/en-US/Vsexpressvc/thread/cc46234b-4d17-4cb5-bdf8-2c1a199d1482http://social.msdn.microsoft.com/Forums/en-US/Vsexpressvc/thread/cc46234b-4d17-4cb5-bdf8-2c1a199d1482SJSpldhttp://social.msdn.microsoft.com/Profile/en-US/?user=SJSpldSpecifing a new $(Variable)I am using VC++ 2008 Express. I have a solution with 27 projects. Each project is for a different Matlab mex file. I need to include Matlab headers and libraries so I have the &quot;Additional Include Directories&quot; and &quot;Additional Library Directories&quot; setup for each project. However, I want the flexibility to compile against different versions of the Matlab files. I would really like to have a variable like $(MatlabPath) which I can setup for all the projects so that I do not have to modify each one if I want to change the path in the future. However, I cannot find any reference on how to do this. I tried making a batch file which setup an environmental variable but that did not seem to work.<br/> <br/> set MATLAB=R2009a<br/> &quot;C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\VCExpress.exe&quot; clients.sln<br/> <br/> Also is there an easy way to share include paths, etc. between release and debug builds. I would hate to have to set everything up again if I want to debug the files.<br/> <br/> ThanksTue, 24 Nov 2009 22:25:21 Z2009-11-26T05:30:00Zhttp://social.msdn.microsoft.com/Forums/en-US/Vsexpressvc/thread/3357a803-6afe-450a-bbf7-9b6dd81fee89http://social.msdn.microsoft.com/Forums/en-US/Vsexpressvc/thread/3357a803-6afe-450a-bbf7-9b6dd81fee89SHamilton89http://social.msdn.microsoft.com/Profile/en-US/?user=SHamilton89Problems creating a projectHi I just re-installed Visual Studio C++ Express Edition as I couldn't create a project when I first installed it. I'm having the same issue. I click on <strong>File&gt;New&gt;Project </strong>and can then choose a file name etc but when I press ok a box pops up saying 'Navigation to the webpage was cancelled'<br/><br/>Can anyone help me fix this? I'm not too great with computers<br/><br/>Thanks.Tue, 24 Nov 2009 20:48:29 Z2009-11-26T03:19:29Zhttp://social.msdn.microsoft.com/Forums/en-US/Vsexpressvc/thread/906969f4-77de-4bc8-a583-0219eae66e59http://social.msdn.microsoft.com/Forums/en-US/Vsexpressvc/thread/906969f4-77de-4bc8-a583-0219eae66e59SonKhttp://social.msdn.microsoft.com/Profile/en-US/?user=SonKfatal error C1083: Cannot open include file: 'gl/glut.h': No such file or directoryBefore you ask , yes i already have search the forum, heck i even search yahoo for an asnwer. Very new to V C++ Express still, and i have the Platform SDK installed. I've seen the video, modified the proper files for VC++ Express.<br><br>Im currently writing a small/simple win 32 console app, using the glut library. I download GLUT, put it into the proper location:<br><br><span style="font-weight: bold;">glut</span> into D:\Program Files\Microsoft Platform SDK\include\gl<br><span style="font-weight: bold;">glut32.lib</span> into D:\Program Files\Microsoft Platform SDK\Lib<br><span style="font-weight: bold;">glut32.dll</span> into C:\WINDOWS\system32<br><br>/*beginning of my code<br>#include &lt;gl/glut.h&gt;<br><br>const GLsizei windowWidth = 500;<br>const GLsizei windowHeight = 500; */<br><br><br>I have <span style="font-weight: bold;">$FrameworkSDKDir(</span>without the <span style="font-weight: bold;">$</span> sign of course)<span style="font-weight: bold;"> </span>variable set to <span style="font-weight: bold;">D:\Program Files\Microsoft Platform SDK</span> in my System variables.<br><br>I also have <span style="font-weight: bold;">$VSInstallDir</span> variable set to <span style="font-weight: bold;">D:\Program Files\Microsoft Visual Studio 8 </span>again in my System variable.<span style="font-weight: bold;"><br><br></span>Specially, i have my include path set to: <span style="font-weight: bold;">$(FrameworkSDKDir)\include\gl </span>in my<span style="font-weight: bold;"> </span>VC++ directories<br><span style="font-weight: bold;"><br></span>With all that said and done..when i compile i get the following error:<span style="font-weight: bold;"><br><br>fatal error C1083: Cannot open include file: 'gl/glut.h': No such file or directory<br><br></span>PS i even added glut32.lib to my linker input option.<span style="font-weight: bold;"><br></span><br>So whats going on? <br>Wed, 05 Jul 2006 05:49:08 Z2009-11-25T20:44:53Zhttp://social.msdn.microsoft.com/Forums/en-US/Vsexpressvc/thread/3364e734-d6a6-4c88-abf0-b846c81a688ahttp://social.msdn.microsoft.com/Forums/en-US/Vsexpressvc/thread/3364e734-d6a6-4c88-abf0-b846c81a688aMadhuraVhttp://social.msdn.microsoft.com/Profile/en-US/?user=MadhuraVLNK 2005 and LNK 2019 error Hi<br/> <br/> I am writing a Program using OpenGL in MSVC 2008. I am getting the following error.<br/> <br/>  error LNK2005: _glewInit already defined in glew32.lib(glew32.dll)<br/> <br/>  error LNK2019: unresolved external symbol _gluPerspective@32 referenced in function &quot;void __cdecl init(void)&quot; (?init@@YAXXZ)<br/> <br/> <br/> Here are the code bits:<br/> <br/> <br/> #include &lt;stdio.h&gt;<br/> #include &lt;stdlib.h&gt;<br/> #include &lt;sys/stat.h&gt;<br/> #include &lt;exception&gt;<br/> #include &lt;iostream&gt;<br/> #include &quot;glew.h&quot;<br/> #include &lt;glut.h&gt;<br/> #include &quot;glui.h&quot;<br/> <br/> static void init()<br/> {   double k;<br/>     const float teapotColor[]     = {0.3f, 0.5f, 0.4f, 1.0f}; <br/>     const float teapotSpecular[]  = {0.8f, 0.8f, 0.8f, 1.0f};<br/>     const float teapotShininess[] = {80.0f};<br/> <br/>     glMaterialfv(GL_FRONT, GL_AMBIENT_AND_DIFFUSE, teapotColor);<br/>     glMaterialfv(GL_FRONT, GL_SPECULAR, teapotSpecular);<br/>     glMaterialfv(GL_FRONT, GL_SHININESS, teapotShininess);<br/> <br/>     glClearColor(1.0f, 1.0f, 1.0f, 1.0f);<br/> <br/>     glMatrixMode(GL_PROJECTION);<br/>     glLoadIdentity();<br/>     k=(double) glutGet(GLUT_WINDOW_WIDTH) / (double) glutGet(GLUT_WINDOW_HEIGHT);<br/>     gluPerspective(45.0,k, nearVal, farVal);<br/>     glMatrixMode(GL_MODELVIEW);<br/>     glLoadIdentity();<br/> <br/>     glLightfv(GL_LIGHT0, GL_POSITION, lightPos);<br/>     glEnable(GL_LIGHTING); <br/>     glEnable(GL_LIGHT0);<br/>     glEnable(GL_DEPTH_TEST);<br/> }<br/> <br/> <br/> Hope someone could tell me what I am doing wrong<br/>Tue, 24 Nov 2009 23:24:27 Z2009-11-25T00:29:38Zhttp://social.msdn.microsoft.com/Forums/en-US/Vsexpressvc/thread/3e3114d4-ed1a-4759-8960-20d4d6b03098http://social.msdn.microsoft.com/Forums/en-US/Vsexpressvc/thread/3e3114d4-ed1a-4759-8960-20d4d6b03098Kubonitohttp://social.msdn.microsoft.com/Profile/en-US/?user=KubonitoVC++ 2008/2010 installation error + SideBySide application errorHi<br/> First of all I must confess that I'm from Poland and my english is not perfect (but I understand everything!)<br/> <br/> I've got very irritating problem. I'll try to describe it as much as i can.<br/> <strong>I have Windows Vista x64</strong> (I'm administrator and the only one user of this PC)<br/> <br/> <strong>Step 1.</strong> <br/> I've succesfully installed application (that runs perfect on other PCs) but I can't run it - an error occurred:<br/> <em><br/> The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log for more detail.</em> <br/> <br/> Windows <strong>Event Viewer</strong> is showing this:<br/> <br/> <pre>&lt;Event xmlns=&quot;http://schemas.microsoft.com/win/2004/08/events/event&quot;&gt;<br/> &lt;System&gt;<br/> &lt;Provider Name=&quot;SideBySide&quot; /&gt;<br/> &lt;EventID Qualifiers=&quot;49409&quot;&gt;33&lt;/EventID&gt;<br/> &lt;Level&gt;2&lt;/Level&gt;<br/> &lt;Task&gt;0&lt;/Task&gt;<br/> &lt;Keywords&gt;0x80000000000000&lt;/Keywords&gt;<br/> &lt;TimeCreated SystemTime=&quot;2009-11-24T21:27:01.000Z&quot; /&gt;<br/> &lt;EventRecordID&gt;19753&lt;/EventRecordID&gt;<br/> &lt;Channel&gt;Application&lt;/Channel&gt;<br/> &lt;Computer&gt;BENDER-PC&lt;/Computer&gt;<br/> &lt;Security /&gt;<br/> &lt;/System&gt;<br/> &lt;EventData&gt;<br/> &lt;Data&gt;Microsoft.VC90.CRT,processorArchitecture=&quot;x86&quot;,publicKeyToken=&quot;1fc8b3b9a1e18e3b&quot;,type=&quot;win32&quot;,version=&quot;9.0.30729.1&quot;&lt;/Data&gt;<br/> &lt;Data&gt;<br/> &lt;/Data&gt;<br/> &lt;Data&gt;<br/> &lt;/Data&gt;<br/> &lt;Data&gt;<br/> &lt;/Data&gt;<br/> &lt;Data&gt;<br/> &lt;/Data&gt;<br/> &lt;Data&gt;<br/> &lt;/Data&gt;<br/> &lt;Data&gt;<br/> &lt;/Data&gt;<br/> &lt;Data&gt;<br/> &lt;/Data&gt;<br/> &lt;Data&gt;<br/> &lt;/Data&gt;<br/> &lt;Data&gt;<br/> &lt;/Data&gt;<br/> &lt;Data&gt;E:\Borderlands\Binaries\Borderlands.exe&lt;/Data&gt;<br/> &lt;Data&gt;<br/> &lt;/Data&gt;<br/> &lt;Data&gt;<br/> &lt;/Data&gt;<br/> &lt;Data&gt;<br/> &lt;/Data&gt;<br/> &lt;Data&gt;<br/> &lt;/Data&gt;<br/> &lt;Data&gt;<br/> &lt;/Data&gt;<br/> &lt;Data&gt;<br/> &lt;/Data&gt;<br/> &lt;Data&gt;<br/> &lt;/Data&gt;<br/> &lt;Data&gt;<br/> &lt;/Data&gt;<br/> &lt;Data&gt;<br/> &lt;/Data&gt;<br/> &lt;/EventData&gt;<br/> &lt;/Event&gt;</pre> I was trying to find the solution everywhere and there is one (and it works for everybody). People are talking that installation of <em>Visual C++ Express 2008</em> is necessary to fix this &quot;SideBySide&quot; error. But I can't install it.<br/> <br/> <strong>Step 2.</strong> <br/> I was trying to install <em>Microsoft Visual C++ Express Edition with SP1</em> first <strong>online</strong> , then <strong>offline</strong> (downloaded iso) with <a href="http://i48.tinypic.com/2qu2c69.jpg">THE SAME ERROR</a> durning installation (click the link).<br/> <br/> Windows <strong>Event Viewer</strong> is showing this:<br/> <br/> Product: Microsoft Visual C++ 2008 Redistributable - x86 9.0.30729 -- Error 1935.An error occurred during the installation of assembly 'Microsoft.VC90.ATL,version=&quot;9.0.30729.1&quot;,publicKeyToken=&quot;1fc8b3b9a1e18e3b&quot;,processorArchitecture=&quot;x86&quot;,type=&quot;win32&quot;'. Please refer to Help and Support for more information. HRESULT: 0x80070424. assembly interface: IAssemblyCacheItem, function: Commit, component: {AE56AAF5-F3C0-3D4B-8859-A1E50A3E27BF}<br/> <br/> <pre>&lt;Event xmlns=&quot;http://schemas.microsoft.com/win/2004/08/events/event&quot;&gt;<br/> &lt;System&gt;<br/> &lt;Provider Name=&quot;MsiInstaller&quot; /&gt;<br/> &lt;EventID Qualifiers=&quot;0&quot;&gt;11935&lt;/EventID&gt;<br/> &lt;Level&gt;2&lt;/Level&gt;<br/> &lt;Task&gt;0&lt;/Task&gt;<br/> &lt;Keywords&gt;0x80000000000000&lt;/Keywords&gt;<br/> &lt;TimeCreated SystemTime=&quot;2009-11-24T23:00:09.000Z&quot; /&gt;<br/> &lt;EventRecordID&gt;19808&lt;/EventRecordID&gt;<br/> &lt;Channel&gt;Application&lt;/Channel&gt;<br/> &lt;Computer&gt;BENDER-PC&lt;/Computer&gt;<br/> &lt;Security UserID=&quot;S-1-5-21-3041510132-1417569944-3099300184-1000&quot; /&gt;<br/> &lt;/System&gt;<br/> &lt;EventData&gt;<br/> &lt;Data&gt;Product: Microsoft Visual C++ 2008 Redistributable - x86 9.0.30729 -- Error 1935.An error occurred during the installation of assembly 'Microsoft.VC90.ATL,version=&quot;9.0.30729.1&quot;,publicKeyToken=&quot;1fc8b3b9a1e18e3b&quot;,processorArchitecture=&quot;x86&quot;,type=&quot;win32&quot;'. Please refer to Help and Support for more information. HRESULT: 0x80070424. assembly interface: IAssemblyCacheItem, function: Commit, component: {AE56AAF5-F3C0-3D4B-8859-A1E50A3E27BF}&lt;/Data&gt;<br/> &lt;Data&gt;(NULL)&lt;/Data&gt;<br/> &lt;Data&gt;(NULL)&lt;/Data&gt;<br/> &lt;Data&gt;(NULL)&lt;/Data&gt;<br/> &lt;Data&gt;(NULL)&lt;/Data&gt;<br/> &lt;Data&gt;<br/> &lt;/Data&gt;<br/> &lt;Data&gt;<br/> &lt;/Data&gt;<br/> &lt;Binary&gt;7B33433344363936422D304442372D334336442D413335362D3344423843453534313931387D&lt;/Binary&gt;<br/> &lt;/EventData&gt;<br/> &lt;/Event&gt;</pre> <br/> <strong>Step 3.</strong> <br/> I was also trying to install <em>Microsoft Visual C++ Express Edition 2010 beta </em> with faith that will work same/better than 2008 edition (online and offline). When it was installed (without errors) It asked for restart to finish the installation. After the restart installator is giving similiar error message that 2008 edition did. <a href="http://i46.tinypic.com/2s1smz4.jpg">CHECK IT OUT HERE.</a> <br/> <br/> Windows <strong>Event Viewer</strong> is showing this:<br/> <br/> Product: Microsoft Application Error Reporting -- Error 1935. An error occurred during the installation of assembly 'Microsoft.VC80.CRT,version=&quot;8.0.50727.42&quot;,type=&quot;win32&quot;,processorArchitecture=&quot;x86&quot;,publicKeyToken=&quot;1fc8b3b9a1e18e3b&quot;'. Please refer to Help and Support for more information. HRESULT: 0x80070424. assembly interface: IAssemblyCacheItem, function: Commit, component: {98CB24AD-52FB-DB5F-A01F-C8B3B9A1E18E}<br/> <br/> <pre>&lt;Event xmlns=&quot;http://schemas.microsoft.com/win/2004/08/events/event&quot;&gt;<br/> &lt;System&gt;<br/> &lt;Provider Name=&quot;MsiInstaller&quot; /&gt;<br/> &lt;EventID Qualifiers=&quot;0&quot;&gt;11935&lt;/EventID&gt;<br/> &lt;Level&gt;2&lt;/Level&gt;<br/> &lt;Task&gt;0&lt;/Task&gt;<br/> &lt;Keywords&gt;0x80000000000000&lt;/Keywords&gt;<br/> &lt;TimeCreated SystemTime=&quot;2009-11-24T22:19:48.000Z&quot; /&gt;<br/> &lt;EventRecordID&gt;19790&lt;/EventRecordID&gt;<br/> &lt;Channel&gt;Application&lt;/Channel&gt;<br/> &lt;Computer&gt;BENDER-PC&lt;/Computer&gt;<br/> &lt;Security UserID=&quot;S-1-5-21-3041510132-1417569944-3099300184-1000&quot; /&gt;<br/> &lt;/System&gt;<br/> &lt;EventData&gt;<br/> &lt;Data&gt;Product: Microsoft Application Error Reporting -- Error 1935. An error occurred during the installation of assembly 'Microsoft.VC80.CRT,version=&quot;8.0.50727.42&quot;,type=&quot;win32&quot;,processorArchitecture=&quot;x86&quot;,publicKeyToken=&quot;1fc8b3b9a1e18e3b&quot;'. Please refer to Help and Support for more information. HRESULT: 0x80070424. assembly interface: IAssemblyCacheItem, function: Commit, component: {98CB24AD-52FB-DB5F-A01F-C8B3B9A1E18E}&lt;/Data&gt;<br/> &lt;Data&gt;(NULL)&lt;/Data&gt;<br/> &lt;Data&gt;(NULL)&lt;/Data&gt;<br/> &lt;Data&gt;(NULL)&lt;/Data&gt;<br/> &lt;Data&gt;(NULL)&lt;/Data&gt;<br/> &lt;Data&gt;<br/> &lt;/Data&gt;<br/> &lt;Data&gt;<br/> &lt;/Data&gt;<br/> &lt;Binary&gt;7B39353132303030302D303042392D303430392D303030302D3030303030303046463143457D&lt;/Binary&gt;<br/> &lt;/EventData&gt;<br/> &lt;/Event&gt;</pre> <br/> I don't know what is going on :( <br/> In <strong>services.msc</strong> I have everything running like it shoud (I was reading about this)<br/> <br/> I have succesfully installed:<br/> <strong>Microsoft Visual C++ 2005 Redistributable (x64)<br/> Microsoft Visual C++ 2008 Redistributable - x64 9.0.30729.17<br/> Microsoft .NET Framework 3.5</strong> <br/> if that information is useful...<br/> <strong><span style="text-decoration:underline"><br/> I just want to run this application without SideBySide error</span> :( </strong> Please help me if you can.<br/> If you need more detailed information you also must tell me how to get it because from now on I'm almost casual :/Tue, 24 Nov 2009 23:24:54 Z2009-11-25T00:22:52Zhttp://social.msdn.microsoft.com/Forums/en-US/Vsexpressvc/thread/c294222f-5c93-4ab2-8d03-53011e34e2ebhttp://social.msdn.microsoft.com/Forums/en-US/Vsexpressvc/thread/c294222f-5c93-4ab2-8d03-53011e34e2ebUser_Helphttp://social.msdn.microsoft.com/Profile/en-US/?user=User_Helptoupper("help")I want to store text in a char and output it in uppercase using the &quot;toupper()&quot; function. For some reason it only works with a single character/letter (whatever), and when I output my single letter using the &quot;toupper()&quot; function, it always displays a number. This is the way I do it:<br/><br/> <pre lang=x-cpp>char text1, text2; cout&lt;&lt;&quot;Enter text: &quot;&lt;&lt;endl; cin&gt;&gt;text1; cout&lt;&lt;&quot;Enter more text: &quot;&lt;&lt;endl; cin&gt;&gt;text2; cout&lt;&lt;&quot;text1: &quot;&lt;&lt;text1&lt;&lt;&quot; \ntext2: &quot;&lt;&lt;text2&lt;&lt;endl; if( toupper(text1) ==toupper(text2)) cout&lt;&lt;&quot;The text is equal.&quot;&lt;&lt;endl; cout&lt;&lt;&quot;text1: &quot;&lt;&lt;toupper(text1)&lt;&lt;&quot; \ntext2: &quot;&lt;&lt;toupper(text2)&lt;&lt;endl;</pre> Any help would be appreciated. Thanks<br/><br/><br/>Mon, 23 Nov 2009 00:48:36 Z2009-11-24T21:52:20Zhttp://social.msdn.microsoft.com/Forums/en-US/Vsexpressvc/thread/a373514e-0d76-47d2-b454-d398f9577e61http://social.msdn.microsoft.com/Forums/en-US/Vsexpressvc/thread/a373514e-0d76-47d2-b454-d398f9577e61Gary Swhttp://social.msdn.microsoft.com/Profile/en-US/?user=Gary%20SwRegistration keyI went through the registration process.  Now where do I get the registration key?  I received an e-mail asking me to verify my e-mail address, which I did, but I get no registration key.  This whole process is one royal PIA.Tue, 10 Nov 2009 21:09:21 Z2009-11-24T05:09:50Zhttp://social.msdn.microsoft.com/Forums/en-US/Vsexpressvc/thread/3e63f0aa-ffd2-4684-8958-e7ce240e2b89http://social.msdn.microsoft.com/Forums/en-US/Vsexpressvc/thread/3e63f0aa-ffd2-4684-8958-e7ce240e2b89diseasedtoothhttp://social.msdn.microsoft.com/Profile/en-US/?user=diseasedtoothNew to Development!Hello! I am new to software development and the C++ language. What books to you do suggest that can get me started on learning C++??? Thanks :DMon, 09 Nov 2009 23:53:48 Z2009-11-24T02:50:10Zhttp://social.msdn.microsoft.com/Forums/en-US/Vsexpressvc/thread/fc57bef9-8627-44a1-ab83-1a20240a2a51http://social.msdn.microsoft.com/Forums/en-US/Vsexpressvc/thread/fc57bef9-8627-44a1-ab83-1a20240a2a51zapzipzaphttp://social.msdn.microsoft.com/Profile/en-US/?user=zapzipzapIs there a way to change Parent/Child behaviour ?what I need is (with API only) to make a parent window be able to cover its childs.<br/> <br/> I display windows as childs to the main window, so on close main window, I won't need to remember each child, and close it.<br/> <br/> but the problem, when I want access the main (parent) window, the childs don't let me, they cover it.<br/> <br/> is there an API way to change this, so a child won't cover parent  (without hiding/closing), and still remain its child ?<br/> <br/> thanks in advance.Mon, 23 Nov 2009 10:23:52 Z2009-11-23T16:37:03Zhttp://social.msdn.microsoft.com/Forums/en-US/Vsexpressvc/thread/0ff23fa1-0788-405e-b6c9-034c013d3652http://social.msdn.microsoft.com/Forums/en-US/Vsexpressvc/thread/0ff23fa1-0788-405e-b6c9-034c013d3652Dog Whispererhttp://social.msdn.microsoft.com/Profile/en-US/?user=Dog%20Whispererfatal error C1902: Program database manager mismatch; please check your installationHi all,<br><br>When I run some of my small programs I get this message.<br><br><font size=1> <p><font style="font-size:12px" color="#ff0000">fatal error C1902: Program database manager mismatch; please check your installation<br></font><br><font style="font-size:12px">Mind you I wrote this code complied and ran it yesterday with no error messages.<br><br>I run the same code on a work machine and it works fine. Both my computer and the work computer were installed from the same source files.<br><br>I searched for this error and was directed to install SP1 version my version is 9.0.30729.1SP</font></p> <p><font style="font-size:12px">Another suggestion was there was a compatibility issue between 3 files, I have not changed any files and this would not explain this code running yesterday and not today. When I go the link expecting to find the 3 offending files there is nothing there. The files stated as a possible source of my error message are mspdbsrv.exe, mspdbcore.dll, and mspdb80.dll.</font></p> <p><font style="font-size:12px">I have completely uninstalled and reinstalled no difference, can anyone help please? </font></p> <p><font style="font-size:12px">The error message in full is<br><br><font size=1></p> <p>1&gt;Compiling...</p> <p>1&gt;main_files.cpp</p> <p>1&gt;.\main_files.cpp : fatal error C1902: Program database manager mismatch; please check your installation</p> <p>1&gt;Build log was saved at &quot;file://d:\Data\Code\Program_28_Files\Program_28_Files\Release\BuildLog.htm&quot;</p> <p>1&gt;Program_28_Files - 1 error(s), 0 warning(s)</p> <p>========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========</p> <p></font><br><br>The code is<br><br><font color="#0000ff" size=2><font color="#0000ff" size=2></p> <p>#include</font></font> <font color="#a31515" size=2><font color="#a31515" size=2>&lt;iostream&gt;</p> <p></font></font><font color="#0000ff" size=2><font color="#0000ff" size=2>using</font></font><font size=2> std::cerr;</p> <p></font><font color="#0000ff" size=2><font color="#0000ff" size=2>using</font></font><font size=2> std::cin;</p> <p></font><font color="#0000ff" size=2><font color="#0000ff" size=2>using</font></font><font size=2> std::cout;</p> <p></font><font color="#0000ff" size=2><font color="#0000ff" size=2>using</font></font><font size=2> std::endl;</p> <p></font><font color="#0000ff" size=2><font color="#0000ff" size=2>using</font></font><font size=2> std::ios;</p> <p></font><font color="#0000ff" size=2><font color="#0000ff" size=2>using</font></font><font size=2> std::left;</p> <p></font><font color="#0000ff" size=2><font color="#0000ff" size=2>#include</font></font> <font color="#a31515" size=2><font color="#a31515" size=2>&lt;iomanip&gt;</p> <p></font></font><font color="#0000ff" size=2><font color="#0000ff" size=2>using</font></font><font size=2> std::setw;</p> <p></font><font color="#0000ff" size=2><font color="#0000ff" size=2>#include</font></font> <font color="#a31515" size=2><font color="#a31515" size=2>&lt;fstream&gt;</p> <p></font></font><font color="#0000ff" size=2><font color="#0000ff" size=2>using</font></font><font size=2> std::ofstream;</p> <p></font><font color="#0000ff" size=2><font color="#0000ff" size=2>#include</font></font> <font color="#a31515" size=2><font color="#a31515" size=2>&lt;cstdlib&gt;</p> <p></font></font><font color="#0000ff" size=2><font color="#0000ff" size=2>using</font></font><font size=2> std::exit;</p> <p></font><font color="#0000ff" size=2><font color="#0000ff" size=2>int</font></font><font size=2> main()</p> <p>{</p> <p>ofstream ofsDataFile(</font><font color="#a31515" size=2><font color="#a31515" size=2>&quot;TestFile.dat&quot;</font></font><font size=2>, ios::app); </p> <p></font><font color="#0000ff" size=2><font color="#0000ff" size=2>if</font></font><font size=2>(!ofsDataFile)</p> <p>{</p> <p>cerr &lt;&lt; </font><font color="#a31515" size=2><font color="#a31515" size=2>&quot;File could not be opened&quot;</font></font><font size=2> &lt;&lt; endl;</p> <p>exit(1);</p> <p>}</p> <p>cout &lt;&lt; </font><font color="#a31515" size=2><font color="#a31515" size=2>&quot;Enter the Record number, name, and balance. &quot;</font></font><font size=2> &lt;&lt; endl</p> <p>&lt;&lt; </font><font color="#a31515" size=2><font color="#a31515" size=2>&quot;Enter end-of-file Ctrl z (^z) to end input.\n&quot;</font></font><font size=2>;</p> <p></font><font color="#0000ff" size=2><font color="#0000ff" size=2>int</font></font><font size=2> iRecord = 100;</p> <p></font><font color="#0000ff" size=2><font color="#0000ff" size=2>char</font></font><font size=2> caName[30];</p> <p></font><font color="#0000ff" size=2><font color="#0000ff" size=2>double</font></font><font size=2> dBalance;</p> <p></font><font color="#0000ff" size=2><font color="#0000ff" size=2>while</font></font><font size=2>(!cin.eof())</p> <p>{</p> <p>cout &lt;&lt; setw(10) &lt;&lt; left &lt;&lt; endl &lt;&lt; </font><font color="#a31515" size=2><font color="#a31515" size=2>&quot;Record: &quot;</font></font><font size=2> &lt;&lt; iRecord &lt;&lt; endl;</p> <p></p> <p></font><font color="#0000ff" size=2><font color="#0000ff" size=2>if</font></font><font size=2>(!cin.eof())</p> <p>{</p> <p>cout &lt;&lt; setw(10) &lt;&lt; left &lt;&lt; </font><font color="#a31515" size=2><font color="#a31515" size=2>&quot;Name: &quot;</font></font><font size=2>;</p> <p>cin &gt;&gt; caName;</p> <p>}</p> <p></p> <p></font><font color="#0000ff" size=2><font color="#0000ff" size=2>if</font></font><font size=2>(!cin.eof())</p> <p>{</p> <p>cout &lt;&lt; setw(10) &lt;&lt; left &lt;&lt; </font><font color="#a31515" size=2><font color="#a31515" size=2>&quot;Balance: &quot;</font></font><font size=2>;</p> <p>cin &gt;&gt; dBalance;</p> <p>}</p> <p></p> <p></font><font color="#0000ff" size=2><font color="#0000ff" size=2>if</font></font><font size=2>(!cin.eof())</p> <p>ofsDataFile &lt;&lt; iRecord &lt;&lt; </font><font color="#a31515" size=2><font color="#a31515" size=2>' '</font></font><font size=2> &lt;&lt; caName &lt;&lt; </font><font color="#a31515" size=2><font color="#a31515" size=2>' '</font></font><font size=2> &lt;&lt; dBalance &lt;&lt; endl;</p> <p></p> <p>iRecord++;</p> <p>}</p> <p></font><font color="#0000ff" size=2><font color="#0000ff" size=2>return</font></font><font size=2> 0;</p> <p>}</p></font> <p><br><br><br></font> </p></font>Fri, 27 Mar 2009 12:22:13 Z2009-11-23T14:58:28Zhttp://social.msdn.microsoft.com/Forums/en-US/Vsexpressvc/thread/43a1c6f3-9156-4f59-a382-ad61a9847176http://social.msdn.microsoft.com/Forums/en-US/Vsexpressvc/thread/43a1c6f3-9156-4f59-a382-ad61a9847176sanitohttp://social.msdn.microsoft.com/Profile/en-US/?user=sanitoLINK TO A LIBRARY SPECIFIED VIA A PATHNAMEHow do I specify a library to LINK?  I want to use a library that is not in the path specified by the path environment.Wed, 18 Nov 2009 18:43:58 Z2009-11-25T08:03:29Zhttp://social.msdn.microsoft.com/Forums/en-US/Vsexpressvc/thread/993a6aaf-b999-465a-9a06-de05714f5d1ehttp://social.msdn.microsoft.com/Forums/en-US/Vsexpressvc/thread/993a6aaf-b999-465a-9a06-de05714f5d1eRahul.Kulshreshthahttp://social.msdn.microsoft.com/Profile/en-US/?user=Rahul.KulshreshthaWhy My App is crazy with 1 Jan 1970<div>Hello I am using the following code to find the seconds passed since 1 Feb 1970<br/> It is working fine with 1 Feb. If I try to do it for 1 Jan then I get a big 0 in output. Why is it so ?? What to do ?? Currently I am manually adding 2678400 seconds to what I get from 1 Feb.<br/> <br/> <br/> #include &lt;time.h&gt;<br/> #include &lt;ctime&gt;<br/> #include &lt;iostream&gt;<br/> <br/> using namespace std;<br/> <br/> double dateDifferenceInSeconds(std::time_t date1, std::time_t date2)<br/> {<br/>       if ( date1 != (std::time_t)(-1) &amp;&amp; date2 != (std::time_t)(-1) )<br/>      {<br/>            return std::difftime(date2, date1) ;/// (60 * 60 * 24); <br/>       }<br/>     return NULL;<br/> }<br/> <br/> <br/> int main()<br/> {<br/>         struct std::tm a = {0,0,0,2,0,70}; /* Feb 1, 1970 */<br/> <br/>         time_t currentTime;<br/>         time ( &amp;currentTime );<br/>         time_t x = mktime(&amp;a);<br/> <br/> <br/>         double timeInSeconds = dateDifferenceInSeconds(x, currentTime);<br/>         printf(&quot;\n%.0lf\n&quot;,timeInSeconds + 2678400); // Adding seconds of 1 month<br/>     return 0;<br/> }<br/> <br/> <br/> If I use {0,0,0,1,0,70} in place of {0,0,0,2,0,70} for starting it from 1 jan then I get 0 as output</div>Mon, 23 Nov 2009 05:48:07 Z2009-11-23T07:24:51Zhttp://social.msdn.microsoft.com/Forums/en-US/Vsexpressvc/thread/942e3a2b-bc43-4e23-9a90-852a65c1aca2http://social.msdn.microsoft.com/Forums/en-US/Vsexpressvc/thread/942e3a2b-bc43-4e23-9a90-852a65c1aca2mt2002http://social.msdn.microsoft.com/Profile/en-US/?user=mt2002Linker errorHello everyone,<br/> <br/> Does anyone know how to get rid of this error? It sounds like a double negative in the error description thus is quite confusing.<br/> <br/> fatal error LNK1295: '/DYNAMICBASE:NO' not compatible with '/DRIVER' specification;<br/> link without '/DYNAMICBASE:NO'<br/> <br/> How do we &quot;Link without '/DYNAMICBASE:NO' &quot;?<br/> <br/> Thanks for any help :)<br/> <br/>Sat, 25 Apr 2009 21:16:50 Z2009-11-23T02:57:06Zhttp://social.msdn.microsoft.com/Forums/en-US/Vsexpressvc/thread/58700339-8c92-48d8-8c35-6de03b7455a8http://social.msdn.microsoft.com/Forums/en-US/Vsexpressvc/thread/58700339-8c92-48d8-8c35-6de03b7455a8Elit99http://social.msdn.microsoft.com/Profile/en-US/?user=Elit99Installed Memory<br/> I couldn't find anything on how to tell how much memory is installed in a computer. <br/> <br/> My question is how do I find out how much memory is installed? <br/> Also it needs to be cross platform, the more the better.Sat, 21 Nov 2009 16:42:16 Z2009-11-22T22:58:22Zhttp://social.msdn.microsoft.com/Forums/en-US/Vsexpressvc/thread/68ff263a-186a-4c91-be19-404482b1fdd0http://social.msdn.microsoft.com/Forums/en-US/Vsexpressvc/thread/68ff263a-186a-4c91-be19-404482b1fdd0Gbothttp://social.msdn.microsoft.com/Profile/en-US/?user=Gbotgeneral error c101008d: Failed to write the updated manifest to the resource of file... Access is denied.<p align=left>I recently upgraded to Vista and having been tinkering with Visual C++ 2008 EE.</p> <p align=left> </p> <p align=left>When I first compile code (in Release of Debug mode) it works fine. However, next time I compile I get the error message above.</p> <p align=left> </p> <p align=left>The reason appears to be due to a Release (or Debug) folder being created in my Solution folder that is created with Read-Only attributes. If I delete this folder I can compile/run again but end up having to do this every time.</p> <p align=left> </p> <p align=left>How do I stop this folder being created [as read-only]? (and why is it necessary?)</p>Sat, 05 Jan 2008 19:46:44 Z2009-11-22T19:32:58Zhttp://social.msdn.microsoft.com/Forums/en-US/Vsexpressvc/thread/571b9dbc-95f8-402a-af19-0584f4a1362ehttp://social.msdn.microsoft.com/Forums/en-US/Vsexpressvc/thread/571b9dbc-95f8-402a-af19-0584f4a1362eShaneLessorhttp://social.msdn.microsoft.com/Profile/en-US/?user=ShaneLessorHow do I make a normal window?Hello everyone, I would like to know what is the basic code to make a simple window in C++? I'm using Visual C++ Express Edition if anyone is curious. I just want to know how to make a window that contains text or an &quot;Ok&quot; button. If anyone knows the answer, please respond.<br/> Thanks,<br/> ShaneWed, 18 Nov 2009 21:15:52 Z2009-11-25T08:05:13Zhttp://social.msdn.microsoft.com/Forums/en-US/Vsexpressvc/thread/3a65e69c-2d19-40a1-af85-6275cfb73c82http://social.msdn.microsoft.com/Forums/en-US/Vsexpressvc/thread/3a65e69c-2d19-40a1-af85-6275cfb73c82tomwidhttp://social.msdn.microsoft.com/Profile/en-US/?user=tomwidCan I install Visual C++ Express on a computor with Visual Studio installed?Hi!<br/><br/>I want to try the Dark GDK and install Visual C++ 2008 Express Edition side-by-side with Visual Studio 2008. Is that possible? I have tried to install Dark GDK on Visual Studio 2008, using guides on the msdn, but failed.Wed, 18 Nov 2009 22:04:25 Z2009-11-25T11:23:32Zhttp://social.msdn.microsoft.com/Forums/en-US/Vsexpressvc/thread/c8cf95f4-db78-46a9-807a-5660c107e414http://social.msdn.microsoft.com/Forums/en-US/Vsexpressvc/thread/c8cf95f4-db78-46a9-807a-5660c107e414aleahl213http://social.msdn.microsoft.com/Profile/en-US/?user=aleahl213New i c++i am wery new in c++. <br/> How can I get a button to start an other program?<br/> I want it to start somthing in &quot;C:\Program Files\Electronic Arts\The Sims 3\Game\Bin&quot;<br/> How can I do that?<br/> <br/> -AleexTue, 17 Nov 2009 15:57:46 Z2009-11-24T05:26:40Zhttp://social.msdn.microsoft.com/Forums/en-US/Vsexpressvc/thread/398aebbb-10bc-42d3-8e86-2b5b40f424e5http://social.msdn.microsoft.com/Forums/en-US/Vsexpressvc/thread/398aebbb-10bc-42d3-8e86-2b5b40f424e5Lil Joehttp://social.msdn.microsoft.com/Profile/en-US/?user=Lil%20JoeDark GDK, need help<div align=left>Hello everybody, I got to folowing problem, I am makeing a game in Microsoft C++ 2008 Expres Edition and Dark GDK. How can I make the game run on full screen and how can I set the resolution for the screen?<br></div>Wed, 30 Jul 2008 13:41:54 Z2009-11-20T01:03:54Zhttp://social.msdn.microsoft.com/Forums/en-US/Vsexpressvc/thread/7b4fa10a-2687-4055-969d-2b3d30556d35http://social.msdn.microsoft.com/Forums/en-US/Vsexpressvc/thread/7b4fa10a-2687-4055-969d-2b3d30556d35kzonahttp://social.msdn.microsoft.com/Profile/en-US/?user=kzonaHow to read more than one number from a textbox and use it in other formI'm getting some errors when i'm tring to use more than one number in another form.<br/>I've a Form1 that I use to read some numbers and I use it in Form2.<br/><br/>I'm making it:<br/><br/> <div> <div>&quot;Line1&quot;<span style="white-space:pre"> </span>Form1(double test):x1(test)</div> <div>{</div> <div>this-&gt;x1=y1;</div> <div>this-&gt;x2=y2;</div> <div>&quot;Line2&quot;<span style="white-space:pre"> </span>this-&gt;label1-&gt;Text=y1.ToString();</div> <div>&quot;Line3&quot;<span style="white-space:pre"> </span>this-&gt;label2-&gt;Text=y2.ToString();<br/></div> <div>}</div> <div><br/></div> <div>Line2 is OK, it's giving me the number that I wrote, but Line3 give me just the number zero.</div> <div>When I try to change the &quot;line1&quot; i got somo errors</div> <div><br/></div> <div>thank you</div> </div>Mon, 09 Nov 2009 11:43:13 Z2009-11-19T22:30:29Zhttp://social.msdn.microsoft.com/Forums/en-US/Vsexpressvc/thread/b2b1d7b2-53ae-4fa7-99e4-d379a2c5d36ahttp://social.msdn.microsoft.com/Forums/en-US/Vsexpressvc/thread/b2b1d7b2-53ae-4fa7-99e4-d379a2c5d36aHaridhar Srivatsahttp://social.msdn.microsoft.com/Profile/en-US/?user=Haridhar%20Srivatsasimple.c(1) : fatal error C1034: stdio.h: no include path set<p>I am an absolute beginner of C programming.  I downloaded MS VC++ 2008 Express Edition onto my system (Vista Business 32 bit, 1GB RAM, 1.8 GHz and 250GB HDD). I set an Environment Variable PATH to &quot;C:\Program Files\Microsoft Visual Studio 9.0\VC\bin;&quot; so that I can run my programs in my local directory (D:\Pcpp). <br/><br/>1) After setting the Environment Variable PATH, I tested for the compiler by typing &quot;cl&quot; on command prompt under directory &quot;D:\Pcpp&quot;. I got the O/P that is  expected-<br/><br/>usage: cl [ option... ] filename... [ /link linkoption... ]<br/><br/>2) Then I went for a simple program by typing &quot;notepad simple.c&quot; under directory &quot;D:\Pcpp&quot;. The program is<br/><br/>#include &lt;stdio.h&gt;</p> <p>int main()<br/>{<br/>    printf(&quot;This is a native C program.\n&quot;);<br/>    return 0;<br/>}<br/><br/><br/>3) Then compiled the program by typing &quot;cl simple.c&quot; under &quot;D:\Pcpp&quot; directory<br/><br/>4) To my disappointment, an error occurred. The error is <br/><br/>simple.c(1) : fatal error C1034: stdio.h: no include path set<br/><br/><br/>Whats wrong with my program?<br/><br/>A step by step guidance will br very much appreciated.<br/><br/>Thanks in advance<br/><br/>-Haridhar Srivatsa</p>Wed, 18 Nov 2009 13:58:12 Z2009-11-25T11:20:06Zhttp://social.msdn.microsoft.com/Forums/en-US/Vsexpressvc/thread/afec5d66-0f13-432f-8346-9555b1291b8ehttp://social.msdn.microsoft.com/Forums/en-US/Vsexpressvc/thread/afec5d66-0f13-432f-8346-9555b1291b8ekingartjrhttp://social.msdn.microsoft.com/Profile/en-US/?user=kingartjrI can't seem to connect to an Access Database.I have setup in &quot;Data Connections&quot; a connection to the database and it sees the table and all. <div><br/></div> <div>But when I go to 'Data Sources' I only have 'Object' as an option and 'database' doesn't appear.  </div> <div><br/></div> <div>Is there any idea Why this would be the case?  I'm using Visual C++ 2008 Express.  Is there something I need to install or some setting I am missing for the project to use 'database'?</div> <div><br/></div> <div>Thanks,</div> <div><br/></div> <div>kingartjr</div>Wed, 18 Nov 2009 01:33:20 Z2009-11-25T02:34:22Zhttp://social.msdn.microsoft.com/Forums/en-US/Vsexpressvc/thread/6c0558b4-c505-4470-984d-0fb410f83249http://social.msdn.microsoft.com/Forums/en-US/Vsexpressvc/thread/6c0558b4-c505-4470-984d-0fb410f83249BobaJoehttp://social.msdn.microsoft.com/Profile/en-US/?user=BobaJoevisual C++ 2008 express Key command code problemI just want to know a code that will allow me to move my sprite using A and D instead of the left and right arrow keys.<br/> <br/> thanks<br/> <br/>     //I want Sprite2 to move left when I press A.<br/>     if(dbAKey()== 1 )<br/>     {<br/>         dbRotateSprite(3,90);<br/>         dbMoveSprite(3,-3);<br/>         dbRotateSprite(3,0);<br/>     }<br/> <br/>     //I want Sprite2 to move right when I press D.<br/>     if(dbDKey()== 1 )<br/>     {<br/>         dbRotateSprite(3,90);<br/>         dbMoveSprite(3,3);<br/>         dbRotateSprite(3,0);<br/>     }<br/>Sun, 15 Nov 2009 23:32:19 Z2009-11-23T03:30:05Zhttp://social.msdn.microsoft.com/Forums/en-US/Vsexpressvc/thread/4204ad63-5c9c-4cdf-8baa-4915dbc0bf97http://social.msdn.microsoft.com/Forums/en-US/Vsexpressvc/thread/4204ad63-5c9c-4cdf-8baa-4915dbc0bf97homer_d_ohhttp://social.msdn.microsoft.com/Profile/en-US/?user=homer_d_ohdisappearing/submarining TreeView selection hiliteRe-posted question as <a href="http://social.msdn.microsoft.com/Forums/en-US/windowsuidevelopment/thread/d475a31b-1ec5-4a74-ab91-e2e21c4a2778/">disappearing/submarining TreeView selection hilite [re-post]</a> in the <a href="../../../windowsuidevelopment/threads/">UI Development for Windows</a> forum, as suggested.Mon, 16 Nov 2009 13:04:59 Z2009-11-16T18:08:51Zhttp://social.msdn.microsoft.com/Forums/en-US/Vsexpressvc/thread/b638d054-a8fd-4fc6-9bd6-2af939a0e84chttp://social.msdn.microsoft.com/Forums/en-US/Vsexpressvc/thread/b638d054-a8fd-4fc6-9bd6-2af939a0e84czapzipzaphttp://social.msdn.microsoft.com/Profile/en-US/?user=zapzipzapi have a question with shellexecute APIfirst, the bottom line of the task i want to do, is to get windowhandle after executing some app<br/> <br/> i saw an example code, showing how to get wHandle via Instance Handle,<br/> you need to get the ID Process via GetWindowThreadProcessId of all current runing windows,<br/> and comapre it with yours, until it match, so you know that window is the window you executed.<br/> <br/> so, i tried shellexecute (preffered API for execute), but i didn't success, i think because the handle return from shellexecute<br/> is not a handle that i can use with GetWindowThreadProcessId.<br/> <br/> then i tried CreateProcess, and the handle from this is good,<br/> the problem is i didn't succeed to execute every app i wanted, though i used the same code to execute every app.<br/> <br/> so my question is<br/> how to get the window handle of an app that i executed with shellexecute ?<br/> <br/> if this is not possible by the data return from shellexecute,<br/> and only possible with other technique, of searching windows text,class etc...<br/> <br/> i need a sample code, demonstrate how to use CreateProcess, to execute every app i want,<br/> with full success<br/> <br/> thanks in advance.Sun, 08 Nov 2009 11:59:43 Z2009-11-16T12:22:51Zhttp://social.msdn.microsoft.com/Forums/en-US/Vsexpressvc/thread/622d22fb-bf62-4684-8255-7673f163a3a0http://social.msdn.microsoft.com/Forums/en-US/Vsexpressvc/thread/622d22fb-bf62-4684-8255-7673f163a3a0PeteJM01http://social.msdn.microsoft.com/Profile/en-US/?user=PeteJM01string data type conversion errors<P>I have been trying to get a std::string to convert to a system::string, the std one is somehow used by default by the namespace that I have create.</P> <P>The namespace function that I am trying to use is:</P><FONT size=2> <P><FONT style="BACKGROUND-COLOR: #ccffcc"><STRONG>string GetDatah::GetData::monster_name() {</STRONG></FONT></P> <P></FONT><FONT style="BACKGROUND-COLOR: #ccffcc"><STRONG><FONT color=#0000ff size=2>return</FONT><FONT size=2> </FONT><FONT color=#800000 size=2>"Test message!"</FONT></STRONG></FONT><FONT size=2><FONT style="BACKGROUND-COLOR: #ccffcc"><STRONG>;</STRONG></FONT></P> <P><FONT style="BACKGROUND-COLOR: #ccffcc"><STRONG>}</STRONG></FONT></P> <P>When I call this function and try and print this message to a windows form label, the compiler comes up with the error:</P> <P><STRONG>Error&nbsp;1&nbsp;error C2664: 'void System::Windows::Forms::Control::Text::set(System::String ^)' : cannot convert parameter 1 from 'std::string' to 'System::String ^'&nbsp;c:\documents and settings\peter\my documents\visual studio 2005\projects\c++\prorpg\prorpg game engine\prorpg game engine\Form1.h&nbsp;100</STRONG></P> <P>So the function was passed as a std class string, and the windows form uses system strings...</P> <P>Is there a way to convert the std::string to a system::string....</P> <P>Please I can't work this out..<BR></P></FONT>Wed, 30 Aug 2006 08:20:50 Z2009-11-16T01:11:20Z