Description:
Microsoft Visual C newsgroup.
|
|
|
theApp.ExitInstance(); returns 20 - what does this mean?
|
| |
Hi! I have a dialog based application. It always exits with 20 - though i think it should exit with 0. The only thread that is opened is the GUI/dialog itself. I open and then immediately (afte GUI is displayed) close the application. after int nResponse = dlg.DoModal(); CoUninitialize();... more »
|
|
Newbie question: Need for header file when linking to static library
|
| |
Hi I'm trying to use a 3rd party static library file. It's called swedll32.lib..I've added it to my MFC Project. When I try to call a function, I get: "identifier not found" Don't I need a "swedll32.h" file to go along with the swedll32.lib file? All I have is a swedll32.dll and a swedll32.lib file.... more »
|
|
Using CMFCRibbonBar
|
| |
I'm using this control for the first time. I created a CMFCRibbonComboBox on the control and want to get the SELCHANGE event. On a dialog-box we create a ON_EN_SELCHANGE(<ID>, <Function>) and it works fine. This ribbon was created on code not on resource editor (There exists any resource editor for this kind of control?).... more »
|
|
WaitForMultipleObjects() Question
|
| |
I have an app with several worker threads that deal with external hardware. Each thread has several independent tasks that are triggered by an array of events. I use CreateEvent() to define the events withWaitForMultipleObjects() being the gate keeper. And of course event 0 is the shutdown task. At various points in the execution of the program, I use... more »
|
|
Changing Special Permissions programmatically???
|
| |
[link] I need to set the Traverse Folder/Execute File permission, without also setting the Read permission. How can I do this from software? In other words I want "Execute Only" access to a file, I specifically want to prohibit Read permission.
|
|
atypical LNK2005; not the usual
|
| |
LNK2005 in an MFC project, VS2008: I have the common LNK2005 error, but the cause is not inclusion of a .cpp file. To be sure, I searched the project. There were more of these, but some were stopped by removing unnecessary “.h” includes. But in this case, DualDoc.cpp must have an include of IteratorMonitor.h, because there is a... more »
|
|
PolyLine
|
| |
Hello everyone... I'm trying to use CDC::PolyLine to draw some lines and I'm storing values with: typedef vector<POINT> points; typedef vector<points> matrix_points; matrix_points mPoints; ... points singlepoints(mPoints[0]); ...but it reports a conversion error on first parameter of PolyLine... why?... that vector<POINT> is anyway an array of POINT....... more »
|
|
|