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 4:11 am

All times are UTC




Post new topic  Reply to topic  [ 6 posts ] 
Author Message
PostPosted: Sat Jul 26, 2008 10:48 pm 
Offline

Joined: Fri Jun 27, 2008 4:32 pm
Posts: 29
Trying to compile the FBA sample DLL witch name is 'my_cool_dll_function' with embedded visual c++ I have the following error messages:

error c2491: 'FBA_initlibrary': definition of dllimport function not allowed
error c2491: 'FBA_freelibrary': definition of dllimport function not allowed
error c2491: 'my_cool_dll_function': definition of dllimport function not allowed
mydll.exe - 3 errors

embedded visual c++ version is 3.00.0099.0

Can somebody help me?
Thanks


Top
   
PostPosted: Sun Jul 27, 2008 9:45 am 
Offline

Joined: Fri Jun 27, 2008 4:32 pm
Posts: 29
I have tried again to compile the 'mydll' project with the evc4 version, but I obtain the same result.


Top
   
PostPosted: Sun Jul 27, 2008 11:41 am 
Offline
FBA Administrator
FBA Administrator
User avatar

Joined: Fri Mar 21, 2008 11:19 pm
Posts: 238
Location: Rome - Italy
Try to create a new dll project from evc++ wizard, then manually add and export the 2 required function.
Sample DLL is very basic, you should be able two create the project from scratch!


Top
   
PostPosted: Sun Jul 27, 2008 3:34 pm 
Offline

Joined: Fri Jun 27, 2008 4:32 pm
Posts: 29
Unfortunatelly, I'm unable to do that. I know well delphi but I don't know visual C++. That's the reason why I tried to compile your simple sample: In order to learn basic work and in order to try to create basic functions, learning step by step. But if the first step don't work, I 'm unable to run ... Lol
never mind
tanks


Top
   
PostPosted: Sun Jul 27, 2008 3:52 pm 
Offline
FBA Administrator
FBA Administrator
User avatar

Joined: Fri Mar 21, 2008 11:19 pm
Posts: 238
Location: Rome - Italy
That's pretty simple..just create a dynamic link library with evc++ wizard. Then recompile it.
You should have now an empty ARM DLL :)
If you're stucked on this step, please consider to take a tutorial for evc++ configuration :)
Then simple add 2 needed functions by FBA. That's all :D


Attachments:
sample.plng.PNG
sample.plng.PNG [ 17.4 KiB | Viewed 10784 times ]
Top
   
PostPosted: Sun Jul 27, 2008 4:20 pm 
Offline

Joined: Fri Jun 27, 2008 4:32 pm
Posts: 29
Tanks, I'll try


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


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