In MSDEV take Build->Start Debug->Attach To Process. You can see the running process, from which u can select the application which loaded ur dll. open the cpp of ur dll and u can insert breakpoint and can debug.
Another way: On Process tab of Task manager right the exe application, which load the dll, and select debug. MsDEV will open, then u can insert break point on ur dll's cpp file and can debug.
WinDbg has a symbol search path and a source search path. both of these need to be set up correctly. You can also download symbols for windows DLL's for various OS. You can also specify a debugger for any executable image which will get loaded automatically when the program executes. Very useful for debugging services.
I am trying to plot the wavform of wav file.In my case the wavfile consists of 6112 samples and having 8 bits per sample.byterate is 4395 bytes /s.Roughly it is equal to about 1.39 seconds of sample data.I want to plot this giving time on x axis and the sample amplitude on y axis.
I am not able to normalize such that 6112 samples can be represented on the scale of 0 to 1.39 seconds.Any hints or suggestions are welcome.
Thanks for your reply.Actually in my case the samples=6112(with wach sample amplitude value between 0 and 255) and on x axis i have to represent these 6112 samples in a total of 1.39 seconds.Roughly if i divide x axis into parts of 100 ms then there are 13 such parts in which i have to divide 6112 samples,so if the display_width in the above case comes out to be 13 .
I am developing an application that saves files as different file types. I am concerned with the .XML. How do you modify the tooltip when the operator hovers his/her mouse over the file if the file type is .XML? The XML document is defaulted to display the type, date modified, and size in the infotip (tooltip). Is there any programming I can do using C++/MFC to modify these contents? I have been told look into using shell scripting, but this application is to be installed on other machines with Windows XP.
Using DirectShow I have made a program that captures a video stream and writes the data to screen and to disk. Rendering to screen is done by using IVMRWindowlessControl.
Problems occur when the desktop is locked, e.g. by the screensaver. After unlocking, the rendering part of my application is gray. Calling IVMRWindowlessControl:: RepaintVideo refreshes this rendering part but resets the framecounter and the video contents.
Hi, I have a small problem with my ListCtrl.
I noticed when writing code for HDN_ITEMCLICK notify message, that this will be affected only if I click on a far left side. When I click on item label I cant get click notification!!!
Why is this?
I'm using one column with no header and only text, I added LVS_EX_TRACKSELECT | LVS_EX_FULLROWSELECT stayls!