12-21-2005 08:59 PM
12-22-2005 12:27 AM
12-22-2005 12:35 AM
12-22-2005 01:00 AM
12-22-2005 02:32 AM
Hi Richard,
For a pretty great explanation of where The OS will look for a DLL, see here:
http://forums.ni.com/ni/board/message?board.id=170&message.id=61568&requireLogin=False
In the case of calls into the Windows API (including user32.dll) the best resource is Microsoft
This link relates to the mouse_event function (in User32.dll) which has 5 parameters - like your CLF. A 2 in the first parameter of "mouse_event" specifies "MOUSEEVENTF_LEFTDOWN" - but these parameters should be U32s!
Posting the actual VI would provide more info!
luck/cheers
12-22-2005 09:03 AM
12-22-2005 03:44 PM
Hi Richard,
...
Actually, the number and data-type of parameters is function specific. User32.DLL contains many different functions. Try double-clicking on the CLF terminal. In the dialog-box, one selects (browses/navigates-to) a specific DLL, then selects a specific Function [in that DLL] from a list-box. After that, it's up to the LabVIEW programmer to KNOW what to pass to the function. Since User32.dll was written by Microsoft, you go to them for details about the specific function requirements!
BTW, it wasn't always so easy! It used to be that one had to KNOW what functions were available in a DLL, now it appears LabVIEW mines the DLL for the names of available functions - making life a bit easier. ![]()