|
helloy all
i need some programs about gedir algorithm
in c++ language
or any links about it
thanks for all
|
|
|
|
|
Hello !
Who can tell me how to distinguish the following case:
case1: Prog.exe is started by double click.
case2: Prog.exe is started by operating system.
case3: prog.exe is started by other program.(for example: ShellExecute())
Distinguish means in the prog, to distinguish.
Thanks!
|
|
|
|
|
It's a very interesting question, but I'm not sure there is a way. Just for curiosity, why do you want to distinguish them?
Best,
Jun
|
|
|
|
|
, the requirement is that:
There is a program (let's name it A.exe), if user double click the A.exe, it doesn't reponse, by other words, user can't start it by double click.
But the A.exe can be started by another program B.exe, and
after user setting, the A.exe can start when the user log in the system(XP or vista).
Best Regards,
|
|
|
|
|
I'm not quite clear about this requirement:
chenxiujie wrote: after user setting, the A.exe can start when the user log in the system(XP or vista).
Best,
Jun
|
|
|
|
|
If you require prog.exe to be started with a parameter, you'll foil all double click attempts. For instance, "prog.exe" just terminates, but "prog.exe /run" makes it run.
--
100% natural. No superstitious additives.
|
|
|
|
|
Hi guys, I've got a quick question.
I have the Borland 5.5 C++ compiler and in order to compile standard C++ code, you type 'BCC32 filename.cpp' in the command screen to compile "filename".
In order to compile a Visual C++ application, you need to add a parameter or setting to that command.
My question is which one is it? I've done it before so I know how it's done, but I've forgotten the exact line and I can't seem to find it on the huge place we call the internet.
Thanks for answering such a stupid question in advance!
|
|
|
|
|
cl /EHsc sample.cpp
Maxwell Chen
|
|
|
|
|
Hmm
That doesn't seem to work.
"cl" is not recognised as being an application, command or batchfile and I'm positive that what I'm referring to was this:
<br />
"BCC32" line "sample.cpp"<br />
with "line" being the extra line which I have forgotten. I think there was a "-" preceding the line, but I'm not sure.
QUite frustrating to have forgotten the line, but my copmiler won't compile a Visual C++ app without the little line.
Thanks for your help anyways!
|
|
|
|
|
Peter Charlesworth wrote: That doesn't seem to work.
"cl" is not recognised as being an application, command or batchfile
You have to run vcvars32.bat to initialize those environment settings before your invoking CL.exe command.
From MSDN Library:
The vcvars32.bat file sets the appropriate environment variables to enable 32-bit command-line builds.
Maxwell Chen
|
|
|
|
|
Hi, I want to convert mp3 into wma format using win32. Is there any way to achieve this?
Thanks.
Vijay
|
|
|
|
|
i ahve a dialog when i place mouse on button i static text i should get button when i place mouse on edit i should get edit.it's working fine.
but before showing edit it just's shows button after that it shows edit.
how should i over come this
sree.
|
|
|
|
|
Could you clarify your question a bit?
Best,
Jun
|
|
|
|
|
ok
i have one main dialog and one popup dialog.if mouse move then we get the realted text in the static text in the edit box.i get this.when i move from one point to another first i get the previous text after that we r getting the present pointed text.taht is the problem,
sree.
|
|
|
|
|
Usually, when you have an image or object embedded in a richtext document you can interact with it like editing or resizing. Is there anyone who knows how to disable user interaction with these objects?
Thanks,
Jup
|
|
|
|
|
Hello,
Process A want Process B to quit. How to do can give the Process B enough time
to do something release.
Please give me some suggestion, thank you !
|
|
|
|
|
Have you seen MS KB article 178893 ("HOWTO: Terminate an pplication "Cleanly" in Win32")?
|
|
|
|
|
Thank you for your replay, please tell me where can I get the article,"MS KB" means what?
|
|
|
|
|
Microsoft has recently changed the way to do that, or at least it has been changed temporarily.
So the way to do it at the moment is to go to the Advanced Search and put the article id in the "For" box and select "Article Id" in the "Search Type" box.
|
|
|
|
|
|
I normally implement an IPC between A and B. Let A notify B and allow B to exit itself gracefully.
Best,
Jun
|
|
|
|
|
|
That assumes that the developer has access to the source code and such for both processes. If that had been said originally, then I would have replied with an answer more appropriate for that.
|
|
|
|
|
You posted a good answer; just different assumptions.
Best,
Jun
|
|
|
|
|
I would not say that I made assumptions; I think my intent was to clarify the question; in other words, I did not want to make assumptions.
I have seen many times vague questions becoming huge discussions when the person asking the question does not clarify the question. So I agree that people should not assume.
|
|
|
|