Thanks Ryan! I was able to compile my project, and this is basically all I need at this point - just make sure it will compile. Yuri
Yuri Gershanov
Posts
-
VCToolkit and DevStudio 6? -
Minimizing app with task bar buttonRamu Pulipati wrote: If you are using MFC, make sure you are not dealing with taskbar icon in CMyDocument::OnNewDocument() or CMyDocument::OnCloseDocument() or CMyDocument::DeleteConetents(). Its better to handle taskbar add/remove operations in CWinApp derived class. I do not actually handle any of taskbar events explicitly, nor I use tray icons. This is just regular taskbar button that does not work... Thanks, Yuri
-
Minimizing app with task bar buttonHi everybody, Encountered a strange problem. When started, my application reacts properly on task bar events - it can be minimized by clicking on its task bar icon, and restored when the button is clicked again. But after I load a file into the app, the program will not minimize by task bar button, though the caption color changes to inactive. If I click on the caption, or use system menu to minimize the program, or just open the system menu, the normal behavior of task bar button is restored. Setting breakpoint in syscommand handler, I see that when the taskbar button is working correctly the program gets SC_MINIMIZE/SC_MAXIMIZE. After loading a file, it does not. Any idea on possible reason? Thanks, Yuri
-
Number theory & 12024562121Nish [BusterBoy] wrote: Perhaps its a prime number. It's divisible by 11. Yuri
-
Using the VC++ (6) IDE with an external compilerA regular (and expensive) way for developing for Unix platforms using VC IDE is Visual MainWin. It includes not only the compiler front end (allowing compilation from the IDE), but more or less full implementation of Win32 under HP-UX, Solaris, Aix and Linux. But for a small project this is definitely an overkill. Another way is to write your own front-end, a simple program that will run the Unix compiler remotely (using, for example, rexec or telnet protocol), providing it with appropriate command line, intercept its messages (stdout? stderr?) and translate them into native IDE's format: path(lineno): message. Then you can install the program as a tool in the IDE, redirect its output to the Output Window and enjoy. I did that some years ago, and it worked. --yuri
-
For what it's worth...Being a Russian citizen living and working in US, I don't know if I am in any position to advice in such situation, but the recent tragic events have to do with the whole world, so I will dare. Military campaign is necessary to get the terrorists down, but IMHO it would be wrong to start with a massive strike. Right now we are dealing with world-wide network. If you occupy the Afganistan, this will not be enough. The invasion forces will get stuck there, but bin laden and his guys would easily escape, move to Pakistan or anywhere else where they have supporters. Should the invasion force use WMD, chances are they will kill SOME terrorists along with MILLIONS of innocent people. Nice option, huh? Now what I think may help: - Organize wide campaign of pressure on terrorists and states supporting them (already being done). - Cut off their sources of funding. Buy less oil from the Middle East. 60% of world oil consuming are by U.S., this is the time to use strategic resources. There is also a lot of oil in Alaska, etc. Invest more money into development of oil-free technologies in order to decrease oil consumption by factor 3..4 in 5-10 years (good for environment, too) - Taliban may also make big money on drugs. They deny this, but should we believe them? Closer control on drug dealing network might help in cutting their funding. - Help the Afganistan's Northern Alliance. They hate taliban, fight taliban for many years, and they have support within the country, as opposed to invasion forses. - Hunt down their network. This would be a long-term intelligence operation, involving many of the world police and intelligence forces. Carry out some limited, "surgical" military operations when it is needed and possible. - Increase security measures (already being done). Prohibit all radical religious groups in as many countries as it will be possible. - Work on social roots of terrorism. There is no secret that lots of people worldwide support those lunatics. It is absolutely necessary to understand why, and how to deprive terrorists of their social base. But this is a separate, long discussion. All this will take a lot of time, efforts, money, maybe even lives, but there is no silver bullet. The alternative is - World War III. This is what bin laden wants and what he has planned for us. Peace and good luck for all us, Yuri
-
Did somebody see something like this?Otherwise you could not store anything but pointers to dynamically created objects in the CArray. :rose:
-
False FootageHe definitely does. The AP correspondents that filmed that were arrested (but then released) by the Palestinian police. I don't think thi happens every day in Palestine so the authorities may not be aware of this.
-
Once VS.NET ships, R.I.P. Windows 9x?This is exactly what I do when I have to debug something on Win98/95/Me/NT (I use W2K). A little bit slow, but acceptable for debugging minor problems. From the other hand, if the system is designed keeping Win98 in mind and it works on W2K, there won't be any major problems on Win9x, just maybe minor bugs - IMHO.
-
Back to Sendmail?I am not an Exchange fan, but let us be fair to it. It is not a speed devil, but I happened to send a pretty big amount of emails through Exchange server - approximately 100 90K pieces to ~50 people, i.e., about 5000 emails totalling in 450Mbytes, and it took 10-15 minutes. Our company of 500+ people uses Exchange heavily, and never experienced such performance problem. 100 emails per hour? Sound like a sabotage ;) Yuri
-
What is everyone working on?UI for our CAD products - fast graphics, extended (BCGControlBar-based) customization, dialog stuff, auto synchronization with internal DB, macro language/recording/playback/debugger, embedded HTML help...
-
<font color="#CC0000"><em>Code Thief</em></font>Derek, Of course they had to ask for your permission before posting translation of your article on their site. I think their guess was - if the code is posted on CP, it is free and intended for use by everybody so it would be ok if they re-post it. I think if you e-mail to webmaster of the site it would be enough for excluding such things in the future. I could help with the translation if needed. Best regards, Yuri