Calling DrLavas LaserDACLibrary (UDAC) from C#.NET
Hi everyone Thanks in advance for your possible answers and help
Im working with DrLava LaserDACLibrary (UDAC)+Etherdream on C++.
The main thing is that I want to use laser projectors with a C#.NET software that I create some time ago. This software comes with two concrete funcionalities:
1-Play on screen preloaded animated gifs that came with the software.
For the First funcionality I thought to convert all my preloaded gifs to ILDA, read these ILDA files and save each preloaded gif to a .txt or .h file, using Chris cfavreau code. All this stuff will be done just one time and outside the software, I mean is transparent for users.
So when the user tries to play one of this preloaded gifs I will just have to open the selected (.txt or .h) file read the coordinates, send them to DrLavas UDAC + Etherdream and the scanner will show the animated gif.
2-Create and store animated gifs with a tool bar and play those animated gifs on screen.
I have not think yet how to convert this user created gifs to ILDA format or coordinates format that where valid for sending to UDAC +ETHERDREAM.
For my first prototype Im only working with the first funcionality. Until now I worked with C++ , but it wil lbe easier for to work with C#.NET, the problem is
How to use DRLavas Library from C#.NET. I tried using DLLIMPORT, but there are lots of pointers and other types that gives sosme problems converting to C#.
I get one C#.NET demo with DLLIMPORT working but it paints only strange forms, not painting what I send to paint.
Any idea about how to export or call or using DrLavas UDAC from a .NET project.
Thanks in advance
Osithlon