Search found 7 matches

by eccentric
Tue Sep 01, 2009 5:59 pm
Forum: GamingTools Members::Inner Space
Topic: ShellExecuteEx shenanigans?
Replies: 3
Views: 2691

Another exception I'm getting is "Not enough storage is available to complete this operation".

The shell execute seems to work ok when client is freshly loaded, but degrades to throwing exceptions after several hours.
by eccentric
Thu Aug 27, 2009 7:13 pm
Forum: GamingTools Members::Inner Space
Topic: ShellExecuteEx shenanigans?
Replies: 3
Views: 2691

Oh another thing... I have to do this code from a worker thread because Process.Start() terminates the entire EQ2 process when called from the bot entry point.
by eccentric
Thu Aug 27, 2009 6:33 pm
Forum: GamingTools Members::Inner Space
Topic: ShellExecuteEx shenanigans?
Replies: 3
Views: 2691

ShellExecuteEx shenanigans?

I have this C#/.NET code inside isxeq2/innerspace on Windows Vista where strFileName is a string containing the absolute path of a text file: try { if (File.Exists(strFileName)) { Program.Log("Shell executing \"{0}\"...", strFileName); Process p = new Syst...
by eccentric
Wed Feb 04, 2009 11:51 am
Forum: GamingTools Members::Inner Space
Topic: Icon in title of windowed mode
Replies: 6
Views: 3747

Calling windowtext from OnFrame doesn't crash the client. Thank you sir!
by eccentric
Wed Feb 04, 2009 3:18 am
Forum: GamingTools Members::Inner Space
Topic: Icon in title of windowed mode
Replies: 6
Views: 3747

fine* (I can't edit my post) I restarted InnerSpace and no new files were patched, so I assume I have the latest file versions. Again, the windowtext command works fine in the console directly, but when called from the .NET function it locks up the game client. Other commands seem to work fine in th...
by eccentric
Wed Feb 04, 2009 3:05 am
Forum: GamingTools Members::Inner Space
Topic: Icon in title of windowed mode
Replies: 6
Views: 3747

I found the function to do this:

LavishScript.ExecuteCommand("windowtext blahblahblah")

Even though it works find with other commands, it also locks up on windowtext!
by eccentric
Tue Feb 03, 2009 6:20 pm
Forum: GamingTools Members::Inner Space
Topic: Icon in title of windowed mode
Replies: 6
Views: 3747

My desire is similar; I would like to change the title of windowed mode from .NET interface but resorting to PInvoke Win32 calls is locking up my code. Generally it's bad mojo to access a window from a different thread from the owner but I always thought SetWindowText() should work anyway...