[Mono-dev] my web page cann't access oracle.

2006-03-07 Thread zhulijun
My error message as follows: System.DllNotFoundException: clntsh in (wrapper managed-to-native) OciNativeCalls:OCIEnvCreate (intptr,System.Data.OracleClient.Oci.OciEnvironmentMode,intptr,intptr,intptr,intptr,int,intptr) in 0x0001f System.Data.OracleClient.Oci.OciCalls:OCIEnvCreate

[Mono-dev] MonoVTable undefined

2006-03-07 Thread Thomas Grill
Hi all, sorry if this is obvious, but it isn't for me The mono/metadata/object.h header file has two convenient macros that i'd like to use #define mono_object_class(obj) (((MonoObject*)(obj))-vtable-klass) #define mono_object_domain(obj) (((MonoObject*)(obj))-vtable-domain) Unfortunately

[Mono-dev] Re: MonoVTable undefined

2006-03-07 Thread Robert Jordan
Thomas Grill wrote: Hi all, sorry if this is obvious, but it isn't for me The mono/metadata/object.h header file has two convenient macros that i'd like to use #define mono_object_class(obj) (((MonoObject*)(obj))-vtable-klass) #define mono_object_domain(obj)

Re: [Mono-dev] MonoVTable undefined

2006-03-07 Thread Thomas Grill
oops, sorry for the noise - there's still MonoDomain* mono_object_get_domain (MonoObject *obj); MonoClass* mono_object_get_class (MonoObject *obj); all the best, Thomas Thomas Grill schrieb: Hi all, sorry if this is obvious, but it isn't for me The mono/metadata/object.h header

Re: [Mono-dev] my web page cann't access oracle.

2006-03-07 Thread Daniel Morgan
System.Data.OracleClient uses OCI library. On Linux, this would be something like libclntsh.soIt may even have a version number in the shared library name, for example, libclntsh.so.10.0You need to make sure this library can be found in your PATH. (or LD_LIBRARY_PATH). Basically, its

Re: [Mono-dev] [PATCH] New managed code for unmanaged (Win32) resourcehandling (SRE, PEAPI, MCS)

2006-03-07 Thread Marek Safar
Hello Kornél, Note that SRE and PEAPI parts were not discussed yet so I am waiting comments on those parts from component owners. Well, I would prefer to use the memory solution. 1. It's faster 2. It's easier to implement, no problems with file removing, creating, locking, etc. 3. I don't

[Mono-dev] [PATCH] SqliteDataReader should handle getting field type for null values

2006-03-07 Thread Kamil Skalski
Hi! I encountered NullReferenceException from SqliteDataReader, when I have a query like select a, b, NULL, c, FROM xxx and I try to use reader.GetFieldType (2) for fetching info about columns (actually DataAdapter from MS.NET calls this method for every column in result) I attach a patch

Re: [Mono-dev] [PATCH] SqliteDataReader should handle getting field type for null values

