FBA The Creator

The True Multiplatform PC / PocketPC Opensource Development Tool - Read Only Mode - Kept only for historical purposes - Thank you all ;)
It is currently Thu Jun 04, 2026 3:49 am

All times are UTC




Post new topic  Reply to topic  [ 9 posts ] 
Author Message
PostPosted: Fri Dec 05, 2008 11:04 am 
Offline
User avatar

Joined: Thu Dec 04, 2008 8:14 am
Posts: 2
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?

_________________
Damn good coffee!


Top
   
PostPosted: Fri Dec 05, 2008 11:29 am 
Offline
FBA Administrator
FBA Administrator
User avatar

Joined: Fri Mar 21, 2008 11:19 pm
Posts: 238
Location: Rome - Italy
Not directly, but this can be done extending FBA with a custom dll


Top
   
PostPosted: Fri Dec 05, 2008 2:18 pm 
Offline

Joined: Tue Nov 25, 2008 10:10 am
Posts: 9
Any chance of a SIMPLE example ? :)

Robin

P.S. anyone know how to communicate using Bluetooth? Another .DLL perhaps?


Top
   
PostPosted: Fri Dec 05, 2008 3:06 pm 
Offline
FBA Administrator
FBA Administrator
User avatar

Joined: Fri Mar 21, 2008 11:19 pm
Posts: 238
Location: Rome - Italy
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++ ;)


Top
   
PostPosted: Mon Dec 08, 2008 10:31 am 
Offline

Joined: Tue Nov 25, 2008 10:10 am
Posts: 9
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


Top
   
PostPosted: Mon Dec 08, 2008 8:13 pm 
Offline
FBA Administrator
FBA Administrator
User avatar

Joined: Fri Mar 21, 2008 11:19 pm
Posts: 238
Location: Rome - Italy
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.


Top
   
PostPosted: Wed Dec 10, 2008 11:59 am 
Offline
User avatar

Joined: Thu Dec 04, 2008 8:14 am
Posts: 2
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 :?.

_________________
Damn good coffee!


Top
   
PostPosted: Wed Dec 10, 2008 1:18 pm 
Offline
FBA Administrator
FBA Administrator
User avatar

Joined: Fri Mar 21, 2008 11:19 pm
Posts: 238
Location: Rome - Italy
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... :)


Top
   
PostPosted: Wed Dec 10, 2008 2:00 pm 
Offline

Joined: Tue Nov 25, 2008 10:10 am
Posts: 9
Hi peterlont,

Did you try the tutorial or your own code?

I've just finished download VC Express... 750Mb :( Not sure that will fit on my eee :(

I'll await your reply before I try.

Robin


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 9 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Limited