|
|
|
|
|
EmailAppGetArchitecture (Function) In french: EmailAppliRécupèreArchitecture Gets the architecture (32 or 64-bit) of a computer's default email client. Reminder: To launch the default email client, both the WINDEV application and the MAPI client must be 32-bit or 64-bit. If the client is a 32 or 64-bit application, it will only be supported by 32 or 64-bit applications, respectively.. The EmailAppGetArchitecture function gets the execution mode of the default email client. Depending on the MAPI client's architecture, you can also launch a 32 or 64-bit application to run the client. nArchitecture is int = EmailAppGetArchitecture()
IF ErrorOccurred THEN
Error("Unable to determine default email client architecture.")
RETURN
END
<COMPILE IF Configuration32>
IF nArchitecture = arch32 THEN
EmailRunApp()
ELSE
ExeRun(fExeDir() + [fSep()] + "LaunchEmailClient_64.exe")
END
RETURN
<END>
<COMPILE IF Configuration64>
IF nArchitecture = arch64 THEN
EmailRunApp()
ELSE
ExeRun(fExeDir() + [fSep()] + "LaunchEmailClient_64.exe")
END
RETURN
<END>
Error("Unable to determine application architecture")
Syntax
<Result> = EmailAppGetArchitecture()
<Result>: Integer constant Architecture of the computer's default email client:
Available constants: | | arch32 | The default email client is a 32-bit program. | arch64 | The default email client is a 64-bit program. |
Business / UI classification: Business Logic
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|