[Mono-dev] Problem with monodevelop and Oracle

2008-04-02 Thread Velazquez Angel
I've recently created a simple proyect to connect from mono to Oracle, what is the problem? when I compile the proyect using mono develop I get the current error: Unhandled Exception: System.Data.OracleClient.OracleException: ORA-12154: TNS:could not resolve the connect identifier specified at

Re: [Mono-dev] Problem with monodevelop and Oracle

2008-04-02 Thread Torello Querci
Sorry Velazquez but this one seems to be a runtime error causedc by a misconfigured TNS network. Have you tried to use tnsping on the same server? Regards, Torello Querci 2008/4/2, Velazquez Angel [EMAIL PROTECTED]: I've recently created a simple proyect to connect from mono to Oracle, what

Re: [Mono-dev] mono_config_parse won't link, needs extern C declaration in header file

2008-04-02 Thread Sebastian Good
Robert, thanks for your reply! The threads.h issue was indeed fixed in 1.9. It seems to me that adding G_{BEGIN/END}_DECLS to mono-config.h requires a recompile because it causes the functions to be exported as undecorated C signatures, rather than fully decorated C++ signatures. This was the only

Re: [Mono-dev] mono_config_parse won't link, needs extern C declaration in header file

2008-04-02 Thread Zoltan Varga
Hey, That comment is obsolete, you don't need to call that function anymore. Zoltan As for the other issues, the only one remaining in 1.9 is that the Embedding Mono documentation (http://www.mono-project.com/Embedding_Mono) discusses calling another function

[Mono-dev] parametric types and nested classes

2008-04-02 Thread Robert Sim
Hi, I'm having some casting problems with nested classes of classes derived from parametric types. My peeks at the archives have failed to turn anything up. The problem is described below. It compiles and works as expected in Visual Studio. Compiling with gmcs gives me these errors: mono-gmcs:

Re: [Mono-dev] parametric types and nested classes

2008-04-02 Thread Robert Sim
Thanks. Well, I've figured out it can be done if I try hard enough. Explicitly declaring the type of myFoo does the trick: FooBarHelper.NestedFoo myFoo=new FooBarHelper.NestedFoo(); On Wed, Apr 2, 2008 at 2:30 PM, Gavin Landon [EMAIL PROTECTED] wrote: I believe this is a known issue. If

Re: [Mono-dev] [Mono-list] Npsql parameter with leading '?'

2008-04-02 Thread Francisco Figueiredo Jr.
On Wed, Apr 2, 2008 at 8:05 PM, Manuel de la Pena [EMAIL PROTECTED] wrote: Hi guys, Hi, Manuel! I have been doing some work with IDataParameters and IDbCommands using the Npsql ADO connector. I've noticed that the Npsql adds a ':' infront of my parameters name which I have named as '?' +