"PureBasic - Linker error" / "Unknown error"
I don't know damn about why it happened, but even reinstallation of PureBasic 5.41 x86 does not allow me to compile or run anything.
All x86 installations on my PC refuse to compile! Tested with 5.31 and 5.41 - same error message.
5.00 x86 brings up this message instead:
"PureBasic - Resource error" / "Unknown error"
Installations of 5.31 x64 and 5.24 LTS x64 work fine, however.
Before that error first came up i gave command (5.41 x86) to compile this:
Code: Select all
file$ = ProgramParameter (0)
file = OpenFile (#PB_Any, file$)
If file
*memory = AllocateMemory (Lof (file))
ReadData (file, *memory, Lof (file))
string$ = PeekS (*memory, Lof (file))
string$ = ReplaceString (string$, "EscapeString (", "HTTPRequest (#PB_HTTP_Get, ProgramFilename () + " + Chr (34) + ".xhp" + Chr (34) + ", ")
string$ = ReplaceString (string$, ");", "), #Null)")
FileSeek (file, 0)
WriteData (file, @string$, Len (string$))
TruncateFile (file)
CloseFile (file)
RunProgram (Trim (ProgramParameter (1), Chr (34)) + "Compilers\sbcompiler.exe", file$, "")
EndIf
; IDE Options = PureBasic 5.41 LTS (Windows - x86)
; CursorPosition = 26
; EnableUnicode
; EnableXP
; Executable = something.exe