chirawa
asked on
Calling a dll from Installshield vc++ 6.0 Edition
I am facing one problem in calling a dll from my installshield setup file VC++ Edition.
I found there is one funtion available in installshild, the funcion is CallDllFx(). You have to provide the dll name and the function that you want to use.
I have created one dll in vb 6.0.
My problem is that it is given in installshild that the function defination in the dll shuold be like :
LONG APIENTRY FunctionName(HWND hwnd,LPLONG lpLong,LPSTR lpszValue)
but i faild to create to create this type of function in vb. in vb i am not getting HWND or LPLONG data type.
so how i can call that dll from my setup file in installshild. is there any other way possible. and if not then how i can create this type of function in vb.
I found there is one funtion available in installshild, the funcion is CallDllFx(). You have to provide the dll name and the function that you want to use.
I have created one dll in vb 6.0.
My problem is that it is given in installshild that the function defination in the dll shuold be like :
LONG APIENTRY FunctionName(HWND hwnd,LPLONG lpLong,LPSTR lpszValue)
but i faild to create to create this type of function in vb. in vb i am not getting HWND or LPLONG data type.
so how i can call that dll from my setup file in installshild. is there any other way possible. and if not then how i can create this type of function in vb.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Declare Function FunctionName (ByVal as Long, ByRef As Long, ByRef as String) As Long