Advertisement

Experts Exchange is proud to announce the Front Runners the Annual Awards and the 3rd Quarter Hot Shots. Who is at the top? See for yourself!

 

Welcome! If you have any general questions about Experts Exchange, feel free to ask me.

 
Time Tested MS Visual C++ Solutions: 1 - 25 of 472
 
Hi, I have created a C++ project - a Class Library. The class is very basic and has just one method:      public __gc class IMLibrary      {           void TestMethod();      }; I'm including the head...
Hello! I got a DataGridView, one column is set to checkbox. I want to grab event when those checkbox are being clicked on. Currently I'm trying to do it via CellContentClick, but I have no ...
How do i run a (dos) command from a peice of c++ code in Visual c++? I am trying to run this command "pdftk A=test2.pdf cat A4 A7 output test.pdf" which works well from the command prompt,...
Hello I have problems on installing a service using InstallUtil.exe. Currently, Im studying on how services work so what i have done is i created a project using Visual C++.NET and i choose...
I have an MFC app (Visual Studio 2005). It runs perfectly on a Win 2000 test PC. On a Win XP test PC I get an error referring to "side-by-side configuration information" Basically the ap...
Hi All, Error     1     The command "C:\Documents and Settings\sudhakar\Desktop\Prithvi\Prithvi\HAT.DriveThruDetector\\..\..\..\..\PostBuild.bat C:\Documents and Settings\sudhakar\Desktop\Prith...
I'm still getting  this error when I build my C++ program in Microsoft Visual Studio 2005  - Project : error PRJ0003 : Error spawning 'cmd.exe'  I have taken the steps in "Error spawning 'comd...
I am trying to port an MSVC++ 6.0  to Visual Studio 2005.  My project accesses header files (.h) from another library.  How do I specify the include path for that project?  In MSVC++ I would u...
Hi! I want get the path to the executable. In mfc this is done with GetProcessImageFileName or GetModuleFileNameEx, but this is not possible using a 'standard' c++.. Argv[0] only returns...
Hi,      I am a new bee to Visual C++, I have some problem. This is my main program ---------------------------------------------------------------------------------------- #include "s...
How do you get a list of all the currently running processes on a computer? I am writing an app that gets the list, and compares it to a pre-made list of processes (list of strings).  If th...
Hello, When executing the following code I get this error: Run-Time Check Failure #2 - Stack around the variable 'b' was corrupted. Can someone tell me why as it's really annoying and p...
Dear experts: Hi again! Can you kindly teach how to display the line numbers in MS Visual Studio 2005? Thanks a lot!
Hi All,  Can anyone tell me how to resolve the following linking error: nafxcwd.lib(appcore.obj) : error LNK2001: unresolved external symbol ___argv nafxcwd.lib(appcore.obj) : error LNK20...
Hi, I have converted sorce code of VC++ 6.0 to VC++ 2005 .NET successfully which builds an ocx file. But after conversion when i try to build the converted code it gives following error....
Hi i am using Intel's computer vision library (opencv), and it has an image structure called IplImage, which has this definition: typedef struct _IplImage { int nSize; /* size of iplImage ...
I passed values for below function:-   HANDLE PortSIP_initialize(SIPCallbackEvent * callbackEvent,                                 int maxLines,                                 const char * userName,                                 const char * authName,                ...
Hi, I'm basically trying to send a broadcast on a LAN using Socket.SendTo and receive this broadcast using Socket.ReceiveFrom. I would be greatfull if someone could provide a few short lines o...
Hello, Ok, here I am asking the same question again! I was thinking it is so basic an I would have no problem finding an answer in no time. But after searching and asking for days, I got no...
In a mixed C++ DLL that uses MFC (called from VB.NET) I have the narrowed down the problem to two lines of code:       SimpleClass * sim = new SimpleClass;       delete sim; when steppi...
Hello, i need some help with handling wstrings correctly. --- PART 1 --- How could i convert things to wstring ? int a = 10; wstring mystr = (L"foo"); mystr.append(ITOW(a)); Does som...
Hi, I encountered the 'Debug Assertion Failed!' when trying to build a project with Microsoft Visual C++ 6.0. It happens when I use std::string and try to print the string out.  It says:...
I have recently started messing with C++ DLLs in C# but it seems that I am restricted to the kind of usage I have. I am able to export functions in a DLL that have C++ linkage but C# cannot fi...
hi i built an application in visual c++2005 pro for communicating with many serial ports whe i start my application , windows vista go for a shutdown saying crash dump ... sometimes, it wor...
Hi Experts,     I need to know how to open an existing Excel file, write data into it, format its looks and save it under another filename.  I need to do all of this from Visual C++.NET 200...