Anonymous wrote:
now my question is lets say i find another function that i want to use ... how do i know what options to include in "Type1" , "Arg1" , "Type2" , "Arg2" , "Cdecl" , "ReturnType"
The basic types like 'LPCTSTR', 'DWORD' etc. are covered in the help page for
DLLCall.
Here are 2 relevant sections from the help for DllCall :
Quote:
The str type should generally be used with functions that expect LPSTR, LPCSTR, LPTSTR, and similar types.
Quote:
An unsigned Int (UInt) is also used quite frequently, such as for DWORD, COLORREF, and various handles such as HWND, HBRUSH, and HBITMAP.
I can understand that as a non-programmer you might have problems initially deciphering the parameter types, but I strongly suggest that you carefully study the entire help page for
DLLCall. If you come across any unfamiliar data types, you could always post here on the forums, and someone would most likely be able to help you out.
Regards,
Mario