I have the folowing problem:
Every times i try to add glcd.h library to a project (even a blank new project), i get 4 times this error message:
"Error in custom hardware setting for library <glcd.h>"
then another message titled "Error loading library" with this content:
"System.ArgumentOutOfRangeException: StartIndex ne peut pas être inférieur à zéro.
Nom du paramètre: startindex
à System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy)
à Great_Cow_Graphical_Basic.DocSection.ParseLine(String LineIn)
à Great_Cow_Graphical_Basic.GCBProgram.LoadLibraryFromFile(LibraryType LoadLib, String FileNameTemp, String FirstFile)"
I tryed on 3 different PC's and tryed with fresh install and always faced the same problem...
I'm Using Great Cow Graphical Basic Version 1.0 2015-07-12.
Thanks in advance for any help with this problem.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
@Davy. I have looked at this - GLCD is not supported by default in Great Cow Cow Graphical BASIC. It is easily resolveable to enable the KS0108 GLCD. But, the configuration and the additional helpers would need to be created.
Route forward could be.
A GLCD.H specific for the Great Cow Graphical BASIC is created. 10 mins work.
Helpers are created within the GLCD.H specific version for the Great Cow Graphical BASIC. 120 mins - I am thinking you could do this.
Testing. A few hours.
We need to constrain the capability to the KS0108 GLCD devices. We have many, many more in IDE version of Great Cow BASIC but this would take a huge amount of work to get working.
Your thoughts are?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks for your help.
I confirm this is the latest download. (File version 0.95.9.0)
I want effectively use the KS0108 GLCD.
But the error happens when loading the library, even with a new blank project...
(Just launching Great Cow Graphical Basic, going to "Program"->"Libraries", selectionning the "<glcd.h>", clicking "Add" then "Ok" and then i get these errors...)
PS: I apologize for my poor english and i hope this is understandable...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have reproduced the error. And, I know exactly the root cause - you cannot fix without the experience I have with Great Cow BASIC. The root cause is the wide range of GLCDs we support in the IDE version of Great Cow BASIC and we have not tested within Great Cow Graphical BASIC.
Route forward could be.
A GLCD.H specific for the Great Cow Graphical BASIC is created. 10 mins work.
Helpers need to be created for Great Cow Graphical BASIC. 120 mins - I am thinking you could do this?
Then, testing. A few hours.
Are you willing to do #2 and #3?
Last edit: Anobium 2016-08-24
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello!
I have the folowing problem:
Every times i try to add glcd.h library to a project (even a blank new project), i get 4 times this error message:
"Error in custom hardware setting for library <glcd.h>"
then another message titled "Error loading library" with this content:
"System.ArgumentOutOfRangeException: StartIndex ne peut pas être inférieur à zéro.
Nom du paramètre: startindex
à System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy)
à Great_Cow_Graphical_Basic.DocSection.ParseLine(String LineIn)
à Great_Cow_Graphical_Basic.GCBProgram.LoadLibraryFromFile(LibraryType LoadLib, String FileNameTemp, String FirstFile)"
I tryed on 3 different PC's and tryed with fresh install and always faced the same problem...
I'm Using Great Cow Graphical Basic Version 1.0 2015-07-12.
Thanks in advance for any help with this problem.
Oh yes. This is an issue.
Can you confirm ? This is the latest download? What was the release version of the installer?
@Davy. This should be relatively simple to resolve. Are you using the KS0108 GLCD?
@Davy. I have looked at this - GLCD is not supported by default in Great Cow Cow Graphical BASIC. It is easily resolveable to enable the KS0108 GLCD. But, the configuration and the additional helpers would need to be created.
Route forward could be.
We need to constrain the capability to the KS0108 GLCD devices. We have many, many more in IDE version of Great Cow BASIC but this would take a huge amount of work to get working.
Your thoughts are?
Thanks for your help.
I confirm this is the latest download. (File version 0.95.9.0)
I want effectively use the KS0108 GLCD.
But the error happens when loading the library, even with a new blank project...
(Just launching Great Cow Graphical Basic, going to "Program"->"Libraries", selectionning the "<glcd.h>", clicking "Add" then "Ok" and then i get these errors...)
PS: I apologize for my poor english and i hope this is understandable...
Your English is great. Do not apologise.
I have reproduced the error. And, I know exactly the root cause - you cannot fix without the experience I have with Great Cow BASIC. The root cause is the wide range of GLCDs we support in the IDE version of Great Cow BASIC and we have not tested within Great Cow Graphical BASIC.
Route forward could be.
Are you willing to do #2 and #3?
Last edit: Anobium 2016-08-24