Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / How to DGDK launch a file.

Author
Message
vitinho444
13
Years of Service
User Offline
Joined: 12th Oct 2010
Location:
Posted: 24th Mar 2011 20:24
Hey guys, i wanna make a command to launch an external .exe if inside the game its pressed CTRL + S

What i need to type?


Learning C++
VB6 Advanced: 4/5
VB.NET Advanced: 4/5
Hassan
15
Years of Service
User Offline
Joined: 4th May 2009
Location: <script> alert(1); </script>
Posted: 24th Mar 2011 21:01
see ShellExecute (http://msdn.microsoft.com/en-us/library/bb762153%28v=vs.85%29.aspx)



on a side note: this will keep running the exe once every loop so either create a variable to check when the ctrl+s is released (like on your other thread) or pause the program till it's released

vitinho444
13
Years of Service
User Offline
Joined: 12th Oct 2010
Location:
Posted: 24th Mar 2011 21:46
ok
so i will make a bool like this:



then


it will work?

Learning C++
VB6 Advanced: 4/5
VB.NET Advanced: 4/5
Hassan
15
Years of Service
User Offline
Joined: 4th May 2009
Location: <script> alert(1); </script>
Posted: 25th Mar 2011 08:12
no

should be


vitinho444
13
Years of Service
User Offline
Joined: 12th Oct 2010
Location:
Posted: 25th Mar 2011 23:39
okay ty

Learning C++
VB6 Advanced: 4/5
VB.NET Advanced: 4/5

Login to post a reply

Server time is: 2024-09-28 12:36:48
Your offset time is: 2024-09-28 12:36:48