subsystem question...

Everything else that doesn't fall into one of the other PB categories.
lexvictory
Addict
Addict
Posts: 1027
Joined: Sun May 15, 2005 5:15 am
Location: Australia
Contact:

subsystem question...

Post by lexvictory »

i have no idea how they work....
i know that u have to create a directory in the subsystems folder, then a purelibraries one... (userlibraries too?)

is there any common naming scheme for Unicode, Threadsafe and Unicode+Threadsafe?

and for those 3, do i have to manually add their name to the compiler options when i compile a program in one of those modes? (using pb editor)
Demonio Ardente

Currently managing Linux & OS X Tailbite
OS X TailBite now up to date with Windows!
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Re: subsystem question...

Post by gnozal »

lexvictory wrote:userlibraries too?
Not necessarily (it was broken anyway in PB4.00/PB4.01).
lexvictory wrote:is there any common naming scheme for Unicode, Threadsafe and Unicode+Threadsafe?
Most of the userlibrary programmers use this scheme :
- standard library version in %Purebasic%\PureLibraries\UserLibraries\
- thread-safe library version in %Purebasic%\SubSystems\UserLibThreadSafe\PureLibraries\
- unicode library version in %Purebasic%\SubSystems\UserLibUnicode\PureLibraries\
- unicode + thread-safe library version in %Purebasic%\SubSystems\UserLibUnicodeThreadSafe\PureLibraries\
lexvictory wrote:and for those 3, do i have to manually add their name to the compiler options when i compile a program in one of those modes? (using pb editor)
Yes if you use the PB IDE.
For example, if you compile in unicode mode, add the subsystem 'UserLibUnicode' to the compiler options.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
Post Reply