FBA The Creator
http://www.fbacreator.com/fbaforum/

Unable to compile the sample DLL
http://www.fbacreator.com/fbaforum/viewtopic.php?f=5&t=102
Page 1 of 1

Author:  alxpatrick [ Sat Jul 26, 2008 10:48 pm ]
Post subject:  Unable to compile the sample DLL

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

Author:  alxpatrick [ Sun Jul 27, 2008 9:45 am ]
Post subject:  Re: Unable to compile the sample DLL

I have tried again to compile the 'mydll' project with the evc4 version, but I obtain the same result.

Author:  evilmaio [ Sun Jul 27, 2008 11:41 am ]
Post subject:  Re: Unable to compile the sample DLL

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!

Author:  alxpatrick [ Sun Jul 27, 2008 3:34 pm ]
Post subject:  Re: Unable to compile the sample DLL

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

Author:  evilmaio [ Sun Jul 27, 2008 3:52 pm ]
Post subject:  Re: Unable to compile the sample DLL

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 10782 times ]

Author:  alxpatrick [ Sun Jul 27, 2008 4:20 pm ]
Post subject:  Re: Unable to compile the sample DLL

Tanks, I'll try

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/