Click here to Skip to main content
15,794,236 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: LoadImage Failure Pin
Richard MacCutchan15-Dec-19 22:36
mveRichard MacCutchan15-Dec-19 22:36 
Questionproblem when run the application using cntrl+F5. Wintech OPC DLL Pin
Member 1467670615-Dec-19 1:52
Member 1467670615-Dec-19 1:52 
SuggestionRe: problem when run the application using cntrl+F5. Wintech OPC DLL Pin
Richard MacCutchan15-Dec-19 3:54
mveRichard MacCutchan15-Dec-19 3:54 
GeneralRe: problem when run the application using cntrl+F5. Wintech OPC DLL Pin
ForNow16-Dec-19 2:03
ForNow16-Dec-19 2:03 
AnswerRe: problem when run the application using cntrl+F5. Wintech OPC DLL Pin
leon de boer15-Dec-19 21:39
leon de boer15-Dec-19 21:39 
GeneralRe: problem when run the application using cntrl+F5. Wintech OPC DLL Pin
Stefan_Lang16-Dec-19 5:35
Stefan_Lang16-Dec-19 5:35 
GeneralRe: problem when run the application using cntrl+F5. Wintech OPC DLL Pin
leon de boer17-Dec-19 3:45
leon de boer17-Dec-19 3:45 
QuestionDIrectX9 error shows up only in debugger Pin
Member 953078713-Dec-19 6:50
Member 953078713-Dec-19 6:50 
I'm working on a C++ native code graphics application using DirectX9. I use the latest version of Visual Studio Community 2019. When working in the IDE the application crashes from time to time with a message like
"Exception thrown at 0x00007FF9762975D6 (nvd3dumx.dll) in NNetSimu.exe: 0xC0000005: Access violation reading location 0x000001B388FE1A3E."
So far I could not reproduce the error, it happens once in while. The strange thing is: If I call the application directly, it runs very stable, the problem occurs only in the IDE.
The crash happens always during the end of a frame, typically during swapChain->Present. My code:
void D3D_driver::EndFrame( HWND const hwnd )
{
    HRESULT hres;
    hres = m_d3d_device->EndScene();                                       assert(hres == D3D_OK);
    hres = m_d3d_swapChain->Present( nullptr, nullptr, hwnd, nullptr, 0 ); assert(hres == D3D_OK);
    m_id3dx_font->Release();      
}

I could live with the situation, the app runs smoothly without IDE, but it is annoying during development.
Any ideas how I could further investigate the problem?

modified 13-Dec-19 19:32pm.

SuggestionRe: DIrectX9 error shows up only in debugger Pin
Richard MacCutchan14-Dec-19 0:42
mveRichard MacCutchan14-Dec-19 0:42 
QuestionCan Bullet numbering in Pin
ForNow9-Dec-19 2:27
ForNow9-Dec-19 2:27 
QuestionRe: Can Bullet numbering in Pin
Richard MacCutchan9-Dec-19 4:37
mveRichard MacCutchan9-Dec-19 4:37 
AnswerRe: Can Bullet numbering in Pin
ForNow9-Dec-19 4:55
ForNow9-Dec-19 4:55 
QuestionV2008: All my breakpoints disable. Mouseover shows "The breakpoint will not currently be hit. No executable code is associated with this line." Pin
charlieg8-Dec-19 10:42
charlieg8-Dec-19 10:42 
AnswerRe: V2008: All my breakpoints disable. Mouseover shows "The breakpoint will not currently be hit. No executable code is associated with this line." Pin
charlieg8-Dec-19 10:48
charlieg8-Dec-19 10:48 
GeneralRe: V2008: All my breakpoints disable. Mouseover shows "The breakpoint will not currently be hit. No executable code is associated with this line." Pin
leon de boer8-Dec-19 14:10
leon de boer8-Dec-19 14:10 
GeneralRe: V2008: All my breakpoints disable. Mouseover shows "The breakpoint will not currently be hit. No executable code is associated with this line." Pin
Stefan_Lang9-Dec-19 0:20
Stefan_Lang9-Dec-19 0:20 
GeneralRe: V2008: All my breakpoints disable. Mouseover shows "The breakpoint will not currently be hit. No executable code is associated with this line." Pin
leon de boer9-Dec-19 1:52
leon de boer9-Dec-19 1:52 
GeneralRe: V2008: All my breakpoints disable. Mouseover shows "The breakpoint will not currently be hit. No executable code is associated with this line." Pin
Stefan_Lang9-Dec-19 2:59
Stefan_Lang9-Dec-19 2:59 
GeneralRe: V2008: All my breakpoints disable. Mouseover shows "The breakpoint will not currently be hit. No executable code is associated with this line." Pin
charlieg9-Dec-19 3:05
charlieg9-Dec-19 3:05 
AnswerRe: V2008: All my breakpoints disable. Mouseover shows "The breakpoint will not currently be hit. No executable code is associated with this line." Pin
charlieg9-Dec-19 3:09
charlieg9-Dec-19 3:09 
AnswerRe: V2008: All my breakpoints disable. Mouseover shows "The breakpoint will not currently be hit. No executable code is associated with this line." Pin
charlieg8-Jan-20 12:37
charlieg8-Jan-20 12:37 
QuestionAllocating memory for struct pointer - error: invalid conversion from ‘void*’ Pin
Vaclav_6-Dec-19 6:56
Vaclav_6-Dec-19 6:56 
AnswerRe: Allocating memory for struct pointer - error: invalid conversion from ‘void*’ Pin
Richard MacCutchan6-Dec-19 7:12
mveRichard MacCutchan6-Dec-19 7:12 
GeneralRe: Allocating memory for struct pointer - error: invalid conversion from ‘void*’ Pin
Vaclav_6-Dec-19 9:17
Vaclav_6-Dec-19 9:17 
GeneralRe: Allocating memory for struct pointer - error: invalid conversion from ‘void*’ Pin
Victor Nijegorodov6-Dec-19 22:39
Victor Nijegorodov6-Dec-19 22:39 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.