Answer Questions
samdc Error when building.
Hi, I'm new to C++ and am having some troubles. I am trying to create my first successful program (just one that displays words to the screen). I have the source code and everything however the following error message comes up when I try to "build" the program: "Compiling managed resources... c:\- - -\ - -\ - - -\ - - -\ - - - - - -\ - - - \ GlobalConfig.resx(42,5): error RG0000: Type System.Drawing.Point, System.Drawing in the data at line 4 ...Show All
Ken Morley msvcr80.dll Problem
Hi there, can someone possibly tell me why Noton WinDoctor is telling me that 10 executables in the .NET Framework 2.0 cannot access the necessary dll file msvcr80.dll I see that the dll exists in the WinSxS directory and I'm running XP pro. I didn't have this problem until I downloaded the 2.0 framework at windows update. Any advice appreciated. Thanks. Naolin Hi Martin, can you clarify on what you mean when y ...Show All
Shailesh error C2143: syntax error : missing ';' before '^'
<Amitoj@discussions.microsoft.com> wrote in message news:c34e795e-45b4-4682-884e-b4cf9e47f5de@discussions.microsoft.com > I am writing a VC++ .NET + DirectX9 App using VS 2005 Beta 2. > > I am getting following error - > 1>c:\dojo2\mc++dx.net\mc++dx.net\StingRay3D.h(19) : error C2143: > syntax error : missing ';' before '^' > 1>c:\dojo2\mc++dx.net\mc++dx.net\StingRay3D.h(19) : erro ...Show All
Vaxman2 Adding methods to an MFC/ATL ActiveX Control project
How do you add your own methods to an MFC/ATL ActiveX Control project Either I get compiling errors or the ASP page claims that the "object doesn't support the property or method". I've used this script (see below) for other ActiveX controls I've worked with and it has worked, and still works for them. I want to use the code automatically generated when adding a new MFC ActiveX Control project because I want to be able to write an Acti ...Show All
ShawnT123 Can't find MFC80ud.dll error
I once upgrade my 2002 project to 2005, and it worked without any problem. But after I change the charset from mbcs to Unicode, then when I run the debug version, Windows informs me that "cannot find MFC80ud.dll". After hours of research and compared with the default project created by 2005, I found that the problem was due to manifest file in ".rc" (It was auto-generated by 2002): ///////////////////////////////////////////////// ...Show All
singhswat Running a MFC Application?
Hi! Sorry about that "probably-stupid" question, but... I started a new project with Visual Studio 2005 including a MFC Application. There was no error in the code and I compiled/build it. However, how can I create a portable .EXE with it Must I include something else Aren't the files of the solution enough Thanks! You will need the binaries of the solution in addition to the CRT related binaries are needed. ...Show All
YoK Visual C++ compiles much slower on dual core processor
The Background: I recently upgraded from a 2GHz AMD Athlon machine to a 3.2GHz Pentium D dual core processor, thinking that my Visual C++ (.NET 2003) compile times would decrease significantly. In fact, it went the other way round. One of my library projects requires 11 minutes to compile on the AMD machine, but takes 25 minutes on the dual core machine. My entire set of projects compiles in about 4 ho ...Show All
raflui Odd memory problem
Hi all, I have a little app that receives some HTTP data into a buffer: char gcBuffer[4096]; .... wsaStatus = recv(gsock, gcBuffer, 4096, 0); .... A few lines down, I wanted to strcat_s that data into another buffer: char gcBufferTemp[4096]; ... strcat_s(gcBufferTemp, sizeof (gcBufferTemp), gcBuffer); ... but it keeps failing with " ...Show All
Diogo Mendonca Verissimo Linking Problems - newbie
I used the project wizard to create a Visual C++ > CLR > Windows Form Application. I'm trying to use some of the functions in Windows.h, so I added the #include "Windows.h" at the top of my .cpp file. The code I added to my .cpp file was UINT t = midiInGetNumDevs(); It seems to compile successfully, but I get the following errors when I build: Error 1 error LNK2028: unresolve ...Show All
Praveen77 Debugging a section of my code (code included)
Hi I am trying to debug this section of my code but I have encountered the following error messages: error C2143: syntax error : missing ';' before 'type' (line264) error C2065: 'n' : undeclared identifier (line 268) Any chance of a little help Thanks! Alan Homer The code is: /* * GENESIS Copyright (c) 1986, 1990 by John J. Grefenstette * This program may be freely copied for educational * and research purposes. All other right ...Show All
Dahl Berg Exposing the Methods from a dll to be used in other applications....
Hello Everyone, I have a code which is made using .NET clr library.....I need to expose some functions from there to use in some other project, according to me I'm exposing in the .dll but when I use it as a refrence I dont see anything in the other project... Thats what exactly I'm doing....there are two scenarios related with this: If I do .... public ref class Z : public something { public : void TestMethod() } And ...Show All
Ahmed Aloub "MFC80D.DLL was not found" Error?
I have an project that was originally developed as a C++ 7.1 native application. I converted it to VC++ 8 and kept it a native application and it worked fine. This project has always made use of MFC as a statically linked library. I now want to make use of the CLR. The first step in doing this is to change the use of MFC to shared dll. When I do this (with no other changes) my application gets the "MFC80D.DLL was not f ...Show All
Sandeep_MSFT Avoiding compiler complains about redefine variables???
Hi all: When I am writing C++ program, I need some global variables and structs to be visible from many files. But the compiler always complains that variable is already defined somewhere else. The problem seems to be caused by not #include file properly, but is there a good solution to avoid this irritating problem happen please Here is an example error message: Topology error LNK2005: "int COLUMN" ( COLUMN@@3HA ) already d ...Show All
Dridri How can I manipulate strings in ATL
Some problems happened during my simple development on IE. When I try to use MessageBox to display one string, manipulated by"strcat", there is no error or warning during compiling. But when IE tries to invoke the DLL, MessageBox involved, the IE reports that there are some errors in my DLL. After removed "strcat", every thing is ok. I wonder whether perhaps the string manipulation is different from the ordinary ...Show All
PlasticLizard add DLL with lib-File to Projekt
Hi, first, sorry but I donst speek wery well English ! I've add a DLL to my Projekt, but in the "tree_import.h"-File have I Errors: tree_import.h: error C2011: 'CNode' : 'class' type redefinition File: tree_import class __declspec ( dllimport ) CNode { ........... }; __declspec ( dllimport ) void treeLayout(CNode* root, int dir, int x, int y, int dist1, int dist2, int & width, int & height); I've import the lib-Fil ...Show All
