To give some idea about the backwards compatibility of the api's...
Most win3.11 api's are still there. Most new windows versions have new
functions, but the old once are still used. E.g. XP has some new functions
for skinning applications.
The GetDeviceCaps is supported by 95/98/me/nt/2k and xp. This function will
not be removed very soon. If it needs to be changed, MS will just add new
parameters, but keep the old parameters unchanged. Or, if it cannot be
avoided, MS adds a function with Ex added to it, e.g. GetDC -> GetDCEx. The
old one is not removed.
Finding dll's can be a problem if the dll is shipped with an executable, and
got lost. If the dll is in the windows system directory, the system (and LV
)
will always find them. If it's not there but it is registered, it will also
be found. If it is not in the system dir, and is not registered, it has to
be in the application directory, or in a subdirectory of the application.
BTW. Why worry about the future of the dll, and not about the future of the
OCX?
Regards,
Wiebe.
"INTP56"
wrote in message
news:5065000000050000005ADD0000-1042324653000@exchange.ni.com...
> Wiebe,
>
> Thanks a lot. HitTest now works as expected.
>
> This now brings up another concern, support. I'm using Win2K, will
> LabView still be able to find the DLL files in XP? NT4? 98? Me? etc.,
> especially after I compile the program into an executable. This is the
> first time I've used the Win32API from LabVIEW. I've read (briefly)
> about others having problems with LabVIEW finding DLL's (although I
> can't seem to find them now)
>
> Anyway, thanks again for your solution. As someone once said, "The
> answer is obvious....once you know it"