|
Post by Darkjester on Mar 19, 2009 22:09:04 GMT -5
shellexecute is really easy just include windows.h and then call shellexecute()
|
|
zack8686
Posts a bit
gl-Home in wikispace
Posts: 207
|
Post by zack8686 on Mar 20, 2009 0:15:20 GMT -5
Can Basic4gl programs embedded into html and played by web users ?
|
|
|
Post by smc44 on Mar 20, 2009 6:27:09 GMT -5
umm i dont know exactly what your sayin, do you mean can you make a basic4gl program(exe) and put in a web page, XD
|
|
|
Post by matthew on Mar 20, 2009 7:34:58 GMT -5
If you want to start embedding programs in web pages you'll be wanting to use Flash or Java.
|
|
|
Post by smc44 on Mar 20, 2009 11:49:51 GMT -5
yea i would use flash its not that hard to set up with an exe, probably could find you a tutorial
|
|
zack8686
Posts a bit
gl-Home in wikispace
Posts: 207
|
Post by zack8686 on Mar 21, 2009 9:41:48 GMT -5
Ok .
|
|
zack8686
Posts a bit
gl-Home in wikispace
Posts: 207
|
Post by zack8686 on Mar 22, 2009 2:17:47 GMT -5
Is there a way to execute another executable from the first executable , and both are running simultaneously ?
When I use "ExecuteProgram....." , the second executable is running , but the first one stopped .
Can anyone please answer my question ?
-Thanks-
|
|
|
Post by matthew on Mar 22, 2009 2:45:18 GMT -5
Are you asking whether it's possible to run several programs simultaneously using the ShellExecute command?
|
|
|
Post by smc44 on Mar 22, 2009 13:57:09 GMT -5
Are you asking whether it's possible to run several programs simultaneously using the ShellExecute command? i think thats posible
|
|
|
Post by matthew on Mar 22, 2009 14:22:41 GMT -5
I've put together this short C program which opens up notepad.exe & then paint.exe.
#include<windows.h>
int main(void) { ShellExecute(NULL, "open", "notepad.exe", NULL, NULL, SW_SHOWNORMAL); ShellExecute(NULL, "open", "pbrush.exe", NULL, NULL, SW_SHOWNORMAL);
return(0); }
Opening multiple programs can be done, so you can probably switch between them & use them.
|
|
|
Post by smc44 on Mar 22, 2009 14:50:13 GMT -5
yea pretty simple, but its a good example
|
|
zack8686
Posts a bit
gl-Home in wikispace
Posts: 207
|
Post by zack8686 on Mar 27, 2009 8:43:46 GMT -5
Questions : -If I run an executable in the background , can it trace INKEY() ? I mean , can it detect what I pressed ? -How to make animation of a 3d model in Basic4gl programme if I have a .obj file (3d model) that consists of animation ? -How do I open "window.h" using CodeBlocks ? I can't find this header file .
And , I've just rebuilt all those suddenly disappeared categorises and boards in my forum .
-Thanks-
|
|
|
Post by matthew on Mar 27, 2009 14:54:43 GMT -5
I doubt it, I think a programme has to have focus in order for it record keypresses but I'm not 100% sure.
Can't you just use the MD2 format? All the hard work has already been done for you.
Do you want to open it or include it?
You'll probably find the file in your Code::Blocks, MinGW, include folder.
|
|
zack8686
Posts a bit
gl-Home in wikispace
Posts: 207
|
Post by zack8686 on Mar 28, 2009 8:42:42 GMT -5
Sorry for asking 3d model in .obj format again and again , because I'm learning Blender and wish to export it and just straight away export it into .obj format . I'll try export it in MD2 format .
Questions : -How to make a Luminescent Spherical Bullet ? (Mostly on luminescence ..) Can you post a simple example to make a luminescent stuff ?
-Thanks-
|
|
|
Post by matthew on Mar 28, 2009 9:16:45 GMT -5
Well if you're looking for .obj model loading information, you should take a look at this thread & this one too. As for the luminescence problem, the best I can give you is a link to NeHe lesson 36, which does use the GL_LUMINANCE command in it's lighting.
|
|