Example of DLL coded by codeblock and used by FS

DSP related issues, mathematics, processing and techniques
DjMmix
Posts: 16
Joined: Wed Nov 09, 2011 8:02 am
Location: france

Example of DLL coded by codeblock and used by FS

Post by DjMmix »

Hello Guy's,

i'm postin this thread for you show a dll compile under Codeblock (because I do not have visual studio) and used as flowstone.

I took the addfloats function (the simplest function to understand) and show you some little difference (including the size of the much smaller dll, less header file and slightly different statement)

I joined you archive with the project and the fsm Codeblock associate.

testdll.zip
Exemple CodeBlock
(12.91 KiB) Downloaded 1532 times
Last edited by DjMmix on Mon Dec 16, 2013 3:08 pm, edited 1 time in total.
tester
Posts: 1786
Joined: Wed Jan 18, 2012 10:52 pm
Location: Poland, internet

Re: Example of DLL coded by codeblock and used by FS

Post by tester »

Hmm... Why after opening your schematic - FS toolbox shows only 1 primitive - the DLL? Or should I ask - where to turn off that view limitation?

For educators we have introduced a feature called Local Toolboxes. This allows you to easily create a reduced toolbox so that students are only presented with the components they need to perform a particular task. The toolbox is local to a schematic and can be saved with it too. The feature may also be useful for power users who want to keep their own toolbox of favourite components to use with particular schematics.


No word on how to turn it off, no mention on "local toolboxes" in manuals. But found it. On schematic (not toolbox, not main menu, not options) - right click and first option from the bottom "remove/restore local toolbox" (Shift+Ctrl+T).
Last edited by tester on Mon Dec 16, 2013 2:16 pm, edited 1 time in total.
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
DjMmix
Posts: 16
Joined: Wed Nov 09, 2011 8:02 am
Location: france

Re: Example of DLL coded by codeblock and used by FS

Post by DjMmix »

i m clicked by error storage local on dll primitive after this on this schema only show the dll and i not return back :/
tester
Posts: 1786
Joined: Wed Jan 18, 2012 10:52 pm
Location: Poland, internet

Re: Example of DLL coded by codeblock and used by FS

Post by tester »

...solution described above.
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
DjMmix
Posts: 16
Joined: Wed Nov 09, 2011 8:02 am
Location: france

Re: Example of DLL coded by codeblock and used by FS

Post by DjMmix »

ok thx !!!
tester
Posts: 1786
Joined: Wed Jan 18, 2012 10:52 pm
Location: Poland, internet

Re: Example of DLL coded by codeblock and used by FS

Post by tester »

BTW - you can use "schematic file path" (fixed in current FS version) primitive to follow the folder where you extract schematics, thus added dll's. This should simplify pach changes between computers. You can pass it through "start folder" primitive. This one is activated within exported files, exe for example. I did some experiments here:

viewtopic.php?f=2&t=1856&p=9136
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
DjMmix
Posts: 16
Joined: Wed Nov 09, 2011 8:02 am
Location: france

Re: Example of DLL coded by codeblock and used by FS

Post by DjMmix »

ok i"m corrected ans redit my first post , thx for this info :)
tester
Posts: 1786
Joined: Wed Jan 18, 2012 10:52 pm
Location: Poland, internet

Re: Example of DLL coded by codeblock and used by FS

Post by tester »

You're welcome.
Maybe with your help I will understand how to connect these FS apps with external dll's... :)
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
User avatar
Nubeat7
Posts: 1347
Joined: Sat Apr 14, 2012 9:59 am
Location: Vienna
Contact:

Re: Example of DLL coded by codeblock and used by FS

Post by Nubeat7 »

thank you mmix

i prefer using codeblocks too, great to have an example for this.
User avatar
trogluddite
Posts: 1730
Joined: Fri Oct 22, 2010 12:46 am
Location: Yorkshire, UK

Re: Example of DLL coded by codeblock and used by FS

Post by trogluddite »

Thanks mmix - this is all new to me, and my first impressions of Visual Studio are "Aaaaargh!" :o - it's really good to know that we have some other options for making our code.
All schematics/modules I post are free for all to use - but a credit is always polite!
Don't stagnate, mutate to create!
Post Reply