For those new to message boards please try to follow a few simple rules when posting your question.
Choose the correct forum for your message. Posting a VB.NET question in the C++ forum will end in tears.
Be specific! Don't ask "can someone send me the code to create an application that does 'X'. Pinpoint exactly what it is you need help with.
Keep the subject line brief, but descriptive. eg "File Serialization problem"
Keep the question as brief as possible. If you have to include code, include the smallest snippet of code you can.
Be careful when including code that you haven't made a typo. Typing mistakes can become the focal point instead of the actual question you asked.
Do not remove or empty a message if others have replied. Keep the thread intact and available for others to search and read. If your problem was answered then edit your message and add "[Solved]" to the subject line of the original post, and cast an approval vote to the one or several answers that really helped you.
If you are posting source code with your question, place it inside <pre></pre> tags. We advise you also check the "Encode HTML tags when pasting" checkbox before pasting anything inside the PRE block, and make sure "Ignore HTML tags in this message" check box is unchecked.
Be courteous and DON'T SHOUT. Everyone here helps because they enjoy helping others, not because it's their job.
Please do not post links to your question in one forum from another, unrelated forum (such as the lounge). It will be deleted.
Do not be abusive, offensive, inappropriate or harass anyone on the boards. Doing so will get you kicked off and banned. Play nice.
If you have a school or university assignment, assume that your teacher or lecturer is also reading these forums.
No advertising or soliciting.
We reserve the right to move your posts to a more appropriate forum or to delete anything deemed inappropriate or illegal.
Am new to MFC.I have an MFC application that has to capture the device/system shut down using MFC window messages.I tried it with wm_close,wm_destroy,wm_endsession.But not able to capture.The fix should be like it has to work in xp/vista and Windows 8.0. Thanks in advance
This mass of data must be reduced with algorithms I do not know. Neural Networks works fine but in the last step I think.
Searching with Google I get Differential equations etc but this is not helpful. I need math formulars I can convert to code.
Thisismyfirstpostingatcodeproject.com, soIapologizeinadvancedforanymistakes. Iwanttodevelopasimple C++ applicationswhichcanrunforWindowsXP, 7, 8. Iwantapplicationtobesimpletoinstallandrunontheseplatformswithoutaneedfor .netframework. KeyhereisniceskinnedUI.
IdidsomeresearchontopicandcheckedvariousapplicationsyoucandownloadfromtheInternetandonethatcaughtmyeyeisSlimCleanerathttps://www.slimwareutilities.com/slimcleaner.php . If you click on Screenshot you can see the UI. I installed it on Win XP, 7 and 8 and it looks the same on all three platforms. From the .exe and included DLL it does not appear to be a .net application. This is the listing of the installed folder:
cleaner.db649KB 9/15/2014 9:22PMDataBaseFileMyDefragDll.dll649KB 7/18/2012 6:47AMApplicationExteservice.db7KB 9/15/2014 9:22PMDataBaseFileSlimCleaner.exe29,623KB 7/10/2013 9:53AMApplicationSlimShell64.dll673KB 7/10/2013 9:53AMApplicationExtenSlimShell.dll559KB 7/10/2013 9:53AMApplicationExtenstartup.db10,841KB 9/15/2014 9:22PMDataBaseFileMyquestioniscansomebodypleasehelpmeunderstandwhattoolstheyused, whatdevelopmentenvironment, andAPI. IsitMFC, Winformsor WPF? Thelatertwoare .net, asfarasIunderstand, butmaybetheyarejustcompliedasstandaloneapplication. Thingthatthiscaughtmysysisthat .exeis30MBissize. Itappearsthatthewholeapplicationisinthatsingle file!
AsanewtoWindowsdevelopmentIdonothavealotexperienceandifsomebodyalsocangivesomehintsandideaswhenIseeanapplicationwiththeUIIlikehowtofigureoutwhattheyusedtodevelopit. Iamnotinterestedinreverseengineeringtheapplication, justtofigureoutisitMCFbase, WinformsorWPF, isitdoneinVisualStudioor C++ Builderetc. Maybewhattoolstheyusedforskinningetc.
Thank you for your response. It is not an issue of weather to learning MFC or not, it is an issue of wanting to make a right choice up from. If I pick MFC and then later on I find out the Winforms would have been a batter choice it would not be a pleasant realization. MFC is being depreciated by Microsoft so it makes sense to pick something that is going to be around. Further due to the requirement to run on Windows XP, 7 and 8 without .net framework makes it questionable if Winforms or WPF can be used. On the other hand from what I have read it appears that there may be a way to compile a Winforms or WPF into a stand alone application which can be run without .net frameworks.
So before embarking on these adventures I thought to seek some advice and pointers from those who have sailed these waters before me. If I know for sure that let’s say Winforms can be compiled into a stand alone application which does not needs .net frameworks than that would be a good choice to pick. Thank you for your replay anyway.
I have written a client-server program using VC++ 2012 console application, which works on local network properly. But I want to connect to the server program on the internet using client program. I have the computer IP that server program is run on. How can I connect to server program by client?
Thank you for your advice, But it didn’t work. I decided to run server program on one of computers in my office. For this purpose I got that computer’s IP address from http://myip.dnsomatic.com and used it in server program. But error code 10049 was returned. (Cannot assign requested address) :
There are a lot of things that could be in the way... can you ping between the two machines? Just having internet access isn't really enough, a lot of times certain ports are blocked off to prevent external intrusions. There could be firewalls blocking access both within the machine and externally as part of the network.