2006-03-07 Thread Joshua Tauberer
Kamil Skalski wrote: I encountered NullReferenceException from SqliteDataReader, when I have a query like select a, b, NULL, c, FROM xxx and I try to use reader.GetFieldType (2) for fetching info about columns (actually DataAdapter from MS.NET calls this method for every column in

Re: [Mono-dev] [PATCH] SqliteDataReader should handle getting field type for null values

2006-03-07 Thread Kamil Skalski
Please do! Done. I'm wondering, tho, if wherever the adapter would return null, it should return a DBNull instead? Do other data adapters ever return 'null' values? Your question have a ready answer here http://bugzilla.ximian.com/show_bug.cgi?id=77535 :) So DataReader should throw an

[Mono-dev] got a SIGSEGV

2006-03-07 Thread Carlos Solorzano
running mono 1.1.10.1 on gentoo 32bit on an SMP kernel 2.6.15 got the following error, ideas? = Got a SIGSEGV while executing native code. This usually indicates a fatal error in the mono runtime or one of the native libraries

Re: [Mono-dev] [PATCH] New managed code for unmanaged (Win32)resourcehandling (SRE, PEAPI, MCS)

2006-03-07 Thread Kornél Pál
Hi, My concern was not about speed, but about reliability. I just don't believe it is worthwhile to utilize file system when it can be done in memory. Are you sure that the filename will be unique even when you run several instances of mcs simultaneously ? Now I understand that we did not

[Mono-dev] Re: [Mono-patches] r57679 - in trunk/mcs/class/corlib: System System.Globalization

2006-03-07 Thread Zac Bowling
I love the BIG FAT WARNING. Maybe should of used an ascii art bomb like this one to REALLY get the point across. ,--.!, __/ -*- ,d08b. '|` 0088MM `9MMP' -- Zac Bowling http://zacbowling.com/ - Message from [EMAIL PROTECTED] - Date: Tue, 7 Mar 2006 18:30:00

Re: [Mono-list] can't inport project from visual studio 2005 to monodevelop

2006-03-07 Thread Marek Sieradzki
Dnia 06-03-2006, pon o godzinie 22:16 -0500, William Huskey napisał(a): If this is the wrong list please let me know.. I have been porting from visual studio 2003 .net will little to no problems.. but my hsop just upgraded to visual studio 2005 and when I try to inport project I get

Re: [Mono-list] can't inport project from visual studio 2005 to monodevelop

2006-03-07 Thread Francisco T. Martinez
Marek Sieradzki wrote: Dnia 06-03-2006, pon o godzinie 22:16 -0500, William Huskey napisał(a): If this is the wrong list please let me know.. I have been porting from visual studio 2003 .net will little to no problems.. but my hsop just upgraded to visual studio 2005 and when I try to

[Mono-list] Most compatible O/RM framework for Mono?

2006-03-07 Thread Ben Joldersma
Hello everyone, I'm currently working on a project and I want to support mono. I'm currently investigating different OR/M packages out there, NHibernate, Gentle.NET, NEO Framework, etc., and I am wondering about the support any of these have for mono. Can anyone shed any light on which of these

[Mono-list] Newbie question: .Net 2.0 vs Mono compatibility

2006-03-07 Thread Együd Csaba
Hi, I'm newbie in Mono and ASP.NET. I'd like to know if I can run my Visual Web Developer 2005 .NET webpage without modifications under Mono and Apache? Does Mono contain the same visual components like .net 2.0? E.g. I use menu and bread crumbs components, and html elements with runat=server

[Mono-list] A couple of SWF questions

2006-03-07 Thread Paul F. Johnson
Hi, The code attached works fine with Mono. VC# moans like crazy and I'm not sure why - comments would be welcome. The code also has 2 problems. The first is that then Address label doesn't appear and it should (could someone confirm this so that I can file it in Bugzilla) and the second is the

[Mono-list] Re: Most compatible O/RM framework for Mono?

2006-03-07 Thread Robert Jordan
Ben Joldersma wrote: Can anyone shed any light on which of these they've had the best success with? Also, what about mono implementations of some ms projects, like their Data Access Application Block (which I know virtually nothing about at this point) The Data Access Application Block won't

[Mono-list] Moving from Mono/C# from C/Linux world

2006-03-07 Thread Honey, Steve
Ive been evaluating Mono/C# for a few weeks now and am generally impressed by what I see. My group works currently in the C/Linux world where we develop near real-time scientific application software. Im looking at C#/Mono because: a) Another group at our company uses C# / Windows

Re: [Mono-list] A couple of SWF questions

2006-03-07 Thread Brian Pickles
Paul,Your program seems to work fine in VisualStudio 2005. Address label appears but is truncated because the size you set is too short (90 rather than 72 displays it all).KeyPress is being entered. I hope this is helpfull but probably not.BrianOn 3/7/06, Paul F. Johnson [EMAIL PROTECTED]

Re: [Mono-list] can't inport project from visual studio 2005 to monodevelop

2006-03-07 Thread William Huskey
On 3/7/06, Francisco T. Martinez [EMAIL PROTECTED] wrote: Marek Sieradzki wrote: Dnia 06-03-2006, pon o godzinie 22:16 -0500, William Huskey napisał(a): If this is the wrong list please let me know..prj2make I have been porting from visual studio 2003 .net will little to no problems.. but my hsop

Re: [Mono-list] A couple of SWF questions

2006-03-07 Thread Paul F. Johnson
Hi, Your program seems to work fine in VisualStudio 2005. :-) Address label appears but is truncated because the size you set is too short (90 rather than 72 displays it all). KeyPress is being entered. Dang. It looks like there is a problem with Mono and the KeyPress event. TTFN Paul

Re: [Mono-list] Moving from Mono/C# from C/Linux world

2006-03-07 Thread Michael Schurter
Honey, Steve wrote: I’ve been evaluating Mono/C# for a few weeks now and am generally impressed by what I see. My group works currently in the C/Linux world where we develop near real-time scientific application software. I’m looking at C#/Mono because: a) Another group at our company

RE: [Mono-list] Moving from Mono/C# from C/Linux world

2006-03-07 Thread mail.matt.mcdonald
ISV adoption is going to take a while in my opinion. .NET guys are mostly windows guys, and at the moment VS.NET 2005 is considered superior to mono on MS platforms. Most *nix people that would use .NET are already Java guys, and most of them probably see little reason to switch from Java.

Re: [Mono-list] Moving from Mono/C# from C/Linux world

2006-03-07 Thread ted leslie
Everyone has their opinions .. I use mono in a production environment, for a med sized pizza franchise in Canada, and hopefully soon rolling out a system using mono for one of the largest pizza companies in the world. I find mono rock solid. Regardless of how solid .Net 2.0 is your still

RE: [Mono-list] Moving from Mono/C# from C/Linux world

2006-03-07 Thread mail.matt.mcdonald
While I also prefer a *nix environment (FreeBSD), I think it's a bit myopic to say that Server 2003 isn't production ready. To me the test of an OS is always how well will it do what I want it to do, and there are times when a .NET 2.0 solution on a MS platform will produce acceptable results the