how to execute an *.exe
what should i do to start an *.exe(like in autorun apps)?
belgrade-yu
belgrade-yu
You mean on a CD? Just look at an autorun.inf file and make it like that
-~-The Cow of Darkness-~-
[edited by - cowsarenotevil on April 14, 2003 5:45:53 PM]
-~-The Cow of Darkness-~-
[edited by - cowsarenotevil on April 14, 2003 5:45:53 PM]
-~-The Cow of Darkness-~-
well i know about autorun.inf,but i want to make my own OpenGL-autorun
so does anybody knows how to do this?
belgrade-yu

so does anybody knows how to do this?
belgrade-yu
belgrade-yu
So, wouldnt you simply have autorun.inf load up your OpenGL prog?
Out - The Prox
Out - The Prox
NARF - Pinky and the Brain
quote:
Original post by biotech
well i know about autorun.inf,but i want to make my own OpenGL-autorun
so does anybody knows how to do this?
belgrade-yu
I don''t understand, sorry
-~-The Cow of Darkness-~-
-~-The Cow of Darkness-~-
I know I have it laying around here somewhere.... and then i will go in depth...
Out - The Prox
Out - The Prox
NARF - Pinky and the Brain
Create a new ''autorun.inf''
here is an example::
[autorun]
open = start MyOGL.exe -800
icon = OpenGL.ico
and thats it!
Out - The Prox
here is an example::
[autorun]
open = start MyOGL.exe -800
icon = OpenGL.ico
and thats it!
Out - The Prox
NARF - Pinky and the Brain
No... he doesn''t want autorun. He wants to know how he can run an exe from his program.
This is the easiest method:
system("blah.exe");
This is the easiest method:
system("blah.exe");
I think he''s talking about how to make your program run at windows startup.
To do this you need make an entry in your registry
Here are the steps
1. Click Start/Run/type regedit.exe and click open
2. Go to HKEY_LOCAL_MACHINE/Software/Microsoft/Windows/CurrentVerison/Run
3. Create a new registry entry with a path to your program.
I think that should work. Be cearful !!!! IF YOU SCEW UP YOUR REGISTRY, YOUR COMPUTER MAY COMIT SUICIED!
To do this you need make an entry in your registry
Here are the steps
1. Click Start/Run/type regedit.exe and click open
2. Go to HKEY_LOCAL_MACHINE/Software/Microsoft/Windows/CurrentVerison/Run
3. Create a new registry entry with a path to your program.
I think that should work. Be cearful !!!! IF YOU SCEW UP YOUR REGISTRY, YOUR COMPUTER MAY COMIT SUICIED!
well actually i ment a classic autorun.exe->it displays a dialogbox with buttons something like
lay a movie(executes any player avaliable,like mdvd.exe and terminates autorun.exe),but in this case i wanted to make my own autorun 3d-like(opengl),
system("autorun.exe"); works but it don''t terminates current exe.
know anything about this.
registry idea is cool but it would be even more cooler if you can write reg-key from a *.exe->know anything about this?
thanx
belgrade-yu

system("autorun.exe"); works but it don''t terminates current exe.
know anything about this.
registry idea is cool but it would be even more cooler if you can write reg-key from a *.exe->know anything about this?
thanx
belgrade-yu
belgrade-yu
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement