|
asdfkhjgk wrote: ...cannot open include file 'd3d9.h'
Do you have this file?
"A good athlete is the result of a good and worthy opponent." - David Crow
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
It seems you dont have this file on your system but I suggest see MCI functions for play MPG and avi for Mov I dont know they can show it or no.
|
|
|
|
|
In "ShellExecute" function the parameters we pass it to it is,
HINSTANCE ShellExecute(
HWND hwnd,
LPCTSTR lpOperation,
LPCTSTR lpFile,
LPCTSTR lpParameters,
LPCTSTR lpDirectory,
INT nShowCmd
);
in this "LPCTSTR lpParameters" is a post parameter or something else? can we pass post parameter through "ShellExecute" function?
Anay
|
|
|
|
|
Did you read the doc?
Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->ßRÅhmmÃ<-·´¯`·.
|
|
|
|
|
Use that member for any command line arguments you wish to pass onto the exe.
Waldermort
|
|
|
|
|
This was supposed to be a reply to the question below. Sorry.
|
|
|
|
|
There are many softwares will auto run when the Windows only startup!
So,I want to code a small program to turn off some software's autorun?
How should I do this task?Thanks.
GOOD LUCK.
|
|
|
|
|
Depending on the new entry of the software at the time of installation, some softwares add an entry in the Run folder in the Registry. If you know how to tweak the registry and modify the values so as not to run the software you know how to stop a software from executing at StartUP. Playing with the registry is dangerous and you should always have a backup of it before doing any changes.
Somethings seem HARD to do, until we know how to do them.
_AnShUmAn_
|
|
|
|
|
But if I do not only do such task. For example,when I insert an USB device,a special software will launch,that's also should be turned off.How to reslove such new task?
Thanks
|
|
|
|
|
Programs can be started on 3 levels
1. In the starup folder of the user.
These are link files which can be deleted. I think you can find the folder with the function SHGetKnownFolderPath[^]
2. There are 2 places where programs can be starten from the registry
HKCU/SOFTWARE/MICROSOFT/WINDOWS/CURRENTVERSION/RUN
HKLM/SOFTWARE/MICROSOFT/WINDOWS/CURRENTVERSION/RUN
3. Last place: The services.
These program2/services can be started according to there startup settings: manual, automatic, disabled.
Hope this is helpfull
codito ergo sum
|
|
|
|
|
But if I do not only do such task. For example,when I insert an USB device,a special software will launch,that's also should be turned off.How to reslove such new task?
Thank you.
|
|
|
|
|
There are loads of autorun places - Have a look at the AutoRuns utility on www.sysinternals.com.
If you mean a specific program, and you know how *it* autostarts, then it should be simple. For the more general case? Harder.
Iain.
|
|
|
|
|
Yes,I know which program I want to turn off its auto run.
Thanks.But if I do not only do such task. For example,when I insert an USB device,a special software will launch,that's also should be turned off.How to reslove such new task?
|
|
|
|
|
kcynic wrote: But if I do not only do such task.
You said this three times and it still makes no sense. Do you or do you not know how to remove a value from the HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run key?
kcynic wrote: ...when I insert an USB device,a special software will launch,that's also should be turned off.
This has nothing to do with the aforementioned key. Likely, some service is running that is monitoring all USB activity. Does the USB device have any programs on it that could be auto-running?
"A good athlete is the result of a good and worthy opponent." - David Crow
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
Yes,I can see a service running now.
Thank you very.
Happy Mid-auturmn Day
|
|
|
|
|
|
Dont need to ask again you can complete your question.
|
|
|
|
|
thanks sir for ur response
i know ip address sir
but to connect with other system from my system
i need also port number and i read about port numbers but i dont understand
that which port number is user to connect two systems in the network
thanks
|
|
|
|
|
Hi
what is mean by unistallerFF?
|
|
|
|
|
yadahav wrote: unistallerFF?
Are you sure this has some meaning ?
|
|
|
|
|
|
Hamid. wrote: It was interesting here
What's interesting there ? It's pointing to the same question.
|
|
|
|
|
If you see result of search is two links that both are codeproject.
|
|
|
|
|
This is because only yadahav has asked or I should say coined the word unistallerff.
So the whole world does not know about this till now.
|
|
|
|
|