Answer Questions
Sasanka Pinidiya How to debug...
Hi, I have a project written in C++. The program have operated well but sometimes the error happens at a certain point that I don't know how to debug to find out what line code it causes error. The error like : Error window with "Microsoft Visual C++ Runtime Library" is header title Runtime Error! Program: C:\Program Files\SafePassage\DesignTool.exe abnormal program termination   ...Show All
chrisan warning C4996: 'foo' was declared deprecated
It appears that several standard C and C++ functions have been 'deprecated' in this version of compiler. This is a major annoyance since neither C nor C++ standards seem to mention this. Naturally, it is possible to disable unwanted warnings, however doing this manually for every project is a pain in the arse. Is there a compatibility mode Thanks, - NK Thanks Igor, defining _CRT_SECURE_NO_DEPRECATE s ...Show All
mf32000_9 unable to find ximage.h file
hello frnz, i have downloaded 1 project from net. when i run its exe, it runs fine and when i open the code in studio and try to run it from studio, it gives an error "Unable to find ximage.h header file" when i included the file after downloading it from net then it gives error unable to open it gave me error that " cannot open cxImaged.lib ". i am not able to find this file. please tell me where i am doing w ...Show All
Helio D UNICODE-UNICODE-UNICODE!!!
Again UNICODE Console C++ programs Dear MSDN C++ experts, I have Visual Studio 2005 Professional installed, I need a help issue about something annoying a bit. My professor in college asked us to make a report how to write in name in Arabic using UNICODE, in fact I was unable to make such a program as it's so hard for me as I'm still a beginner. I asked the professor about this issue, he told me that Arabic could be printed out ...Show All
mj585 STL for Managed C++
Is anyone interested in porting stl for Managed C++. I know that Dinkumware is coming up with STL.NET but its meant for specifically VS.NET2005. But my application is already written in VC++ 7.0 and I am not ready to port it "again" to VS.NET 2005. After lot of struggle I realized that a STL is easy to use with the managed c++. What is needed is an unmanaged wrapper for your managed class which will hold the ...Show All
zkent API, Windows Services and Management Console
Hi, Is it there any API function that will allow me to notify the Management Console that my Service has started I'm working on a windows service written in a different language and on starting the following error pops up: "Error 1053: The service did not respond to the start or control request in a timely fashion." Many thanks Vali It sounds like your service isn't calling Start ...Show All
Robert Nguyen C# to C++
using System; using System.Drawing; using System.Collections; using System.ComponentModel; using System.Windows.Forms; using System.Data; namespace Map_Maker_Worker { /// <summary> /// Dialog for a useless application that runs a checksum on multiple maps. /// </summary> public class frmSigner : System.Windows.Forms.Form { private System.Windows.Forms.Button btnSelectMaps; priv ...Show All
Jerry Wang How can I active VC without connect the internet at home ?
could do I active in this case Thanks Uka Hi Jochen! At least the Express-Versions (Beta2) needs activation after 30 days! Thats new for me, but thnaks for the Infos. Visual Studio 2005 Express Edition Beta 2 requires an Internet connection from the machine where you are using the product in order to activate. A high speed connection is not required; ...Show All
PatrickEh Can you give me an example of declare and allocting arrays (double type)
Can you give me an example to declare managed array in Visual C++.Net Thank you very much! As i follow a book to decalare and allocate an double managed array (accroding to a book) as follows: double Q _gc[] = new double _gc[3];//line (a) Q[] = {0.0225, 0.01, 0.0025};//Line (b) But i get the follwing errors at line (a): error C2146: syntax error : missing ';' before identifier '_gc' error C2501: '_gc' : missing storag ...Show All
Sergio Sevilla How to override INCLUDE path for external projects?
Hi, I'm using VS 2005, Native C++, with an external project (NMAKE/makefile). For this project, I would like to override the standard VC++ Include paths to point to a different set of header files from another toolset. I would like Intellisense to reference this other set of header files. Is there a way to do this How is the NOINHERIT macro interpreted in a project file Could it be used to suppress the standard includes Thanks for any sug ...Show All
Niezgodka CRT Initialization Failure
Hello everyone. I have a managed executable and an unmanged library combination, and I've spent the past couple of hours trying to track down a bug in the system. Finally, I think I may have discovered what it is. I have some global variables in my static library, and it would appear that when the global variables are being initialized, the CRT itself is in fact not initialized. I'm trying to figure out what's going wrong with it, but I'm ...Show All
JEFFKIM friend class question
Hi I was working on a project that required a linked list for a class. I thought that adding another variable to the node class would be helpful during the project to keep track of something but the way I have implemented it seems to not be working. I was under the impression that friend classes can see the private data of the class it is friends with. My linked list class even displays this working with the data variable (show ...Show All
jf555555 Framework and related question
Hi I have an old Console App program that compiles without problem in VS 6. I can get it to compile with VS 2005 express beta 2, it is about 20 modules compiled as unmaged C, Win32 console App.. The program runs ok on the Dev. PC but when the exe is run on another PC I get a configuration error. To cure that I have to install the version 2 latest framework. My question is why does it need the 23 meg framework just for a small Console program An ...Show All
JohnWC massive compile time errors in stadrard header files
I just installed Visual Studio 2005 Professional Edition Dec 2005 Disk 3070 DVD. It came with a subscription. It wiped out .NET Framework 2.0, previous betas of all sorts, etc. Now I am at a clean slate. I made a batch file with a command line which seems to work fine-- in the first approximation shall I say Here it is CL /nologo /W3 /Gm /EHsc /Zi /Od /D "WIN32" /D "FDEBUG" /D "_CONSOLE" /Tp%ProjDir%\SockeCPlt6.cpp /Fp"makingfile.pch /YX /Fo"D ...Show All
M. Ueberall Dependency checker for 64-bit executables
Hello, I am adapting a product from 32-bit to 64-bit. The application is written in C and C++ with MFC and ATL code. At present I am able to execute my 64-bit compiled code on a 64-bit system as long as I have a copy of VS 2005 installed on that server. I have been trying to help our Installation designer determine which of the VS redistributable merge modules are needed to install on a "clean" (one with out VS installed) system. The ...Show All
