C# and libdivecomputer
Sven Knoch
info at divinglog.de
Sat Nov 15 07:37:21 PST 2014
Hi Loïc
Do you have the libdivecomputer-0.dll in the same folder as your .NET executable? The error looks like the .NET code can't find the libdivecomputer DLL.
Sven
From: devel [mailto:devel-bounces at libdivecomputer.org] On Behalf Of loicmichel
Sent: Saturday, November 15, 2014 1:16 PM
To: Jef Driesen; libdivecomputer at henrik.synth.no
Cc: Libdivecomputer Mailinglist
Subject: Re: C# and libdivecomputer
I get the message " impossible to load the DLL" module cannot be found.
Any idea what I do wrong ? should I use a specific version of the DLL ?
Thanks,
loïc
> Message du 15/11/14 12:18
> De : "loicmichel" <5loicmichel5 at wanadoo.fr>
> A : "Jef Driesen" <jef at libdivecomputer.org>, libdivecomputer at henrik.synth.no
> Copie à : "Libdivecomputer Mailinglist" <devel at libdivecomputer.org>
> Objet : Re: C# and libdivecomputer
>
>
> Thanks a lot, i will try it now.
I will be interrested to contribute to this wrapper but I'm only a "sunday afternoon" programmer.
>
>
Loïc
>
>
>
> Message du 15/11/14 10:25
> De : "Jef Driesen" <jef at libdivecomputer.org>
> A : libdivecomputer at henrik.synth.no, "loicmichel" <5loicmichel5 at wanadoo.fr>
> Copie à : "Libdivecomputer Mailinglist" <devel at libdivecomputer.org>
> Objet : Re: C# and libdivecomputer
>
> On 14-11-14 23:46, libdivecomputer at henrik.synth.no wrote:
> > loicmichel wrote:
> >> I'm used to program in C# and have zaro experience with C.
> >>
> >> Are you aware of any c# code to link to the libdivecomputer ?
> >>
> >> I can't figure out from the example how to download and use data from
> >> a VEO2 computer.
> >
> > There's a libdivecomputer DLL here:
> > http://www.libdivecomputer.org/builds/divinglog/
> >
> > Maybe that's useful?
>
> To use the libdivecomputer library from .NET, you need a small wrapper. I once
> started writing such a wrapper, because it's a request I receive quite often.
> Ideally, I would like to see an official .NET wrapper in the future. But I never
> had time to finish it. So it's far from complete, but there is probably enough
> to get you started. See the attached files.
>
> PS: If anyone is interested in improving the .NET code I started, please get in
> touch.
>
> Jef
>
>
> [ common.cs (0.4 Ko) ]
> [ context.cs (1.6 Ko) ]
> [ descriptor.cs (2.3 Ko) ]
> [ device.cs (4.6 Ko) ]
> [ parser.cs (6.1 Ko) ]
> [ test.cs (6.3 Ko) ]
_______________________________________________
devel mailing list
devel at libdivecomputer.org
http://libdivecomputer.org/cgi-bin/mailman/listinfo/devel
More information about the devel
mailing list