|
Hi guys, would it be possible to prevent the user from renaming the program file name while it is executing ?
Thanks !
|
|
|
|
|
I think its not possible.
-@SuDhIrKuMaR@-
|
|
|
|
|
You can rename the file, but cannot delete it while executing.
Shocking for me too!
Regards,
Jijo.
_____________________________________________________
http://weseetips.com[ ^] Visual C++ tips and tricks. Updated daily.
|
|
|
|
|
You can open (CreateFile) the executable file in exclusive share mode and close it when done.
--
=====
Arman
|
|
|
|
|
Hi all,
Please anyone can tell me how can i add Calculator in VC++2005.
if possible please explain with example.
every advice is appriciated.
Thanks in advance.
IN A DAY, WHEN YOU DON'T COME ACROSS ANY PROBLEMS - YOU CAN BE SURE THAT YOU ARE TRAVELLING IN A WRONG PATH
|
|
|
|
|
|
thanks,
But i have already check it.here the caluculator is not working properly in some cases.
like 1.CE 500,M+ ,CE 800,-,MR,=??
2.Enterany value than press = .
3.always show output in float.
4.first time when u enter any value.
IN A DAY, WHEN YOU DON'T COME ACROSS ANY PROBLEMS - YOU CAN BE SURE THAT YOU ARE TRAVELLING IN A WRONG PATH
|
|
|
|
|
What are the problems you are facing?
-@SuDhIrKuMaR@-
|
|
|
|
|
"_$h@nky_" wrote: ere the caluculator is not working properly in some cases.
like 1.CE 500,M+ ,CE 800,-,MR,=??
2.Enterany value than press = .
3.always show output in float.
4.first time when u enter any value.
why not fix the issues and use the same instead of finding other app.
Regards,
Sandip.
|
|
|
|
|
i m trying but i m not aable to fix those problem tahts why i want to add any other app.
if you can help me for fix those problems i m very thankful to you.
please help me.
IN A DAY, WHEN YOU DON'T COME ACROSS ANY PROBLEMS - YOU CAN BE SURE THAT YOU ARE TRAVELLING IN A WRONG PATH
|
|
|
|
|
|
this is application where calculation is done not show calculator.
I want to use calculator in geneal, not to use for calculate tru button.
i mean i want to show calculator.
IN A DAY, WHEN YOU DON'T COME ACROSS ANY PROBLEMS - YOU CAN BE SURE THAT YOU ARE TRAVELLING IN A WRONG PATH
|
|
|
|
|
It is very difficult to understand all that you say.
BTW, what "calculator" do you want to show ?
an ActiveX control ?
of the windows Calculator ?
or another one ?
|
|
|
|
|
a simple caculator like available in windows.
IN A DAY, WHEN YOU DON'T COME ACROSS ANY PROBLEMS - YOU CAN BE SURE THAT YOU ARE TRAVELLING IN A WRONG PATH
|
|
|
|
|
::ShellExecute(null, _T("open"), _T("calc.exe"), null, null, SW_SHOW);
|
|
|
|
|
Thanks.
IN A DAY, WHEN YOU DON'T COME ACROSS ANY PROBLEMS - YOU CAN BE SURE THAT YOU ARE TRAVELLING IN A WRONG PATH
|
|
|
|
|
After Creating a MSI installer i get a setup.exe in the Debug folder of MSi project, now on double clicking it I get a GUI in following manner
1. Welcome Screen
2. Asking path for Installation
3. Confirmation dialog for the path specified
4. progressing Screen
5. Finish dialog indicating completion of setup.exe
now I donot want the first 3 dialogs so i deleted those dialogs from the Install option of User interface view ?
is it the right way or is there any other optimal solution ?
|
|
|
|
|
Can We redefine the extern variable more than once with in the same scope?
|
|
|
|
|
An external variable must be defined, exactly once, outside of any function; this sets aside storage for it. The variable must also be declared in each function that wants to access it; this states the type of the variable.
The basic rule is ``define once; declare many times.''
I want to know the reason of this being voted down...
Done
Somethings seem HARD to do, until we know how to do them.
_AnShUmAn_
modified on Tuesday, August 5, 2008 5:39 AM
|
|
|
|
|
Sorry. I did it by mistake. I'll explain the problem for which I want the solution. I want to control the speed of the animation. I did this with the variable called "speedcntr"(extern defined in main.cpp). I use this variable to change the speed between way points. For this I call a function called "SetSpeed" which is defined in a file called Character.cpp from a file called "AI.cpp". It's working fine. In addition When the Charcters load initially they should be playing with a specific animation speed(Different for each Character). For this I've to change the value of this speedcntr variable before each character's load(with in the same scope). Is it possible or any other solution to my problem?
|
|
|
|
|
Hi,
It seems you want to store multiple values. Dont you think you can use arrays or some other data structure for this purpose.
Regards,
Sandip.
|
|
|
|
|
_AnShUmAn_ wrote: I want to know the reason of this being voted down... [Frown]
May be you want to edit your post now
Regards,
Sandip.
|
|
|
|
|
|
Hi Friend
I want to include Analog clock in C++6.0 MFC (dailog based application)
|
|
|
|
|
Why are you reposting when you got replies to your first post.
Regards,
Sandip.
|
|
|
|