Re: VB and Weather station
- From: "Steve Gerrard" <mynamehere@xxxxxxxxxxx>
- Date: Sun, 4 Sep 2005 09:25:26 -0700
"Tim" <tnieuw@xxxxxxxxxxx> wrote in message
news:431afe5c$0$11062$e4fe514c@xxxxxxxxxxxxxxxxx
> Hi Mike
>
> Thanks for the info and I also saw these solutions. All of them are older
> solutions that won't work with my weather station. I am still working with the
> DLL but untill now witn any succes.
>
> Tim
>
> "mscir" <mscir@xxxxxxxxx> schreef in bericht
> news:cMCdnZ2dnZ0HqUz5nZ2dnU6EhN6dnZ2dRVn-yp2dnZ0@xxxxxxxxxxxxxxxxx
>> Tim wrote:
>>
>>> Hi
>>>
>>> I want to make my own (web)interface for my Davis Avantage Pro 2 Weather
>>> station. Does anyone have done this before. Davis supplies a DLL for these
>>> things but is only for the C/C++ languages.
>>>
>>> Thanks in advance
>>> Tim
You should be able to work with the DLL that is "only for C/C++", if you create
the correct set of declarations in your VB program. The declarations look like
this, which is a Windows API call example:
Declare Function SetCurrentDirectory Lib "kernel32" Alias "SetCurrentDirectoryA"
(ByVal lpPathName As String) As Long
The "kernel32" part is the name of the DLL containing the function, and
SetCurrentDirectoryA is the name of the function in the DLL.
If you are not sure of the declaration required, post the C/C++ declarations
that are exported by the DLL. There are some people on this site who can then
tell you what the corresponding declarations in VB should be.
.
- References:
- VB and Weather station
- From: Tim
- Re: VB and Weather station
- From: mscir
- Re: VB and Weather station
- From: Tim
- VB and Weather station
- Prev by Date: Opening a file from the windows right-click popup menu
- Next by Date: Re: Opening a file from the windows right-click popup menu
- Previous by thread: Re: VB and Weather station
- Next by thread: Re: How to find a letter twice in a word
- Index(es):
Relevant Pages
|