After using that i get correct disk number. But i found starting offset and extent length different.It shows very large value for starting offset.And extent length shows a value(0x7e00) which is the position in disk from where this partition start.
Does extentlength means total size of drive or position of drive in disk?
I have two doubts regarding ur question
1. If DeviceIoControl API is failing, can you check error with GetLastError API([^]).
2. What type of dynamic device you are using and hope it comes in one of the define type([^])
I have made a simple Dialog box application, in that i have made a static text control with Client Edge properties true and i also have a picture control which has a bitmap. That picture control is below that static control to give a look that bitmap inside that static control border. but the problem is sometimes that bitmap is not displayed i have also used Invalidate(False) everytime i have displayed both the controls but sometimes only static box is displayed and picture is not displayed...
Have a look at this: Overlapping Controls Are Not Supported by Windows[^] (means siblings). If you want overlapping controls in a dialog use a child-parent-hierarchy, for example use SetParent()[^]. Another alternative would be modifying the static text control you mentioned, make it a custom control that draws a picture in the background.
When I first heard about Embedded360 and their Fast Embedded Model, I didn’t give much importance to it. But it’s when I worked with them and got to know their work process that I truly understood their approach. Their Agile methodologies combined with technical expertise in the embedded space have helped them in developing flexible, easily accessible, and futuristic solutions that enhance quality and maximize profits. For more details click here: http://www.embedded360.com/[^]
For that purpose, you can either rely on static linking or dynamic linking.
1. Static Linking
a. Add the lib corresponding to the DLL(DLL that is to be called) in Project Settings->Link->Input->Object/library modules.
b. Add the Include file pf the DLL into your project dsp.
c. Call the function after including the header.
2. Dynamic linking- Usually done in case, where you have Def([^]) files, which is mentioned in the above comment by rajesh.
We have SDI application. In which we are opening some dialogs. Once application is up these dialogs can be open and close as many times as possible. If I am opening dialog first time, minimize application(not dialog, i mean whole application) and then maximize application, dialog is also displayed in previous condition. But if i close and open dialog again, on minimize and maximize application make dialog disappear, I have to open dialog explicitly. How can I stop this behavior?
I tried to explain situation as much as possible. If anyone have doubt fire your question.