How can i Execute game.dll within an App

Discussions on various DOL development features

Moderator: Support Team

How can i Execute game.dll within an App

Postby Imoen » Sat Jul 19, 2003 12:46 pm

Hi ;)

I want to Code a Little Tool to Start the Game.dll with some Params. My prob is that i don't get the game.dll run within my app.
Because in cmd box of WIndows i can start it.
Im using Delphi to code it. Has anybody an idea?
Imoen
DOL Apprentice
 
Posts: 29
Joined: Sat Jun 21, 2003 3:27 pm

Postby Milcis » Sat Jul 19, 2003 1:01 pm

if you use windows Xp you can make a *.bat for start game.dll

with this command : "@start game.dll IP username password"
Milcis
DOL Experienced
 
Posts: 151
Joined: Fri Jun 20, 2003 4:50 am

Postby Imoen » Sat Jul 19, 2003 1:22 pm

thx Milcis ;)

I wrote a Procedure now that creates a CMD File wich is then startet from my App.

i had to wrote the Procedure because it must Create the cmd file Variable for each Account/User that is loggin in.

My GOAL is to Write an Alternate "Login Client" without the EULA an ROC Popups and more Options.
Last edited by Imoen on Sat Jul 19, 2003 1:25 pm, edited 1 time in total.
Imoen
DOL Apprentice
 
Posts: 29
Joined: Sat Jun 21, 2003 3:27 pm

Postby Corillian » Sat Jul 19, 2003 7:58 pm

from within an application you can use ShellExecute()
-Corillian, Former DOL Project Lead
Corillian
Inactive Staff Member
 
Posts: 459
Joined: Sat Jun 21, 2003 1:32 am
ICQ: 35175939
Website: http://dolserver.sf.net

Postby Imoen » Sat Jul 19, 2003 8:32 pm

hmm i have tried shellexecute as well but nothing happend :(
Imoen
DOL Apprentice
 
Posts: 29
Joined: Sat Jun 21, 2003 3:27 pm

Postby duff » Sun Jul 20, 2003 10:10 am

HRESULT __stdcall Execute(
IDispatch* Application,
long hwndOwner,
SAFEARRAY** ContextParams,
SAFEARRAY** CustomParams,
wizardResult* retval
);
search on MSDN
Vive DOL vive DAOC
Image
membre de MatrixTC :mappeur,codeur :) plus d info:http://www.halflifedesign.net
User avatar
duff
Inactive Staff Member
 
Posts: 1682
Joined: Fri Jun 20, 2003 5:27 pm


Return to “%s” DOL Development Discussion

Who is online

Users browsing this forum: No registered users and 0 guests