Advertisement

635 organizations, including eBay, Ericsson and Lockheed Martin, now work smarter with Corporate Accounts. Save up to 42%

 

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

 
Time Tested MS Visual C++ Solutions: 76 - 100 of 617
 
I am converting a VC++ 6.0 app to VC++.net (2005) and I am having problems finding a solve to converting time to long. In VC6 I used to following:       long ltime;      time( &ltime ); What do I n...
Hi, I am having a problem of killing the excel process when I am automating through visual c++ .net.  I'm not sure if it matters but I am using microsoft office 2003.   The main function t...
I am programming a game on a SDI. The display consists of three rectangles, a small rectangle in a larger rectangle within a larger rectangle. These rectangles are connected by 4 lines, 2 vert...
Hello a couple of questions on VC++.NET strings I have a managed class and I want to create a private string member, TCHAR szMyString; coming from VC++, my preferred ctring type is TCHA...
Hi, I have the following C++ code snippet that always give me the error. The type A in Assembly ........... is not marked as serializable. when I try to run it.  My class already has ...
Hi, I am trying to use Intel's OpenCV Library in Visual C++ .Net (using Visual Studio .Net 2003). When refering to the installaiton instructions, they seem to be for an older version, beca...
I am trying to compile programs that were made in visual studio 6.0 with the new .net libraries in visual studio 2003. Everytime I try to compile, most of the files work but one of them kee...
I am very new to c++.net and not sure what I am doing. I am trying to create a HttpWebRequest object but am having troubles. The code I am using is below.  Basically I am having trouble i...
Is that possible?
Hi, I have made this simple code to read the lines from a file into a vector of strings. void ReadLines(ifstream* pFile, vector<string>& lines) {         int i = 0;     pFile->clear();...
I have a standard C++ static labrary written with Visual C++ 6.0. Now I want to create a .NET Library with this same code. SO as to save time I would like to import the C++ Static Library into...
Hi i would like to ask something. I added a picturebox control to my windows form and add this code to my form load this->pictureBox1->Image = Image::FromFile("picture.gif"); My animatio...
Greetings: I have some old (VS 6.0) dialog boxes that use the browse button [ . . . ]  to find and open files. How is this done in VS 2005?  I don't see this button anywhere on the ToolB...
Hi, Im writing a win32 application with VC6++. I need to add thread functionality into it. Can anyone give me sample code for multithreading with win32 non MFC project? Thanks
When I compile a program in Debug mode, I get an error "unhandled exception in [application name](MFC42D.DLL): Ox0000005: Access Violation" when running the program. How do I resolve this issu...
Hi, Here's the other warning I receive when I compile the source code. //------------------------ warning C4290: C++ exception specification ignored except to indicate a function is not __d...
iam able to compile the MSVC++.NET Dll (Class Library) But while linking it gives error -------------------------------------------------------------------- msvcprt.lib(MSVCP71.dll) : er...
I have a dll that is compiled with win32 and clr functions.  I have a function that passes the following char variable, const char* varible1, const char* var3 I want to convert all of thes...
I am using Visual Studio 2005 to compile and VC6 project. I imported the project correctly, it gave some warning. Only thing pending probably is I get the following error. The error comes from...
can I access the pixels of a frame grabbed via capGrabFrame() _without_ saving it as a bitmap to the hardrive? The reason for this is that I'm trying to make a color tracking program. I want t...
Hi, How can I select the default folder in my "Browse For Folder" dialog box (SHBrowseForFolder) ? I have only found the way to set the default ROOT of my list by initializing the pidlRo...
I have been programming in C++ for years and I have never seen this syntax before.  Can someone explain what the carrot (^) symbol that appears after the class name means? #using <System.dl...
I'm trying to open and read a file line by line and save each line to the array. //this part is just openfiledialog and get the filename OpenFileDialog^ fDialog = gcnew OpenFileDialog;  f...
Hi experts!!! I want to suggestion "VC++ read data from Excel without MFC." and Use CDaoDatabase with console application??? thank you  
I tested a class I'd written with an MFC wrapper, and then took steps to convert the class to DLL.  Knowing the DLL needed to export to Delphi, I avoided using MFC and tried for Win32, but I l...