Now that v2.0 of the Microsoft .NET framework has been released, I am in the process of upgrading my CP apps. When running PEToCps it converts...
182
K John Gough
john@...
Nov 28, 2005 6:07 am
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...
183
cfbsoftware1
Nov 29, 2005 5:23 am
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,...
184
K John Gough
john@...
Nov 29, 2005 7:13 am
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 ...
185
sharris1_us
Dec 4, 2005 6:10 am
Hi, Is there a set of math library functions available for Component Pascal? I am using the jvm version. Thanks in advance, -smh...
186
sharris1_us
Dec 4, 2005 6:11 am
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...
187
cfbsoftware1
Dec 4, 2005 10:50 pm
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 ...
188
cfbsoftware1
Dec 5, 2005 12:50 pm
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...
189
Marc Martin
marcmartin2
Dec 5, 2005 7:55 pm
... 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...
190
Stephen Harris
sharris1_us
Dec 5, 2005 8:39 pm
D'oh! I knew I couldn't be the first person to see that. Can you tell me a bit more on how to install the new library, please? -smh cfbsoftware1...
191
cfbsoftware1
Dec 6, 2005 1:20 am
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...
192
John Gough
j.gough@...
Dec 6, 2005 2:00 am
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...
193
Paul Warren
orangutanuk
Dec 14, 2005 4:28 pm
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 ...
194
sharris1_us
Dec 15, 2005 8:37 pm
Hi, I am writing simple programs to try and teach myself Component Pascal. I wrote this one ... (* compile: cprun gpcp TestFileIO.cp *) (* run: cprun...
195
cfbsoftware1
Dec 15, 2005 11:54 pm
... 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...
196
K John Gough
john@...
Dec 16, 2005 12:13 am
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...
197
John Gough
j.gough@...
Dec 16, 2005 6:58 am
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...
198
sharris1_us
Dec 16, 2005 3:30 pm
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...
199
sharris1_us
Dec 16, 2005 3:35 pm
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...
200
Paul Warren
orangutanuk
Dec 16, 2005 3:44 pm
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...
201
cfbsoftware1
Dec 17, 2005 12:33 am
... 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...
202
cfbsoftware1
Dec 17, 2005 12:54 am
... 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,...
203
K John Gough
john@...
Dec 17, 2005 12:58 am
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...
204
btreutwein
Dec 19, 2005 9:06 am
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...
205
sharris1_us
Dec 20, 2005 4:20 pm
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...
206
K John Gough
john@...
Dec 20, 2005 10:07 pm
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...
207
Bernhard Treutwein
btreutwein
Dec 21, 2005 1:53 pm
... 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...
208
cfbsoftware1
Dec 22, 2005 4:29 am
I can't get v.1.3.2 cpmake to run on .NET 2.0 e.g. if I run it without arguments I get an error message that begins with: Unhandled Exception:...
209
K John Gough
john@...
Dec 22, 2005 6:02 am
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...
210
cfbsoftware1
Dec 22, 2005 6:56 am
... 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...