Nice fight between FTP vs HTTP.
I would remove the 'Never chunked encoding "overhead"' point from the list of advantages of FTP because the chunked encoding is a feature of HTTP that shouldn't be used in case of fixed sized files - and usually it isn't used at all in such cases. On the other hand some problems - like streaming an unknown sized log file incrementally (one that isn't closed and finished yet) can only be solved with chunked encoding. So it is a feature that is overhead only if abused.
I have created a dialog in MFC. I have one child dialog. Child dialog opens on clicking a button in Parent dialog. I have two check boxes in child dialog. When child dialog opens first time, On clicking a button, I am selecting one check box by default. I have made check boxes work like radoi buttons. Now when I click on the button second time and select another check box and do something, third time clicking on the button default check box again get selected. I want to retain the state of selected check box, until I close the main application. If I have selected a check box, it should remain selected when I again click on the same button.
Anybody have any idea.?
Please let me know if u want further clarification.
Write public methods in the child dialog class to get and set the state of the check boxes.
In the parent dialog, after the child dialog's DoModal returns, call the methods of the child dialog class to get the state of the check box.
While calling the child dialog in the parent dialog class, after creating the child dialog and before calling the DoModal function, call the child dialog methods to set the state of the checkboxes.
«_Superman_» I love work. It gives me something to do between weekends.
On click of a ribbon button menu whose member variable is declared at cRibbonView class i would like to know a way to change the text at the status bar(ribbon) whose member variable is declared at cMainFrm class.
solution 2: if you decide to use a windows program then you can get main like argv list by using the CommandLineToArgvW()[^] function. Note that this function has only widechar (utf16) version so you might have to convert the argv values to whatever encoding you use with the WideCharToMultiByte()[^] function before you call your console main().
This come because your code has error(s).
This will go away when you fix the problem.
I don't know what this BEX is you speak of - you've not put it in context!
It could be for BeX analyzer, it could be for BeX query designer, it could be for something to do with Excel. It could very well be for none of these! You already know, we can't possibly have any idea..
From the code snippet you (didn't) post, it's more difficult than impossible to tell. When you ask a specific question and provide sufficient background information, you'll (often) receive a specific answer.
As Peter said - you've been here nearly 5 years! Surely you can muster up the effort required to post a question that is able to be answered???
Why is common sense not common?
Never argue with an idiot. They will drag you down to their level where they are an expert.
Sometimes it takes a lot of work to be lazy
Please stand in front of my pistol, smile and wait for the flash - JSOP 2012
I am trying to call the DisableProcessWindowsGhosting() method defined in user32.lib. But, it is giving linker error:
[exec] dobjedit.obj : error LNK2001: unresolved external symbol __imp__DisableProcessWindowsGhosting@0.
The library is included and linked in the project.
Can anyone please suggest the solution.
I have a win32 application in that on EditMolecule Dialog there are three tab controls.First tab control opens atom dialog. On atom dialog, there is a custom combobox control, while user clicks on the dropdownlist of this control and waits for more than 5 seconds(in Windows7),the EditMolecule window becomes nonresponsive. The same application works well in windows xp. Can anyone please suggest the solution to this problem. Thanks in advance.
Your program has a platform specific bug somewhere and you have to debug it. The info you provided is far less than what needed to find the bug. This bug can be anywhere in your program maybe it isn't gui related at all.
we are not able to reproduce the issue using windebug. The debugger is not breaking.
Could you please suggest what can be the possible reason, because after attaching the process to debugger the issue is not reproducible.
From the above it's impossible to guess, but you need to look at all the parameters being passed to the WinMain() function to see if they are valid. Given the frequency of this occurring in your programs you may like to check that you are not breaking the framework rules somewhere in your program setup.
One of these days I'm going to think of a really clever signature.
Changing the function call is not enough. The Newcomer's rule "Don't touch the UI" holds here (see "Worker Threads"[^]). You have to notify (with, for instance, a custom message) to the main window that something changed (the UI needs an update), and let the main window (that is the GUI) thread make the actual update.
I found this article How To Enter Safe Mode Using the System Configuration Utility[^] which tells you how to boot into Safe Mode with networking.
You could do this yourself by editing the boot.ini file and adding /safeboot:network and then restart the machine. You would off course needs the rights to edit the boot.ini file.
Thank you for taking the time to look into this. The method you suggest has no reason not to work. The problem is that if I edit the boot.ini, it remains edited and keeps the user from starting their computer normally (i think). Of course I can add the reverse button in my application, but it requires more action from the user. I need Windows to start normally after it first restarts in Safe Mode with Networking. I think a solution is to tell my app to start with Windows, only once, so I can revert that command automatically once it starts. Now only if I can find out how to do that
There are several registry keys (http://support.microsoft.com/kb/314866[^]) where you can place your program to start after a reboot.
The article mentions that you can use the Run Once key to even start a program in Safe Mode by adding * in front.
I am trying to learn C++ and particularly MFC. This is what the project is about more than anything. This is why my question is not specifically how to start windows in SMwN, but if there is a way to do this in C++/MFC via a button, so that it does what I want it to do. I am a total newbie but with a big appetite for learning.