PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
I would like to use the program as a compiler tool. Would it be possible to make it use a parameters like /PROJECT "C:/blabla/MyProject.pb" /OUTPUT res which would make it read MyProject.pbdc and write to MyProject.res?
I would like to use the program as a compiler tool. Would it be possible to make it use a parameters like /PROJECT "C:/blabla/MyProject.pb" /OUTPUT res which would make it read MyProject.pbdc and write to MyProject.res?
There is a parameter /CREATESILENT = "outputfile with path"
This is to combine with projectfile and should do the trick.
and for WriteFile there is UDRes_Save(FileName.s, ResNumber, hModule)
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Have you saved the project with output res selected?
My batchfile with absolute paths works fine here, i have it never tested in
PB IDE.
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
; Programmparameter einlesen
If j
For i = 0 To j - 1
Parameter = ProgramParameter(i)
uParameter = Left(UCase(Parameter), 13)
Select uParameter
Case "/PORTABLE"
Prefs\portable = #True
Case "/IGNOREPOS"
Prefs\ignorepos = #True
Case "/CREATESILENT"
SilentName = RemoveString(Parameter, "/CREATESILENT=", #PB_String_NoCase)
SilentName = RemoveString(SilentName, #DQUOTE$)
Default
If FileSize(Parameter) > 0
If UCase(GetExtensionPart(Parameter)) = "PBDC"
Prefs\projectdir = GetPathPart(Parameter)
Prefs\projectfile = GetFilePart(Parameter)
EndIf
EndIf
EndSelect
Next
EndIf
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Update
1.6.007
Updated romanian language
Added Helpfile for romanian (thanks to Inf0Byt3)
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
I was using this in large file data, and am having problems compiling -- reading docs, says that I should be using the .res format - but then how do I add this to my PB project file so I can access it?