Skip to content
MPGHThe Dark Arts
/
RegisterLog in
Forum
Community
What's NewLatest posts across the boardTrendingHottest threads right nowSubscribedThreads you follow
Discussion
GeneralIntroductionsEntertainmentDebate FortFlaming & Rage
Board
News & AnnouncementsMPGH TimesSuggestions & HelpGiveaways
More Sections
Art & Graphic DesignProgrammingHackingCryptocurrency
Hacks & Cheats
Games
ValorantCS2 / CS:GOCall of Duty / WarzoneFortniteApex LegendsEscape From Tarkov
+14 moreLeague of LegendsGTA VMinecraftRustROTMGBattlefieldTroveBattleOnCombat ArmsCrossFireBlackshotRuneScapeDayZDead by Daylight
Resources
Game Hacking TutorialsReverse EngineeringGeneral Game HackingAnti-CheatConsole Game Hacking
Tools
Game Hacking ToolsTrainers & CheatsHack/Release NewsNew
Submit a release →Share your cheat, tool, or config with the community.
AINEW
AI Tools
General & DiscussionPrompt EngineeringLLM JailbreaksHotAI Agents & AutomationLocal / Open Models
AI × Gaming
AI Aimbots & VisionML Anti-CheatGame Bots & Automation
Create
AI Coding / Vibe CodingAI Art & MediaAI Voice & TTS
The AI frontier →Where game hacking meets modern machine learning. Jump in.
Marketplace
Buy & Sell
SellingBuyingTradingUser Services
Trust & Safety
Middleman LoungeMarketplace TalkVouch Copy Profiles
Money
Cryptocurrency TalkCurrency ExchangeWork & Job Offers
Start selling →List accounts, services, and goods. Use the middleman to trade safe.
MPGH The Dark Arts

A community for offensive security research, reverse engineering, and AI.

Community

ForumMarketplaceSearch

Account

RegisterLog in

Legal

Privacy PolicyForum RulesHelp & FAQ
© 2026 MPGH · All rights reserved.Built by the community, for the community. For educational purposes onlyContent is shared for security research and education — we don't condone illegal use. You're responsible for complying with applicable laws. Use at your own risk.
Home › Forum › Programming › C++/C Programming › Opening Another Program

Opening Another Program

Posts 1–15 of 16 · Page 1 of 2
aanthonyz
aanthonyz
Opening Another Program
Well, before you even start typing a reply saying use "system()" or "CreateProcess()" listen.

I am doing this for my robot in the science fair. I am designing two programs one will be my MAIN program which will control all the aspects of my robot like starting the voice and other things like that. It will be a Console Application. My second is going to be Windows Forms, but I want to be able to open it from my MAIN program.

The issue that I have is that when I use system() or CreateProcess() they cause my MAIN program to stop and wait for my second one to finish. Is there anyway I can open my secondary program while my MAIN keeps cycling through the commands?
#1 · 15y ago
Auxilium
Auxilium
Windows forms is .NET
#2 · 15y ago
Void
Void
Quote Originally Posted by Virtual Void View Post
Windows forms is .NET
Virtual Void, are you fucking kidding me Patrick. o_O
#3 · 15y ago
Auxilium
Auxilium
I keed not.
#4 · 15y ago
Void
Void
Oh my fucking god you stole my avatar. GTFO!
#5 · 15y ago
ғᴜᴋᴏᴊʀ
ғᴜᴋᴏᴊʀ
Quote Originally Posted by Void View Post
Oh my fucking god you stole my avatar. GTFO!
Actually he flipped it upside down

Try creating another thread and then in one thread open the other process.
#6 · 15y ago
Void
Void
Quote Originally Posted by -TwEaK View Post


Actually he flipped it upside down

Try creating another thread and then in one thread open the other process.
Bingo!

Create a seperate thread using CreateThread and have CreateProcess called in that thread.
#7 · 15y ago
Auxilium
Auxilium
I'm your alter ego if you will
#8 · 15y ago
why06jz
why06jz
LMAO. Hahahaha! oh lol
#9 · 15y ago
aanthonyz
aanthonyz
Thanks for the help.
I cant believe alter egos are fighting lol.

Sorry for the double post, but would I use CreateProcess to open a picture?
What is the command to close something as well?

I know C++ but not too much, from 1-10 im probably a 3.

This is all for my robot.

I basically want to Display a Splash Screen like what pinball does and then close it.
#10 · edited 15y ago · 15y ago
Void
Void
You use CreateProcess to open whatever picture viewer you're using to view the picture, so yes.

Closing processes: TerminateProcess()
#11 · 15y ago
aanthonyz
aanthonyz
Quote Originally Posted by Void View Post
You use CreateProcess to open whatever picture viewer you're using to view the picture, so yes.

Closing processes: TerminateProcess()
Thanks for the terminate process.

What I mean by opening the picture is that it will open full screen without any program, like the Pinball game. It opens and you cant close it until the program closes it.
#12 · 15y ago
Void
Void
Well, lets say its a BMP formatted picture.

Look up the structure of BMP and use SetPixel/GDI functions to draw over your screen. Or I'm pretty sure you can find an already coded function to draw a picture to your screen.
#13 · 15y ago
ғᴜᴋᴏᴊʀ
ғᴜᴋᴏᴊʀ
Quote Originally Posted by Void View Post
Well, lets say its a BMP formatted picture.

Look up the structure of BMP and use SetPixel/GDI functions to draw over your screen. Or I'm pretty sure you can find an already coded function to draw a picture to your screen.
Lol he gonna hack you David and draw a huge picture of a penis all over your screen. Just saying
#14 · 15y ago
Void
Void
Quote Originally Posted by -TwEaK View Post


Lol he gonna hack you David and draw a huge picture of a penis all over your screen. Just saying
I can't wait for that, I've been waiting for some new wallpaper.
#15 · 15y ago
Posts 1–15 of 16 · Page 1 of 2

Post a Reply

Tags for this Thread

None