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...
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...
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...
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...
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,...
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...
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...
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...
... 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...
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...
... 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...
When trying to use PeToCps on the Reflector PEM (a decompiler with API for .NET see: http://www.aisto.com/roeder/dotnet), I get also an exception when PERWAPI...
212
K John Gough
john@...
Jan 4, 2006 10:51 pm
Hi All Yes, we are slowly sorting out the problems with the PERWAPI library that PeToCps uses. There were problems under at least two circumstances: PE files...
Hi John, thanks a lot for the quick answer ... I'll be patient ... ... library that ... circumstances: PE ... version 2.0 ... AgentObjects.dll). I ... 1.3.3, ...
... I'm pleased to report that I no longer have the problem when using the new v1.3.3 CPMake with the final release version of NET 2.0 Chris Chris Burrows CFB...