Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

Platforms to show: All Mac Windows Linux Cross-Platform

FAQ.How to read the command line on windows?
Answer: Try this code:
Example:
#if targetwin32 then
dim line as string
Dim mem as MemoryBlock

Declare Function GetCommandLineA Lib "kernel32" () As Ptr

mem=GetCommandLineA()
s=mem.cstring(0)

#endif
Notes: Newer Realbasic versions have a system.commandline property.

Feedback, Comments & Corrections




Links
MBS Xojo Chart Plugins