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 tell which application launched your application

Author
Message
Briere
19
Years of Service
User Offline
Joined: 28th Feb 2005
Location: Amherst New York, United States
Posted: 21st Jun 2006 20:13
For my game, I am going to have the user login and choose their server through a different application written in C++.

This application will write to a file the ip and port of the server they chose, and their username. Is there a way to write this data somewhere that a person cannot easily edit it? Is that something like writing to registry?

And then I need to make sure that my sever selection app launched the game app. How can I find out which application launched my game?

Current Project: Galaxy Conquest
Working Lines Of Code: 1133
Last Updated: 6/17/06 at 11:55 AM EST
APEXnow
Retired Moderator
21
Years of Service
User Offline
Joined: 15th Apr 2003
Location: On a park bench
Posted: 21st Jun 2006 22:20 Edited at: 21st Jun 2006 22:23
Download an AES or symetric encryption class, and encrypt the data.

[EDIT] http://www.codeproject.com/system/AESEncRegKey.asp

Paul.


Home of the Cartography Shop - DarkBASIC Professional map importer
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 22nd Jun 2006 00:36
You could also pass the details on the command line, or in shared memory.

For free Plug-ins and source code http://www.matrix1.demon.co.uk

Login to post a reply

Server time is: 2024-11-19 06:49:40
Your offset time is: 2024-11-19 06:49:40