StringExtension

Just starting out? Need help? Post your questions and find answers here.
zorgat
New User
New User
Posts: 5
Joined: Mon May 02, 2011 3:01 am

StringExtension

Post by zorgat »

I'm new, just installed PB 4.6 and cannot locate StringExtension

I also installed jaPBe and ALL the PureLibraries and still no StringExtension

How, and where do I find the elusive StringExtension

TIA

Zorgat
jassing
Addict
Addict
Posts: 1885
Joined: Wed Feb 17, 2010 12:00 am

Re: StringExtension

Post by jassing »

Are you getting a compile time error about it being missing?
If so, it's a pesky error that translates to: One or more of your userlibs is not compatible.
IdeasVacuum
Always Here
Always Here
Posts: 6426
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: StringExtension

Post by IdeasVacuum »

Welcome to PB zorgat.

Not sure what 'StringExtension' actually is. Is this a message you are getting during compile/run or is it a function that you know of in a different language? Tell us in more detail so that we can help you.
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
User avatar
netmaestro
PureBasic Bullfrog
PureBasic Bullfrog
Posts: 8453
Joined: Wed Jul 06, 2005 5:42 am
Location: Fort Nelson, BC, Canada

Re: StringExtension

Post by netmaestro »

and ALL the PureLibraries
Where did you get these PureLibraries? Why did you install them? Purebasic doesn't need them, I'd take them back out if I were you until you understand which of them is:

a) Something you need
b) Regularly maintained and updated to work with PB 4.60. Not all of them are as you found out the hard way.

Purebasic without any userlibs is lots of programming tool, believe me.
BERESHEIT
IdeasVacuum
Always Here
Always Here
Posts: 6426
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: StringExtension

Post by IdeasVacuum »

Ah, you probably mean you have installed Gonzal's libraries. Just make sure that they are up to date. Also note, if you are only running the trial version of PB, that could be an issue. Also make sure that the compiler options are as directed by Gonzal. For example, if you have selected 'Create Unicode executable', then in the Library Subsystem field insert 'Userlib Unicode', which ensures that the Unicode version of the lib is used. If you use jaPBe it automatically knows which lib version to use.

See this related post:http://www.purebasic.fr/english/viewtopic.php?t=36556
Last edited by IdeasVacuum on Sun Dec 11, 2011 5:42 am, edited 1 time in total.
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
USCode
Addict
Addict
Posts: 924
Joined: Wed Mar 24, 2004 11:04 pm
Location: Seattle

Re: StringExtension

Post by USCode »

Welcome Zorgat.

Not exactly sure what you're looking for but here's a link to the PB String Library:
http://www.purebasic.com/documentation/ ... index.html
Maybe you'll find what you're looking for there.
zorgat
New User
New User
Posts: 5
Joined: Mon May 02, 2011 3:01 am

Re: StringExtension

Post by zorgat »

Thank you all for your replies:

IdeasVacuum is on the right track...it appears to be a Gnozal PureLibrary problem.

For the record:

I have the fully paid up version of PB since early 4.x and just installed 4.6.

PureBasic 4.60 (Windows - x86)
Feel the ..Pure.. Power

IDE build on 11/06/2011 [22:17] by Fred
Branch: v4.60 Revision: 1309

I am running XP SP3

Although I am just beginning to explore PB I have a fairly long programming history starting with Z80 assembler in 1980, MASM, Basic, VB, Clarion, PowerBasic.

Now I want to get to grips with PB. I like what I see, and admire all the hard work that has been put into creating PureBasic. All in assembler to boot.

I discovered jaPBe and the Gnozal PureLibraries so they were downloaded and installed. I also found some interesting things in the PureArea website.

During my initial "playing" I tried out the following:

Dictionary Demo.pb

;/
;/ Spell Check Test - Dictionary_Lib example
;/ This shows how to use the 4 functions in Dictionary_Lib
;/ by Paul Leischow
;/

#DLL=0
#Edit=1
#Check=2

If OpenWindow(0,0,0,350,250, "Spell Check Test",#PB_Window_SystemMenu|#PB_Window_ScreenCentered)
If CreateGadgetList(WindowID(0))
EditorGadget(#Edit,0,0,350,200)
SendMessage_(GadgetID(#Edit),#EM_SETTARGETDEVICE, #Null, 0)
ButtonGadget(#Check,130,210,80,30,"Spell Check")


Dictionary_Add("purebasic","MyDictionary.dic") ;add custom word to Dictionary
Dictionary_Load("MyDictionary.dic") ;load custom Dictionary


When I compiled I got this compiler error message: The following PureLibrary is missing: StringExtension

I had already searched this forum for StringExtension and followed the advice of downloading the latest Gnozal Libraries. Installed those and still the same error. So I posted my message and decided to put it on the back burner.

I think my time will be better spent connecting all the dots and learning how to use PB.

I'm sure that in time I will find the PureLibrary StringExtension. I not going to loose any sleep over it.

Again I want to thank all of you for your prompt replies.

Happy Coding!

Zorg.
c4s
Addict
Addict
Posts: 1981
Joined: Thu Nov 01, 2007 5:37 pm
Location: Germany

Re: StringExtension

Post by c4s »

You can't install "StringExtension"! It simply means that one of the userlibraries you've installed are not compatible with 4.60 as others have stated before.
I would reinstall PureBasic and only install those libraries you can't live without. When you are just starting out with PureBasic you normally don't need any userlibrary...
If any of you native English speakers have any suggestions for the above text, please let me know (via PM). Thanks!
zorgat
New User
New User
Posts: 5
Joined: Mon May 02, 2011 3:01 am

Re: StringExtension

Post by zorgat »

Thank-you c4s

I will do just that.

Oh! Well...back to the Future!

Thanks again to all of you.


Zorg
Baldrick
Addict
Addict
Posts: 860
Joined: Fri Jul 02, 2004 6:49 pm
Location: Australia

Re: StringExtension

Post by Baldrick »

FWIW, if you have a look in your PureLibraries directory, you will find a file called "string". This is the replacement for the old defunct "StringExtension" which happened in 1 of the official PB updates I would guess around 2 years or so back.
I got caught pretty badly with that 1 with a reasonably decent sized project using SQlite in which I was reliant on a 3rd party lib. That was when I made the decision to drop all 3rd party libs.

If you need anything like 3rd party libs, I would recommend you look for alternative "include" files 1st as they are much easier to modify if needed as this sort of thing happens with PB updates.
zorgat
New User
New User
Posts: 5
Joined: Mon May 02, 2011 3:01 am

Re: StringExtension

Post by zorgat »

Thanks Baldrick,

That's good to know. Keeping track of all the changes, updates, and work-a-rounds is a full time job in itself.

Have a great holiday,

Zorg.
Post Reply