Rolf wrote:
"
Well, I'm just coming back from a major surgery and am still revalidating when I saw this nice discussion that I seemed to have missed completely 😉
Yes the executable (LabVIEW runtime engine DLL) under Windows provides this C API too. However it does not export all functions the Development System does since some of it simply doesn't exist in the runtime environment.
And before someone wants to know about how I came to know all these things. Mostly it is about lots and lots of trial and error and a few friendly tips of some NI guys. The particular prototypes for the Occurrence API I actually found in the original extcode.h file that was distributed with LabVIEW 2.5. This was a several 100k header file that showed (documented would be a bit of an overstatement) the prototypes of all exported LabVIEW manager functions at that time. Most of them seem still available in LabVIEW and probably haven't changed to much but no guarantee for this of course. With LabVIEW 3.0 NI decided to document the manager API partially in the External Code Reference Manual and remove all references to functions not in that manual from extcode.h.
This first extcode.h file also shows some signs of an interface that allowed creation of C style custom controls and the device driver interface that serpdrv was using in a similar way to CINs. This C style custom control interface seemed to have been removed in LabVIEW 4 without any replacement probably since the static method table of those objects gave to much trouble to be kept compatible among different LabVIEW versions.
Rolf Kalbermatter
"
Thank you Rolf!
You were here in spirit thanks to Jim. Your additional comments show the benefit in being around for a while and poking around under rocks.
I wish you God's speed in your recovery.
Ben