C# and libfreespace.dll

166 views
Skip to first unread message

Jay

unread,
Apr 23, 2013, 1:59:15 PM4/23/13
to libfre...@googlegroups.com
Hello,

I am a noob to .NET programming, but I have been programming for some time.

I would like to incorporate the libfreespace.dll library into C# to develop some graphical representation of the orientation of the FSM-6 sensor.  When I attempt to add a reference to the libfreespace.dll library, I get the following error:

[A reference to '...libfreespace.dll' could not be added.  Please make sure that the file is accessible, and that it is a valid assembly or COM component.]

I tried register the dll with regsvr32 and got the following error:

[The moduie "libfreespace.dll"  may not compatible with the version of Windows that you're running.  Check if the module is compatible with an x86 (32-bit) or x64 (64-bit) version of of regsvr32.exe]

The dll is in the C:\Windows\System32 folder.

Then I tried moving the dll to the C:\Windows\SysWOW64 folder and run regsvr32 from there.  Again, I received an error:

[The module "libfreespace.dll" was loaded but the entry-point DllRegisrerServer was not found.  Make sure "libfreespace.dll" us a valid DLL or OCX file and then try again.]

I am running windows 7 (64 bit). 

Any help or insight you can provide would be greatly appreciated.

Thanks!

Jay

Merrill

unread,
Apr 29, 2013, 2:37:26 PM4/29/13
to libfre...@googlegroups.com
Hi Jay,

Thanks for the question.

Unfortunately we no longer support C# bindings with the latest versions of libfreespace.  We used to manage a project call libfreespace.net that contained a wrapper for the C libfreespace library but that has not been updated in some time.  You are welcome to check it out at the link below, but it would have to be modified to use the new API's that libfreespace 0.6 uses.


Let me know if I can help with anything else.

-Merrill
libfreespace moderator

ganj.g...@gmail.com

unread,
Dec 6, 2013, 3:51:14 AM12/6/13
to libfre...@googlegroups.com
Hi Dear Merrill

i got libfreespace.net  according the link but i cant use it . 
please help me 
Best Regards
ganj

Merrill

unread,
Dec 6, 2013, 10:01:33 AM12/6/13
to libfre...@googlegroups.com
Hi Ganj,

Libfreespace.net is no longer supported with current generation versions of libfreespace for the FSM-9, FSM-6, Scoop, and FSRK-USB-2.  Sorry...

-Merrill

ganj.g...@gmail.com

unread,
Dec 6, 2013, 4:46:21 PM12/6/13
to libfre...@googlegroups.com
Hi Merrill
would u plz tell me that what can i do if i wanne use C# to communicate with Fsm9.?
and if its not possible how can i solve my problems?
i am expert  in c# programming  but not in VS c++. 
so plz guide me to know how can i use VS c++ in detail .
BR
Ganj

Merrill

unread,
Dec 6, 2013, 4:54:06 PM12/6/13
to libfre...@googlegroups.com
Hi Ganj,

At this time the only languages that are available to be used with the FSM-9 are C/C++ using the existing libfreespace 0.7 download.

It may be possible to look at the old libfreespace.net and the old libfreespace library and make the changes on your own, but to be honest we had another user try that out a few weeks ago and they ran into some problems.

Can you use C or C++ for your work?  The libfreespace-examples show how to do many common tasks in C with the FSM-9.

Thanks,
-Merrill

ganj.g...@gmail.com

unread,
Dec 6, 2013, 5:16:38 PM12/6/13
to libfre...@googlegroups.com
Hi Merrill
I can use VS c++ but i dont know how ? and how can i use the examples..would u plz explain them for me?
I dont know VSc++.
Thank u very much
Ganj

Merrill

unread,
Dec 18, 2013, 10:19:18 PM12/18/13
to libfre...@googlegroups.com
Hi Ganj,

There are many good tutorials online about C++ development.  You might start there for some tips about development with C++.  Specifically, I have had good luck with The New Boston site.


Good luck and let me know if I can help with anything else.

-Merrill
Reply all
Reply to author
Forward
0 new messages