VicToMeyeZR Posted February 28, 2010 Share Posted February 28, 2010 Is there a command set to tell BM to run another program? an executable. Quote AMD Phenom II x6 1100T - 16GB RAM - ATI 5870 HD - OCZ Vertex 2 60GB SSD Link to comment Share on other sites More sharing options...
Naughty Alien Posted March 2, 2010 Share Posted March 2, 2010 yes.. System_ ("MyExternalExe.Exe") or better use this..first type in Extern "Win32" Function WinExec (lpCmdLine:Byte Ptr, nCmdShow:Int) End Extern and then just do this WinExec("MyExternalExe.exe",10) and thats it..or if you need cross platform compatibility, you can do this openurl("MyExternalExe.exe") Quote Link to comment Share on other sites More sharing options...
AndyGFX Posted March 2, 2010 Share Posted March 2, 2010 or when you want wait to end of executed program, try this: ... 'Execute application Local process:TProcess = CreateProcess(app) Repeat Local error:String = process.err.ReadLine() If error <> "" Then Notify error EndIf If process.Status() = 0 Then Exit Forever ... Where app is path/name of exec. program. Quote [HW] C2D Q6600, 4GB RAM, NV8800GTX, Vista Ultimate x64 [sW] Blide Plus, BlitzMax, Delphi, C++, 3DWS 5.53, Leadwerks 2.xx Link to comment Share on other sites More sharing options...
VicToMeyeZR Posted March 5, 2010 Author Share Posted March 5, 2010 Thanks guys.. Finally getting the swing of BMX.. Its not as bad as I thought.. Building a game patcher with it, and so far its been pretty impressive. openURL() to open a program. Thats just funny. lol Quote AMD Phenom II x6 1100T - 16GB RAM - ATI 5870 HD - OCZ Vertex 2 60GB SSD Link to comment Share on other sites More sharing options...
Masterxilo Posted March 5, 2010 Share Posted March 5, 2010 Why? It opens a resource that you specify with it's "name"/"address"/"Resource Locator" (with a uniform/unified notation). Hence the name... Quote Hurricane-Eye Entertainment - Site, blog. Link to comment Share on other sites More sharing options...
VicToMeyeZR Posted March 5, 2010 Author Share Posted March 5, 2010 I just find it humorous because URL is typically only referred to as web address... Quote AMD Phenom II x6 1100T - 16GB RAM - ATI 5870 HD - OCZ Vertex 2 60GB SSD Link to comment Share on other sites More sharing options...
Masterxilo Posted March 5, 2010 Share Posted March 5, 2010 k, that's true. Quote Hurricane-Eye Entertainment - Site, blog. Link to comment Share on other sites More sharing options...
VicToMeyeZR Posted March 5, 2010 Author Share Posted March 5, 2010 Building a game patcher with it, and so far its been pretty impressive. I just noticed that didn't come out right. I meant BM, not my program. lol. I still kind of suck at it, but with all the libraries, it's pretty easy to build simple applications like this. Quote AMD Phenom II x6 1100T - 16GB RAM - ATI 5870 HD - OCZ Vertex 2 60GB SSD Link to comment Share on other sites More sharing options...
Naughty Alien Posted March 6, 2010 Share Posted March 6, 2010 ..im convinced after initial 'issues' with Bmax, you will luv it so much , especially after blending it with Blide, real pro coding environment..soon its going to be available for Eclipse, and thats a real beauty .. at least thats happen to me Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.