Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Development > Archive::Tools

Archive::Tools Archive area for Tools's posts that were moved here after an inactivity period of 90 days.

View Poll Results: What do you think of this software?
Good 1 33.33%
Great 1 33.33%
Poor 0 0%
Sucks 1 33.33%
Voters: 3. You may not vote on this poll

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 10-14-2002, 04:31 PM
curtdept
Fire Beetle
 
Join Date: Apr 2002
Posts: 14
Default

If you are using .Net just add the .NET Framework "Process" component. You can then set it properties, stuff like working directory and executable location, and execute the program from an object such as a button using <Processcontrolname>.Start(); Then you wont need all this thrid party software. PatchMe launcher from start to finish in C# is 1 line of code, 4.5 kb, and 2 minutes ;p As for touching base with installers. Being that the .NET Framework is the "end of DLL hell." Unless you use some hemped up third party libraries, DLL, or external applications you can just distribute the executable and tell them to grab the Framework off of WindowsUpdate, if they dont already have it.

To extend this you could do a compare of the EQHost and replace it for either EQEmu or EQLive upon launch, using an object like radio buttons. Store the working directory path in an ini or XML and hardcode a keep alive in a relatively short period of time ;p Could even take it that much farther and add things like an autoupdate for it. All depends how far you want it to go Just some ideas.

WinExec is somewhat legacy now as well. They currently recommend and most major institutions tend to teach CreateProcess in VC6+ for the degree of control it offers.
-Curtis
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 01:52 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3