|
My program was crashed at realloc();
But I can indicate that there is enough memory on my computer!
Thanks.
GOOD LUCK.
|
|
|
|
|
you must have used alloc() for the realloc() memory or it crashes. I hope the realloc() memory block is valid.
Greetings from Germany
|
|
|
|
|
yes,I have found the error,now.
It really alloc a invalid memory.
Regards
|
|
|
|
|
kcynic wrote: I can indicate that there is enough memory on my computer!
on your computer yes, but maybe not enough allowed by the system to your process...
|
|
|
|
|
I want to make a desktop application exactly like webshot from scratch but dont know how to start.
If some one could give me link for such a project it would be of great help.
I want to use MFC.
Thanks In advance.
Dhiraj
Dhiraj kumar Saini
|
|
|
|
|
hi all
please tell me how to open microsoft word,exel using a button in vc++(MFC)
thanks
|
|
|
|
|
Use the function in thecommand handler of button submit.
Here Write.exe is the exe you want to execute.
WinExec("Write.exe", SW_MAXIMIZE);
|
|
|
|
|
use ShellCommand on button event to launch the desired application.
|
|
|
|
|
|
Hi
Accidentally i have added an action for File Folder. But i can't remove it, remove and edit are shown as disabled. How I removed that action.
the procedure i did was like
Tools->Folder Option->File Types -> select File Folder, Press Advanced and added new action
Thanks
Anil
|
|
|
|
|
Search the Action name you gave in registry under the key HKEY_CLASSES_ROOT.
The Application name should be there under command Key.
Delete the action Name key.
|
|
|
|
|
I am new to MFC. In my gui application I see that some of the controls are not visible. They become visible when I move the mouse cursor over them.
Thanks for the help....
|
|
|
|
|
Are these controls created as part of a dialog (from a resource) or are you creating them yourself?
If creating them yourself, from where in the code?
Mark
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
Mark,
I am creating the controls as a part of a dialog.
Let me know if you need any further information!
Thanks!!
|
|
|
|
|
hi
please check the visibilty property of each control
|
|
|
|
|
Do the controls overlap each other?
Or are you doing any painting (or drawing) in the dialog?
- NS -
|
|
|
|
|
Yes, the controls overlap each other. I have a list control which resides in a property page and the propertypage is display in a tab of a tab control.
|
|
|
|
|
Property pages should be in a property sheet, not a tab control.
For a dialog, if the controls are part of the dialog resource, you
shouldn't have to do anything to make controls appear unless they
are not created with the WS_VISIBLE style.
Mark
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
Hi,
Let suppose, there is an exe file and it has a certain output at console. Is it possible to read that console output anyway?
I would appreciate the suggestions.
Wali
|
|
|
|
|
Is it your code or some other exe? If it's some other EXE, why can't you read the console ouput?
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
Let me explain what I am trying to do. I have one executable file that shows the tracking data at console as 0utput. I want to write a c++ code that can read the tracking data in loop from console. I want to use that tracking data in my own application.
I hope now the question is clear.
Wali
|
|
|
|
|
Perhaps it would be easier to understand your question if you told us exactly what you are trying to do.
Are you trying to determine how the application derives the output before it is actually written to the console?
|
|
|
|
|
Wajid Ali wrote: Is it possible to read that console output anyway?
Certainly. Read here and here.
"A good athlete is the result of a good and worthy opponent." - David Crow
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
Thanks! I will try it soon.
|
|
|
|
|
Use > operator at command prompt. For ex. if the file name is hello.exe use
c:\hello.exe>output.txt and all the console output will be stored in output.txt file.
Now you can use this file.
|
|
|
|