| FBA The Creator http://www.fbacreator.com/fbaforum/ |
|
| Starting external executables http://www.fbacreator.com/fbaforum/viewtopic.php?f=5&t=131 |
Page 1 of 1 |
| Author: | peterlont [ Fri Dec 05, 2008 11:04 am ] |
| Post subject: | Starting external executables |
Greetings all, Is there a way to start an external executable? I'm working on an application launcher just to get familiar with FBA, but it seems to be lacking this feature (or did I miss it?). Anyone have a suggestion? |
|
| Author: | evilmaio [ Fri Dec 05, 2008 11:29 am ] |
| Post subject: | Re: Starting external executables |
Not directly, but this can be done extending FBA with a custom dll |
|
| Author: | ESP [ Fri Dec 05, 2008 2:18 pm ] |
| Post subject: | Re: Starting external executables |
Any chance of a SIMPLE example ? Robin P.S. anyone know how to communicate using Bluetooth? Another .DLL perhaps? |
|
| Author: | evilmaio [ Fri Dec 05, 2008 3:06 pm ] |
| Post subject: | Re: Starting external executables |
There should be a simple 'helloworld' DLL in the main FBA install dir, it should be fairly easy to change for your purpose, provided you know a bit of C++ |
|
| Author: | ESP [ Mon Dec 08, 2008 10:31 am ] |
| Post subject: | Re: Starting external executables |
Would that be 25? There is a readme but it's a bit foreign to me. Which of those files would I create? I've never wanted to learn any kind of 'C', but I could maintain a simple example. Is the C++ Visual C++ (free version?). Does 'evc++ wizard' come with it? @ Peterlont. Are you going to try it? Robin |
|
| Author: | evilmaio [ Mon Dec 08, 2008 8:13 pm ] |
| Post subject: | Re: Starting external executables |
Yes, 25th is a good starting point (and implementing an 'exec' wrapper could be very easy). evc++ is free and you should be able to compile the win32 version with any free C win32 compiler. |
|
| Author: | peterlont [ Wed Dec 10, 2008 11:59 am ] |
| Post subject: | Re: Starting external executables |
I'm sorry, but I can't get it to work. I've installed EVC++ 4.0 and SP4 and the WIN CE 2003 SDK. All without installation errors and everything seems to be working fine. But upon building or compiling the sample project I get the c2491 error, time after time, no matter what I try or correct. I've looked at the topic in this forum dealing with this problem, but without any results. I'm not a Visual C++ developer and can't find anything wrong with the source code to be able to determine the source of the error. If I'm the only one experiencing this problem, than sobeit. But if there are any more like me, I think it's time to spend some time to write down a decent howto, otherwise 'thirdparty' external dll's are far away from happening and seriously undermines the future usability of this - in my opinion - superb development platform. I hope it doesn't end here |
|
| Author: | evilmaio [ Wed Dec 10, 2008 1:18 pm ] |
| Post subject: | Re: Starting external executables |
I'm sorry if I look rude, but there are lot of tutorials for creating DLL in evc++/vc++ and actually executing an external file it's not its main goal, as it's mainly designed for full screen games/applications. Try to build an empty DLL throught evc++ wizard, then simply add needed code. FBA's DLL Extensions actually are just DLL with 2 exported functions... |
|
| Author: | ESP [ Wed Dec 10, 2008 2:00 pm ] |
| Post subject: | Re: Starting external executables |
Hi peterlont, Did you try the tutorial or your own code? I've just finished download VC Express... 750Mb I'll await your reply before I try. Robin |
|
| Page 1 of 1 | All times are UTC |
| Powered by phpBB® Forum Software © phpBB Limited https://www.phpbb.com/ |
|