This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- USER32.GetWindowText
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
May 10, 2012
07:11 AM
USER32.GetWindowText
Hi,
We are using Install Shiled 11.5.
We need to get the name of the Window that is currently open. So that we need to use the method "GetWindowText"
But we don't know how to define the method..
We did the folowing
//definition
prototype int USER32.GetWindowText(HWND,BYVAR STRING,int); -- Line1
//calling
GetWindowText(Window,outputstring,bufferlength); -- Line2
While compile it throws an error saying that "USER32.GetWindowText is conflict with the exisiting definition".
Please help me to compile this
We are using Install Shiled 11.5.
We need to get the name of the Window that is currently open. So that we need to use the method "GetWindowText"
But we don't know how to define the method..
We did the folowing
//definition
prototype int USER32.GetWindowText(HWND,BYVAR STRING,int); -- Line1
//calling
GetWindowText(Window,outputstring,bufferlength); -- Line2
While compile it throws an error saying that "USER32.GetWindowText is conflict with the exisiting definition".
Please help me to compile this
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
May 14, 2012
07:28 AM
Finally got the solution.
In Install Shield project, Build - >Settings, there is an option to not include the winapi. I removed that condition. So all winapi will be accessible from Install Script
In Install Shield project, Build - >Settings, there is an option to not include the winapi. I removed that condition. So all winapi will be accessible from Install Script