i did search the forum and the help file and didnt find anything relevant(again i have very basic knowlege of programming). if i did miss such a topic i apologise for repeating questions and please send a link. if not i would really apreciate if someone could help me with my problem or send a link to somwhere that explains how to make a dll file with the generate c code option. i use microsoft visual c++ express. thank you.
you are right, the help file and the forum currently have no dedicated section which would talk about the MemBrain dll, I will consider to add these in the future.budunoff wrote: if i did miss such a topic i apologise for repeating questions and please send a link
However, there's a brief documentation section on the MemBrain homepage on the web page:
Watch out for the section 'THE MEMBRAIN DLL' on this page.
budunoff wrote:if not i would really apreciate if someone could help me with my problem or send a link to somwhere that explains how to make a dll file with the generate c code option.
The C code generation option and the MemBrain dll are two separate and independent things:
The C Code generation feature (also described on the web page linked above) allows to generate source code in the programming language 'C' for a single, frozen neural net. Then use any 'C' compiler to translate this source code into executable code which becomes an integral part of your application, which is presumably also developed in C or C++.
The MemBrain dll is automatically available on your machine in the dub directory 'DLL' of your MemBrain installation once you have installed MemBrain. You don't need any C Code generation to use the dll: The dll is a library that can be loaded by your application (e.g. from C# or C/C++) and which then allows to load MemBrain nets directly from file (*.mbn) just a MemBrain does. You can think of the MemBrain dll as a MemBrain version without Graphical User Interface (GUI) but with almost all features that the GUI featured version of MemBrain has. There is one point where the dll can do even more than MemBrain: It is able to loade more that one neural net at the same time and switch between the loaded nets during operation.
What you need in order to use the dll is getting familiar with loading and accessing a native Windows dll from within your programming language. What programming language are you using? If you use C# then there is already an object oriented wrapper available on the download page of the MemBrain Homepage.
Have you copied MemBrainDll.dll into the working directory of your application (where your *.exe resides)? If this doesn't work then try to copy the dll to C:\Windows\SysWOW64.budunoff wrote:when i try to debug membrainlibusageexample i get an error MemBrainDLL not found/cant load membrain.dll