Hi Chris, hi all. Ok, I shall check this out. System.Drawing.dll works ok on my experimental 1.4 version, but that is still not ready for prime time. In the...
K John Gough
john@...
Nov 28, 2005 6:07 am
183
Hi John, 9 minutes - that has to be a new record for the response time to a tech support query! Just to clarify - System.Drawing.dll works ok for me as well,...
Hi again The main additions to version 1.4 are the ability to consume and extend the CLR 2.0 facilities for generics. Of course this only applies to the CLR ...
K John Gough
john@...
Nov 29, 2005 7:13 am
185
Hi, Is there a set of math library functions available for Component Pascal? I am using the jvm version. Thanks in advance, -smh...
Hi, I am tinkering with Component Pascal. My very first experiment with it and I hit some weirdness with RealToStr (code and results below). I am using the...
Try the fix for the RealStr library if you haven't done so already. You can download it from: http://plas.fit.qut.edu.au/gpcp/Downloads.aspx -- Chris Burrows ...
Copy / Paste fails in a .NET 2.0 CP program with an error indicating that the main thread's apartment state needs to be specified as STA (single thread...
... I seem to recall having this problem a long time ago. I don't recall exactly if I ever fixed it, but I do note that the following lines of code are...
Hi Stephen, I'm using the .NET version but the process should be similar with the JVM version. What you need to do is compile the new copy of RealStr.cp that...
Hi All I shall incorporate this change in the 1.3.3 update. We are still struggling with the PERWAPI changes needed to handle reading of DLLs with mixed...
John Gough
j.gough@...
Dec 6, 2005 2:00 am
193
Hi Guys I'm a nooby, so please excuse me if this is a stupid question. I've been looking at the GPCP compiler source, and obviously the compiler builds up the ...
Hi, I am writing simple programs to try and teach myself Component Pascal. I wrote this one ... (* compile: cprun gpcp TestFileIO.cp *) (* run: cprun...
... The program runs OK on .NET - did you get any error messages? My guess is that it can't find the dlls it needs in order to run. Either: 1. Copy your exe to...
Hi smh This is an inconsistency in the JVM distribution that I will fix in the next refresh. The library (written in Java) for GPTextFiles provides the...
K John Gough
john@...
Dec 16, 2005 12:13 am
197
Hi Paul W The compiler builds a complete parse tree for the source, because this is the way that I do it. I give a detailed explanation at page 136 of my...
John Gough
j.gough@...
Dec 16, 2005 6:58 am
198
John, Chris, Thanks for the quick replies! I did, eventually, try findLocal() and I thought of testing for a 0x00 byte (latest version below) and it works for...
Hi all, No one responded to this post which I take to mean it is either considered pretty lame or answered in a FAQ somewhere. If the latter is the case, could...
I have to say, I've found the library (API) documentation on both Oberon and CP to be rather hard to find. I thought I heard from someone (I may be wrong) that...
... Yes a null byte can appear in a file, but if it does, by definition, that file is no longer a 'text' file. If your code was written to work with binary...
... Oberon and CP to be ... All of my GPCP work has been done with the Microsoft .NET targeted version. The API documentation is extremely thorough,...
Hi All Sorry about the lack of reply to the previous post. GPCP does not supply a math library, but provides convenient access to the libraries java_math (for...
K John Gough
john@...
Dec 17, 2005 12:58 am
204
Is there any kind soul out there using the CPCP pluging for Eclipse? And is (s)he willing to take me by the hand and lead me through the first steps to get it...
Hi, Is there a way within gpcp to tell if you are running the jvm or .net versions? Like a compiler directive or something? I'm thinking of scenarios like...
The default for gpcp is to compile for the platform that it is running on. The compiler itself finds this from the read-only constant RTS.defaultTarget. Of...
K John Gough
john@...
Dec 20, 2005 10:07 pm
207
... sorry, I meant GPCP :-) [...] ... in the meantime I realize that the JVM installer correctly sets up the global path and the JRoot environment variable to...
This is strange, since the same RTS.dll is used for all of the tools. I shall check it out and report back. BTW, was this the V2.0 beta-2, or the final release...
K John Gough
john@...
Dec 22, 2005 6:02 am
210
... AFAIK, the final release version (2.0.50727) ... this seems a ... That got me a bit further. It fixed the RTS error but resulted in the same error with...