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 Microsoft Visual C++ Solutions: 1 - 25 of 214
 
say I have my visual studio set up in D:\vs\ In my include directory, most of them are set up as: $(VCInstallDir)include I want to add another folder of includes that are in: D:...
Hi everyone , I'm doing image processing for the first time and I'm working with VC++ 6.0 under WinXP. I would like to create a function which loads an 8 bit grayscale bitmap image and conve...
Hi I want to round of a double to 3 decimal places but I keep getting 1.000000 My example is double m_CordX = 1084/720; I should get 1.5055555555 but im getting 1.0000000 I need to ro...
Hi guys,      I would like a decompiler program that should take any .ex4 file and convert it back into .mq4 format. The program should be Windows based running on XP or Vista and will ask for th...
I am compiling a SLN in VC8 It compiles all projects without errors..when it reaches the last project I get the following error :; LINK : fatal error LNK1104: cannot open file 'c:\Docume...
I have a user in the field who is suddenly getting the following error message: Microsoft Visual C++ Runtime Library Buffer overrun detected! Program: c:\windows\system32\DKabcoms.exe A ...
How do I "import" a DLL in C++?  That is, how do I take a DLL file and start using it's functions in a C++ project. Microsoft Visual Studio, 2005. C++
I would like to read in numbers separated by comma in lines in a textfile using C++. Can someone quickly show how I can possibly do it?
Hi All Trying to compile gips library and I am getting these errors..I have tried multi threads and I tried ignoring multiple declarations and MFC shared library all that did not help..can ...
I have a class within managed DLL and I would like to invoke this from unmanaged C++ code. In fact, I started by trying to call an static global function within managed DLL from unmanaged code...
I have a dialog based MFC application. In my main dialog i have a Tab Control. 3 dialog windows are created and mapped to the tab control. The Dialog properties of Main Dialog are: Under the...
I started a Single Doc/View MFC project and then wanted to convert it to UNICODE. I've done this before and used what worked, however this time it failed with LINK : fatal error LNK1561...
I meet something very strange when I use ado RecordsetPtr to read the result from a stored procedure (MSSQL 2005) There are two stored procedures I use. One stored procedure only include th...
Hello expert! I am working for a customer of us, where I am responsible for a server written in C++. The company uses Microsoft Visual Studio 2005. While going through the code to see bette...
Hello. I am learning C++ and I am following a series of educational videos + some books. All these books declare the main function as void main() However, when I downloaded and install...
Hi, In my class, I need to lock access to a member object which is not thread safe, since the my class may be accessed from several threads using the same object. Lets call my class CClass,...
// Thread function extern uint ThreadTest(LPVOID pParam) {    uint uExitCode = 2;    return uExitCode; } // Main function CWinThread *pThread = AfxBeginThread(ThreadTest, NULL, THREAD...
Hi, I have a dll that was built in VS 2008. I am trying to load it using LoadLibrary() function call. I am getting a Runtime error R6034.  I am running the application in debug mode with br...
When I want to open a new application (eg. iexplore.exe) from my application (mapp.exe), I can get the ProcessId, ThreadId, ProcessHandle and ThreadHandle from struct LPPROCESS_INFORMATION. ...
Hello, My main goal is to configure and use the LinBox C++ linear algebra library (www.linalg.org) with VS2005. It has a huge configure script (unix) so I installed cygwin with the bash sh...
I understand that I can obtain the system time in this fashion with the win32 api:           LPSYSTEMTIME systime;           GetSystemTime(systime); how can I subsequently get an MFC CString of the syste...
Hello, I can not add a bitmap as background on a Button Control in C++, MFC. I am using Visual Studio 2005. I have set the button property "Bitmap" to true, and I am using the code below ...
I have created a simple MFC Dialog application in Visual Studio 6 C++. I have drawn a rectangle onto the Dialog: void CTesterman2Dlg::OnPaint() { CPaintDC dc(this); // Background ...
I'm trying to access functions from a C++ DLL from C#. I neither can reference nor register the dll. Is it possible for me to access the functions within C#?  But it's possible to access the D...
Hi there. I haven't been programming in C++ for long, I'm used to C# and VB and I'm still having some trouble adjusting to C++. I'd need a simple way to decode a .png file to a HBITMAP in...