Having a hard time getting this work... using version 7.3.1
Here is the function definition I was provided and I have verified that it works with a small utility application:
function MyFunction(Msg : UINT; wParam : WPARAM; lParam : LPARAM) : LRESULT; stdcall;
Msg: represents and enumerated value
wParam : PChar of some string
lParam : some number
I add the dll as a temporary file since it is not required after the installation is complete. Create a custom action that calls a function from a standard dll using the standard calling convention. I set the return type of integer, my arguments are:
Msg: unsigned integer by value
wParam: unicode string by reference
lParam: integer by reference
It seems the function is called without incident but the expected results from calling that function are not attained. Do I have all the arguments setup correctly?
I've also tried differnt variations (not all) and still not getting what I need. This call requires elevated rights and I can only assume since the installer prompts the user for them that the custom action is being executed using elevated rights... is this not the case?
Thanks for any help or insight...