I am trying to use HumidiProbeGetUnitInfo to distinguish which of numerous probes I am reading (in VB6)
I get the temp and humidity fine but on
ok = HumidiProbeGetUnitInfo(handle, probeinfo, 255, 4)
where handle (int) like 1 and probeinfo is a string variable
program crashes with
Unhandled exception at 0x77124cb4 in VB6.EXE: 0xC0000005: Access violation reading location 0x36524e45.