--------------------------------------------------------------------------------
Building 'DLL'...
--------------------------------------------------------------------------------
Including: PluginInclude.pbi
Line 1126: A literal string can't be bigger than 8192 characters.
--------------------------------------------------------------------------------
Building 'DLL - x86'...
--------------------------------------------------------------------------------
Using compiler: PureBasic 5.30 (Windows - x86)
Including: PluginInclude.pbi
Line 1126: A literal string can't be bigger than 8192 characters.
--------------------------------------------------------------------------------
This limitation, and the distinction between a string literal and a string variable should really be spelled out in the Help file, in the "Variables & Types" page.
There is nothing obvious about it, but there is no explanation given about it.
"That's not a bug..." said the programmer. "it's a feature! "
"Oh! I see..." replied the blind man.
ProcedureDLL.s GetDialogXML()
Global xml.s=PeekS(?TXT_Start,-1,#PB_Ascii)
ProcedureReturn xml
EndProcedure
DataSection
TXT_Start:
IncludeBinary "C:\Path\To\Large\XML_file.xml"
Data.c 0 ; End of text marker.
TXT_End:
EndDataSection