Re: [Mono-dev] Installing pre-load hooks on windows(bug?)

2010-06-16 Thread Robert Jordan
On 17.06.2010 01:13, Thiago Padilha wrote: >I use a callback function to control assembly loading with this code : >All works correctly, except that when I run this program on > Windows(I have tested on both Seven and XP) get the following 'extra' > output > > TRYING TO LOAD ASSEMBLY : I18N

[Mono-dev] Installing pre-load hooks on windows(bug?)

2010-06-16 Thread Thiago Padilha
I use a callback function to control assembly loading with this code : MonoAssembly *pre_hook(MonoAssemblyName *aname, gchar **assemblies_path, gpointer user_data) { char *name = aname->name; printf("\nTRYING TO LOAD ASSEMBLY : %s\n", name); return

Re: [Mono-dev] Create a 'MonoImage' from a byte array. (corrected)

2010-06-16 Thread Robert Jordan
On 16.06.2010 17:49, Thiago Padilha wrote: > I'm trying to create a MonoImage/MonoAssembly from a byte array like this : > > > //body omited, this is a simple function that return contents of a > binary file and returns the file size in bytes as an out parameter > static char *read_file_contents(

Re: [Mono-dev] Create a 'MonoImage' from a byte array.

2010-06-16 Thread Tom Spink
Hi, I don't think you've told us the problem! Tom. On 6/16/10, Thiago Padilha wrote: > I'm trying to create a MonoImage/MonoAssembly from a byte array like this > : > > > //body omited, this is a simple function that return contents of a > binary file and returns the file size in bytes as an o

[Mono-dev] Create a 'MonoImage' from a byte array. (corrected)

2010-06-16 Thread Thiago Padilha
 I'm trying to create a MonoImage/MonoAssembly from a byte array like this : //body omited, this is a simple function that return contents of a binary file and returns the file size in bytes as an out parameter static char *read_file_contents(char *fullpath, int *outfilesize); static char *getfu

[Mono-dev] Create a 'MonoImage' from a byte array.

2010-06-16 Thread Thiago Padilha
I'm trying to create a MonoImage/MonoAssembly from a byte array like this : //body omited, this is a simple function that return contents of a binary file and returns the file size in bytes as an out parameter static char *read_file_contents(char *fullpath, int *outfilesize); static MonoImage

[Mono-dev] Newbie at app planning stage requires basic pointers

2010-06-16 Thread WingYip
Hi Am being asked to create a Windows / Mac cross platform app that will need: Integrated help system that will run on all versions of Windows and Mac Backend database (which db to use)(Will I be able to use Linq2Sql to connect) Encryption of certain items will be required Does anybody hav

Re: [Mono-dev] MonoCharge on Windows

2010-06-16 Thread Robert Jordan
On 16.06.2010 15:41, SuperCiccio wrote: > > Latest (2.6.4) to Daily Packages (http://mono.ximian.com/daily) You're not supposed to update a stable Mono from daily packages because there are interdependencies between the runtime and the class libraries that are not resolved by those dailies. It's

Re: [Mono-dev] MonoCharge on Windows

2010-06-16 Thread SuperCiccio
Latest (2.6.4) to Daily Packages (http://mono.ximian.com/daily) -- View this message in context: http://mono.1490590.n4.nabble.com/MonoCharge-on-Windows-tp2256440p2257354.html Sent from the Mono - Dev mailing list archive at Nabble.com. ___ Mono-devel-

Re: [Mono-dev] Patch 1/2 - System.Diagnostics.Contracts in corlib

2010-06-16 Thread Chris Bacon
Hi, Thank you for letting me know, attached is a patch with the documentation removed. Kind regards Chris Andreas Nahr wrote: Hi Chris, I have no knowledge about your GSoC project, but usually mono doesn't use C# inline documentation style. Happy hacking Andreas -Ursprüngliche Nac

Re: [Mono-dev] MonoCharge on Windows

2010-06-16 Thread Robert Jordan
On 16.06.2010 15:24, SuperCiccio wrote: > > Update: I tried to upgrade manually copying files, but without luck. Which Mono version do you want to update? Robert ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/

Re: [Mono-dev] MonoCharge on Windows

2010-06-16 Thread SuperCiccio
Update: I tried to upgrade manually copying files, but without luck. -- View this message in context: http://mono.1490590.n4.nabble.com/MonoCharge-on-Windows-tp2256440p2257334.html Sent from the Mono - Dev mailing list archive at Nabble.com. ___ Mono-d

Re: [Mono-dev] Patch 1/2 - System.Diagnostics.Contracts in corlib

2010-06-16 Thread Andreas Nahr
Hi Chris, I have no knowledge about your GSoC project, but usually mono doesn't use C# inline documentation style. Happy hacking Andreas > -Ursprüngliche Nachricht- > Von: mono-devel-list-boun...@lists.ximian.com [mailto:mono-devel-list- > boun...@lists.ximian.com] Im Auftrag von Chris B

Re: [Mono-dev] c# compiler problem with generics and derived interfaces

2010-06-16 Thread Marek Safar
Hello, > I cannot compile the code reported below with mono 2.6.4 (which > compiles fine using visual studio 2008). > > By executing gmcs MatrixArray.cs (see below or attached file) I > obtain the following errors: > > MatrixArray.cs(40,24): error CS0021: Cannot apply indexing with [] to > an exp

[Mono-dev] c# compiler problem with generics and derived interfaces

2010-06-16 Thread matteo tesser
Hello, I cannot compile the code reported below with mono 2.6.4 (which compiles fine using visual studio 2008). By executing gmcs MatrixArray.cs (see below or attached file) I obtain the following errors: MatrixArray.cs(40,24): error CS0021: Cannot apply indexing with [] to an expression of typ

Re: [Mono-dev] Patch 2/2 - Tests for System.Diagnostics.Contracts in corlib

2010-06-16 Thread Chris Bacon
Hi, I've attached a new patch with slightly better formatting - it uses tabs rather than spaces. Kind regards Chris Chris Bacon wrote: Hi, Here are the tests to add to corlib for System.Diagnostics.Contracts. Please let me know what changes are required. Kind regards Chris -

Re: [Mono-dev] Patch 1/2 - System.Diagnostics.Contracts in corlib

2010-06-16 Thread Chris Bacon
Hi, Attached is a new, improved, patch that keeps existing formatting. Sorry for the mistake. Kind regards Chris Marek Safar wrote: Hi Chris, Attached is a patch to corlib containing updates the System.Diagnostics.Contracts as part of the GSoC work I am doing. I'm sure there will be parts