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
- :
- Re: MsigetProperty : Undefined identifier
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
Dec 25, 2007
09:42 PM
MsigetProperty : Undefined identifier
Hi,
I have created a Web Project and using Installscript for getting Public Property
Following is the code
Function DisplaySupportDir(hMSI)
STRING supportDirPath;
NUMBER supportDirPathBuffer, nvStringBufferSize;
//
begin
nvStringBufferSize = 256;
MsiGetProperty(hMSI, "PDF_Convertor_name", supportDirPath, nvStringBufferSize);
MessageBox("test",WARNING);
end;
I have included ifx.h
I am getting same error "Undefined identifier" for both MsiGetProperty and MessageBox
Please advise
regards
Kunal
I have created a Web Project and using Installscript for getting Public Property
Following is the code
Function DisplaySupportDir(hMSI)
STRING supportDirPath;
NUMBER supportDirPathBuffer, nvStringBufferSize;
//
begin
nvStringBufferSize = 256;
MsiGetProperty(hMSI, "PDF_Convertor_name", supportDirPath, nvStringBufferSize);
MessageBox("test",WARNING);
end;
I have included ifx.h
I am getting same error "Undefined identifier" for both MsiGetProperty and MessageBox
Please advise
regards
Kunal
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Dec 26, 2007
10:24 AM
I'd have to see your script file to be sure, but my guess is your #include is out of scope.
For example, this would work:
But this would not:
For example, this would work:
#include "ifx.h"
export prototype MyFunction(HWND);
function MyFunction(hMSI)
begin
MessageBox( "TEST", INFORMATION );
end;
But this would not:
export prototype MyFunction(HWND);
function MyFunction(hMSI)
begin
MessageBox( "TEST", INFORMATION );
end;
#include "ifx.h"