Page 1 of 1

Win32 DLL Automation question API with miaInitializeProject

Posted: Mon Dec 12, 2005 2:07 am
by stevew
Could i have some clarification iwth the the parameters to miaInitializeProject()?

The third parameter is:
const char* CompressProfile - "Indicates the name of the compression profile to use in builds. This is typically Structured, but may point towards a custom profile as well."

What is a compression profile? What structure shall can i use? I'm not terribly interested in learning any more details than necessary so if easier can you tell me what value and struct to assign?

The last 5 parameters to this function start with "ar". Does this mean they are arrays? If yes then of how many elements?

Is there any maximum length to the character strings?

I see you have a Delphi sample so i am sorry to ask these dumb questions, but i don't speak Delphi. If you had a C or C++ or VB sample or something like that then i could understand better I think. If not then is it recommended for me to try to learn to read Delphi?

Posted: Mon Dec 12, 2005 9:32 am
by sinan
The ar denotes "Add-Remove" in the Control Panel, it is an ordinary char* value like it says in the documentation.

The "Structured" string is a documentation error. The possible values for this field are 0 to 4, passed as strings, with 0 being no compression and 4 being best compression.

Sorry, we do not have non-Delphi samples at this time.

There is no maximum limit to character strings.