|
Tomasz Sowinski wrote:
...develops social skills
I for one dont get payed for social skills or developing them, rather for programming skills and developing applications
int x=1, y=5;
x^=y^=x^=y;
<a href="http://www.codeproject.com/tips/StupidXORTrick.asp" target="_blank">ClickHereForHelp();</a>
|
|
|
|
|
I get paid for being here. So I'm not against developing social skills.
STL is a religeon. Enquiries to Reverend Christian Graus
|
|
|
|
|
Andreas Saurwein wrote:
I for one dont get payed for social skills or developing them,
As everybody in this industry. However, the social skills may be helpful someday
Tomasz Sowinski -- http://www.shooltz.com
Free your mind and your ass will follow.
|
|
|
|
|
My wife is happy with what she gets, what do I need more And if one day I need these pesky "social skills", well, I send her.
int x=1, y=5;
x^=y^=x^=y;
<a href="http://www.codeproject.com/tips/StupidXORTrick.asp" target="_blank">ClickHereForHelp();</a>
|
|
|
|
|
Andreas Saurwein wrote:
My wife is happy with what she gets,
Wife? Dude, think about yourself and lost possibilities
Tomasz Sowinski -- http://www.shooltz.com
Free your mind and your ass will follow.
|
|
|
|
|
Tomasz Sowinski wrote:
lost possibilities
As I said, I am programmer, not playboy
With a wife a can spend more time in front of the computer.
int x=1, y=5;
x^=y^=x^=y;
<a href="http://www.codeproject.com/tips/StupidXORTrick.asp" target="_blank">ClickHereForHelp();</a>
|
|
|
|
|
John Uhlenbrock wrote:
BUT, that would require me getting out of my chair to go get the book
You can download a good C++ book.
Sonork 100.15206;PavelK
|
|
|
|
|
I need to show a CDialogBar window as modal window.
Is it possible ???
How can I do ???
Thanks a lot.
|
|
|
|
|
Why don't you use CDialog instead?
Tomasz Sowinski -- http://www.shooltz.com
Free your mind and your ass will follow.
|
|
|
|
|
It'is only a little problem of appearance.
This window is very small and contains only some utility controls....
The X button (close) placed in the title bar of a CDialogBar
is smaller than the X button of a CDialog and the title bar itself
is less height.....
|
|
|
|
|
Check 'Tool Window' option in Extended Styles of dialog and you'll get small font in caption.
Tomasz Sowinski -- http://www.shooltz.com
Free your mind and your ass will follow.
|
|
|
|
|
I have a toolbar inside a ReBar.
The ToolBar is making use of Disabled Hot and Cold imagelists.
The ImageLists are created from Bitmaps in the resource.
The CommandId's I have mapped to Accelerator Keys and they are Handled in the Mainframe with ON_COMMAND and ON_UPDATE_COMMAND_UI Macros.
The problem is that the functions being called for the ON_UPDATE_COMMAND_UI macros are being called thousands of times, it looks like they are being called for each Mouse Movement?!?!?!
What is going on? Arghhhh!!!
Asim Hussain
e: asim@jawache.net
w: www.jawache.net
|
|
|
|
|
Jawache wrote:
ON_UPDATE_COMMAND_UI macros are being called thousands of times, it looks like they are being called for each Mouse Movement?!?!?!
This is exactly how MFC idle update UI works. Each time your app enters idle state, the UI is refreshed.
This means your ON_UPDATE_CMD_UI handlers must be quite effective, otherwise app will be sluggish.
Tomasz Sowinski -- http://www.shooltz.com
Free your mind and your ass will follow.
|
|
|
|
|
Hi all,
I need to execute an exe file from my C++ program.This I'm able to do using the CreateProcess method provided.I'm able to execute the exe and even see the output.My need is to store that output into a text file.As we may do it on the command line using redirection.I assigned the command line string to the second parameter in the CreateProcess method but the problem is not solved.
That is
CreateProcess( "D:\\filename.exe", // No module name (use command line).
"filename >pas.txt", // Command line.
NULL, // Process handle not inheritable.
NULL, // Thread handle not inheritable.
FALSE, // Set handle inheritance to FALSE.
0, // No creation flags.
NULL, // Use parent's environment block.
NULL, // Use parent's starting directory.
&si, // Pointer to STARTUPINFO structure.
&pi ) // Pointer to PROCESS_INFORMATION structure.
Can anybody help me.
Thanks and Regards,
Abhishek.
Learning is a never ending process of Life.
|
|
|
|
|
Suppose thats me who could help here
Look at Controlling Console Applications[^]
int x=1, y=5;
x^=y^=x^=y;
<a href="http://www.codeproject.com/tips/StupidXORTrick.asp" target="_blank">ClickHereForHelp();</a>
|
|
|
|
|
Hi!
I want to make a backup of my development directory which is already about 700 MB big, I want to put it on a CD-R. But I only want to include the neccessary files.
There are some files with the extension *.pch or similar that are not necessary since they are recreated in the next compile. So what files can I delete safely to safe disk space?
(Of coure at first I will make a full copy of my development directory on my HD)
best regards
Greg
modified 12-Sep-18 21:01pm.
|
|
|
|
|
Everything in the Debug and Release folders is regenerated at compile time. The rest of the files are pretty much needed apart from .CLW and .NCB (which store the classwizard and class view information)
.pch are pre-compiled headers and can be safely deleted.
Michael
Time flies like an arrow. Fruit flies like a banana
|
|
|
|
|
In addition to Martin's reply: you can safely delete *.aps and *.plg files. I'm usually deleting .opt file as well - it has workspace-related info like executable name for debugging .dlls.
Tomasz Sowinski -- http://www.shooltz.com
Free your mind and your ass will follow.
|
|
|
|
|
Assuming you can recompile from your sources (i.e. you're not dependent on any .libs or .dlls), all you need are the .cpp, .h, .txt, .rc, .dsp, .dsw and /res files.
/ravi
Let's put "civil" back in "civilization"
http://www.ravib.com
ravib@ravib.com
|
|
|
|
|
Thank you Michael, Tomasz, Ravi and anyone else
modified 12-Sep-18 21:01pm.
|
|
|
|
|
And if you're looking for a free backup utility, why not try my EZBackup[^] tool?
/ravi
Let's put "civil" back in "civilization"
http://www.ravib.com
ravib@ravib.com
|
|
|
|
|
Does it distinguish between needed files and garbage?
int x=1, y=5;
x^=y^=x^=y;
<a href="http://www.codeproject.com/tips/StupidXORTrick.asp" target="_blank">ClickHereForHelp();</a>
|
|
|
|
|
Um... did you click the link?
/ravi
Let's put "civil" back in "civilization"
http://www.ravib.com
ravib@ravib.com
|
|
|
|
|
Yes, of course. Right now But it keeps telling me that it doesnt find the server. Are you hiding it, so that no one can see that EZBackup doesnt know what files Gregor needs? Shame on you.
int x=1, y=5;
x^=y^=x^=y;
<a href="http://www.codeproject.com/tips/StupidXORTrick.asp" target="_blank">ClickHereForHelp();</a>
|
|
|
|
|
Good opportunity to make some advertisement, eh?
But your app has a big bug, take a look: http://foxhunter.ath.cx/ezbackup.jpg
modified 12-Sep-18 21:01pm.
|
|
|
|