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

2006-03-08 Thread T Senganal
Hi My env, /home/oracle/.bash_profile and /usr/local/etc/mono/config as follows: my oracle was installed under /home/oracle/OraHome_1 i had add user apache into group root, oinstall, dba and apache but I still got the same error information the config file is fine .. DllImport checks for

[Mono-dev] mysql bytefx encoding problem

2006-03-08 Thread Anton Andreev
Hi, Is there an encoding parameter in bytefx connection string? I have a database with latin1 encoding and as far as I can see the provider uses that encoding without giving you an option. I am using mysql 4.0 and the database has Windows 1251 data (not latin1). I use Bulgerian. I see two

[Mono-dev] Handling SQLITE_BUSY throush option in SqliteConnection

2006-03-08 Thread Kamil Skalski
Hi! Recently I had some locking/threading problems with my multithread application utilizing Sqlite and Mono provider. First problem was that I utilized the same SqliteConnection in two threads and it crashed in some situations. According to google and sqlite docs I must use separate sqlite

[Mono-dev] PtrToStringAnsi

2006-03-08 Thread Joshua Tauberer
While debugging a SqliteClient issue, I came across an interesting bug. The following returns null when I'm pretty sure it should not (it doesn't on Windows): Marshal.PtrToStringAnsi(Marshal.StringToCoTaskMemAnsi(ü)) In case the encoding of this email gets messed up, that's a u with umlauts,

Re: [Mono-dev] PtrToStringAnsi

2006-03-08 Thread Atsushi Eno
Hello, Mono does not support non-UTF8 multibyte conversion by design. We shouldn't change its behavior from current one. Actually it is pretty classic matter which has been stated since 2003. http://lists.ximian.com/archives/public/mono-list/2003-June/014500.html It is Microsoft who should

Re: [Mono-dev] mysql bytefx encoding problem

2006-03-08 Thread Joshua Kugler
On Wednesday 08 March 2006 01:38, Anton Andreev wrote: Hi, Is there an encoding parameter in bytefx connection string? I have a database with latin1 encoding and as far as I can see the provider uses that encoding without giving you an option. I am using mysql 4.0 and the database has

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

2006-03-08 Thread Marek Safar
Hello, 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

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

2006-03-08 Thread Marek Safar
Hello, 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

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

2006-03-08 Thread Daniel Morgan
What is the shared library name for OCI on your system? It would something like libclntsh.so Oracle 10g may have something like libclntsh.so.10.0 or something. If you do have something like libclntsh.so.10.0, you can modify target in the dllmap of the etc/mono/config file. dllmap

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

2006-03-08 Thread Kornél Pál
Hi, I'm going to post an updated version of the patch to the list soon that is modified according to your suggestions and contains some more rationalized code. I found that only 'DefaultResource' is used in mcs and all used properties are of simple types. I know there are internal dependencies