I have found a very interesting incident of memory leak in my code. Although I have not been able to find the root cause of the leak still thought to share with you all. I will really appreciate any...
نوع: مشاركات; عضو: C++ Programming
I have found a very interesting incident of memory leak in my code. Although I have not been able to find the root cause of the leak still thought to share with you all. I will really appreciate any...
POINT Point;
::GetCursorPos(&Point);
HWND hWnd = ::WindowFromPoint(Point);
::PostMessage(hWnd, WM_KEYDOWN, 'a', NULL);
I sent a message WM_KEYDOWN to hWnd.
It is activate on Windows Notepad.....
Hello!
I had an error in my project created with QT and C++
I created Server which gets data from AudioInput and gives it to UDP Socket, there is no problem, but in Client's project I had a...
I have a simple project that compiles in VS2005. When I compile it in VS10, I get assertion errors in the file bcmenu.cpp. bcmenu.cpp was taken from this project
...
havnig see a lot sample codes about c++11 thread like
// thread t;
if(t.joinable()){
t.join()
}
is it possible that t terminate after the if(...) test,which will result in a error...
Hi guys,
I am not able to create MFC dialog, when the resources are loaded from another language. The dialog gets created if the language is English. I have added a string in the dialg, CLASS...
Can we pass member function address in CreateThread() function instead of global function address?
It needs to let the current process create a copy of process and then exit current process.
I try to use the SetWindowPos(m_hWnd, HWND_TOP, 0, 0, 0, 0, SWP_NOSIZE | SWP_NOMOVE) to set windows...
Hello.
I made a simple C++ program in Visual Studio 6 (MFC SDI). It sends a mail message using MAPI (mapi32.dll) and it works great and is easy to use.
But I don't undestannd how to attach a...
I would like to use a "Big Number" package for my application which I am writing on Windows using Visual Studio and C++. Therefore, I thought I would use GMP. However, I get the impression that...
A software is executing some websites links (URLs) internally, Can I get to know which links are thses?
Hey there,
I have a C++ WIN32 DLL that acts as a server for a UI. Now i want to capture all keyboard inputs in the PC on the WIN32 dll, whenever the UI has active focus. If the user is typing...
I'm working on Audio Capture of my system and I did it using loopback capture method to record my audio. I recorded the file and its fine in non compressed form.
I want to make it in small size or...
Semi-programming rant
Am I the only one who gets caught using someone else program only to find out it is limited to “click this and click that”?
After embarking on using FFT to analyze audio...
The Windows Runtime application model is optimized for rendering with DirectX. Kenny Kerr shows how to take what you’ve learned in his previous columns about Direct2D and Direct3D rendering and apply...
I am sure some of you will get upset by this OT post, but I am trying to reach coders with knowledge about numerical processing in C/C++.
I am a beginner in this form of computing, presently ...
Hi, I'm trying to teach myself C++ and was playing with an example from a website. If I only inherit from Derived class, I could change the access level of Identity method from protected to public by...
hi every body
i am trying to retrieve a single value from Adodc into EditBox
here i got an error :-
m_edit1=m_adodc1.GetRecordset().GetField().GetItem("StockName");
where "StockName" field...
Hi All,
I would like to monitor my application usage when it runs outside the debugger (VS2008). How can I do it?
The best I can think of is to use some kind of a windows port of SAR...
I have a single document frame window with multiple views and I'm trying to add a view that contains a splitter ********
For this new view I have created a base CView that contains a...
Is there any API to get outdated driver list?
Hi,
i need some help with CRegKey to read from registry http://www.barakasoft.com/script/Forums/Images/smiley_frown.gif
Here what works fine:
int *target = NULL;...
I have a application have hte trayIcon with a Close menu, and it needs keep identical with task bar right click menu.
But if a Modal window shows, the application cannot be closed if uses [close]...
Hey there
I have a HBITMAP object in my codeand now i want to use CreateFile function to open this object and then read it's contents.
How can i do that? Or is there another function to open...
hi
i have instled vc++6.0 and executes a threading projects it asking activex controls not installed