Hi All Yes, Robert has turned up a compiler bug. It took a little longer to sort than I had expected. The issue is that when creating a new array in the CLR...
491
K John Gough
john@...
Mar 1, 2011 10:57 am
There are two separate issues here. One is a matter of choice, the other is a peculiarity of the CLR. The matter of choice is simply whether the compiler, if...
492
Robert Campbell
robert_at_pi...
Mar 1, 2011 9:09 pm
John, Thanks for your reply. My background is BlackBox, and I feel rather out of my depth here; I am afraid I have to admit that I don't really know what...
493
Robert Campbell
robert_at_pi...
Mar 1, 2011 10:32 pm
Oops - confusion on my part. Without /perwapi the error is: TestCMatrices.cp(1,9) : error : ILASM failed to assemble IL file My previous post had the errors...
494
K John Gough
john@...
Mar 1, 2011 11:32 pm
Hi Robert This is the quick answer, I am working on a longer one! The short answer is: until I put up the fixed version of the compiler ILASM will reject the...
495
K John Gough
john@...
Mar 4, 2011 7:39 am
Hi All Those of you that use visual studio will have noticed that VS2008 (VS9) and later no longer include the DbgCLR program that we all used to rely on to ...
496
ptokremin
Mar 25, 2011 7:42 pm
Hi all, there seems to be some kind of problem with perwapi. The following code compiles with gpcp but crashes, if the -perwapi compiler flag is used: regards ...
497
K John Gough
john@...
Mar 28, 2011 2:41 am
Ok. Thanks for the report. I'll have a look at it. John ... From: GPCP@yahoogroups.com [mailto:GPCP@yahoogroups.com] On Behalf Of ptokremin Sent: Saturday,...
498
K John Gough
john@...
Mar 31, 2011 5:57 am
Hi All The problem with /perwapi for this example is another version of the opaque type problem that I replied about (two or three times) at the beginning of ...
499
K John Gough
john@...
Mar 31, 2011 6:09 am
Sorry that should be . The *argument* to the set_StandardOutputEncoding method is of type mscorlib_System_Text.Encoding. John From: GPCP@yahoogroups.com...
500
K John Gough
john@...
Apr 10, 2011 11:15 am
Hi All GPCP-ers I have just uploaded version 1.3.11 of GPCP to CodePlex. It has the extra opaque type resolution code in PeUtil. Please try it out . John ...
501
ptokremin
Apr 14, 2011 12:37 pm
Dear John, thanky you for the updated compiler version! The new code for opaque type resolution works fine for me as does the rest of the compiler. best wishes...
502
Robert Campbell
robert_at_pi...
Apr 15, 2011 4:10 pm
Thanks John My Modules with the implicit IMPORTs of IMPORTs now compile fine. With -perwapi I get the message "Emitted Contours.DLL", which is 8192 bytes. ...
503
ptokremin
Apr 16, 2011 8:24 am
Hi all, one feature of C# (or Python or Zonnon) which one becomes rapidly used to is formatted output. Please consider the following example in C#: using...
504
John Gough
j.gough@...
Apr 17, 2011 6:15 am
Hi Robert. The code emitters for both PERWAPI and ILASM both round up to whole numbers of disk blocks. The ILASM-produced files are usually a bit larger...
505
John Gough
j.gough@...
Apr 17, 2011 6:19 am
Hi all, prokremin has a good point. However, it is also possible to use the C# string format library, the only problem is that you need to manually box value...
506
ptokremin
Apr 17, 2011 7:40 am
Dear John, as far as I understood BOX() is meant to be used for ARRAYs oder RECORDs. In any case I couldn't get it to work for INTEGER or REAL. If it worked...
507
ptokremin
Apr 17, 2011 11:36 am
Dear all, is there a way to share a gpcp module as dll for multiple programs in different directories? My experiments so far have shown that it needs to be in...
508
ptokremin
Apr 19, 2011 8:34 am
Dear all, for the curious among you I've uploaded the modified RTS.dll. It contains one new module: FOREIGN MODULE RTS_convert; TYPE convert* = POINTER TO...
509
ptokremin
Apr 20, 2011 8:17 pm
Hi all, I accidantly stumbled upon an option for PeToCps: /generics A quick search though this group makes it look like gpcp does not support generics, but...
510
John Gough
j.gough@...
Apr 26, 2011 6:44 am
Hi From memory, the /generics option is to allow PeToCps to process generic type definitions that it meets in a foreign DLL. We did play around with a number...
511
ptokremin
Apr 29, 2011 8:36 am
Dear all, have you ever wondered, why MS-FxCop warns you to set the STAThreadAttribute for your assembly? Here's an example from real life: Suppose you wanted...
512
ptokremin
Apr 29, 2011 9:09 am
Hi, you know, there are thinks that I simply expect to be present in a huge library like the .NET framework: collections for instance. All I needed was a...
513
stefan_mfd
Jun 6, 2011 1:37 pm
Hi, I am not sure whether this is a moot point, but there used to be some discussion about how to do this in 2006 and a recent 2011 posting with some code that...
514
stefan_mfd
Jun 6, 2011 6:15 pm
BTW, The variable threadstart and the "threadstart := Main;" are not necessary - they are leftover from an earlier version. -Stefan...
515
John Gough
j.gough@...
Jun 7, 2011 6:24 am
Hi All Thanks to Stefan for this post. I will make sure that a pointer to the information is attached somewhere to the distribution on CodePlex. Cheers John ...
516
ptokremin
Jun 14, 2011 6:51 pm
Hello Stefan, thank you very much for providing a solution! :-) I would have never figured that out on my own. My professor used to say in a situation like...
517
K John Gough
john@...
Oct 31, 2011 12:57 am
Hi All This is just a heads-up for a couple of new releases of GPCP that are in the works. The short version, for those who do not wish to read the technical...
518
ptokremin
Nov 8, 2011 7:54 pm
... Very much so. ... kind regards ptokremin...
519
Stephen Harris
sharris1_us
Nov 20, 2011 3:47 am
John, Looking forward to the JVM version's release! Regards, -Steve ________________________________ From: K John Gough <john@...> To:...