C# UWP app and FASlave.dll

For Formula AllCode users to discuss projects, programs, and any other issues related to the Formula AllCode robotics platform.

Moderators: Benj, Mods

Kurja
Posts: 3
Joined: Tue Feb 21, 2017 3:30 pm
Has thanked: 1 time
Been thanked: 1 time
Contact:

C# UWP app and FASlave.dll

Postby Kurja » Tue Feb 21, 2017 3:41 pm

Hello!

I'm working on a UWP app for FA, but end up in error when try to load dll. It seems that UWP dll capabilities have been cut down. Perhaps problem is cause dll seems to be win32 as UWP understands only x86. Might be the problem. With console application dll works just fine.. But I want graphics! :lol: Oh, and some libraries I need (or have planned to work with)
are on UWP only..

Exception thrown: 'System.DllNotFoundException' is the error what pops up when trying to load it.

Possible to get source code for FASlave.dll or maybe you could get it to work with UWP?

Windows 10 build 10586
Visual Studio 2015

User avatar
Benj
Matrix Staff
Posts: 14319
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4412 times
Been thanked: 4129 times
Contact:

Re: C# UWP app and FASlave.dll

Postby Benj » Tue Feb 21, 2017 4:17 pm

Hello Kurja,

I've moved to topic into the FA section of the forum so it is easier to find for anyone else with similar issues.

Please find the source code for the DLL by following the link below.

http://www.matrixtsl.com/resources/file ... ASlave.zip
These users thanked the author Benj for the post:
Kurja (Wed Feb 22, 2017 8:25 pm)
Rating: 5.26%
 

Kurja
Posts: 3
Joined: Tue Feb 21, 2017 3:30 pm
Has thanked: 1 time
Been thanked: 1 time
Contact:

Re: C# UWP app and FASlave.dll

Postby Kurja » Tue Feb 21, 2017 4:20 pm

Thanks, I will take a look at it!

You we're faster then me, moving this post I mean, possible duplicant incoming to allcode section :roll:

User avatar
Benj
Matrix Staff
Posts: 14319
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4412 times
Been thanked: 4129 times
Contact:

Re: C# UWP app and FASlave.dll

Postby Benj » Tue Feb 21, 2017 4:22 pm

No worries :D

Let us know how you get on.

Kurja
Posts: 3
Joined: Tue Feb 21, 2017 3:30 pm
Has thanked: 1 time
Been thanked: 1 time
Contact:

Re: C# UWP app and FASlave.dll

Postby Kurja » Tue Feb 21, 2017 7:48 pm

I have to say. Sandboxes. Sandboxes everywhere! I think I give up with UWP for a while and do my stuff with java, c# console app, c++ or python. Too bad I made interface with UWP first :lol:

If you Matrix engineers can think of some solution for UWP, I'd be your tester 8)
These users thanked the author Kurja for the post:
Benj (Wed Feb 22, 2017 10:34 am)
Rating: 5.26%