[Mono-list] dll releated error

2009-09-02 Thread gnsrinivas1
Hi, I got this error when i tried to run my application on mono. Server Error in '/' Application Could not load file or assembly 'Microsoft.VisualBasic, Version=7.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. Description: HTTP 500. Error processing

Re: [Mono-list] dll releated error

2009-09-02 Thread Chris Howie
On Wed, Sep 2, 2009 at 6:39 AM, gnsrinivas1gnsriniv...@gmail.com wrote: I got this error when i tried to run my application on mono. Server Error in '/' Application Could not load file or assembly 'Microsoft.VisualBasic, Version=7.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or

Re: [Mono-list] DLL Created in Visual Basic 6.0 can run on cross platform

2009-05-22 Thread Pedro Alves
An alternative would be using Jabaco (www.jabaco.org). You write sourcecode similar to VB6 and with Jabaco you can compile it to bytecode which is similar to the output of the Java programing language. If the Jabaco generate code for the Mono would be great! But... :/ []s Pedro Alves

Re: [Mono-list] DLL Created in Visual Basic 6.0 can run on cross platform

2009-05-22 Thread Kornél Pál
Hi, I belive that the problem with VB6 is that it massively depends on third party closed source ActiveX DLLs and OCXes written in C that are very unlikely to be available on Linux without Wine. I think that there are two reasonable solutions: 1) Use genuine VB6 on Wine. 2) Convert the project

Re: [Mono-list] DLL Created in Visual Basic 6.0 can run on cross platform

2009-05-22 Thread Chris Howie
2009/5/22 Kornél Pál kornel...@gmail.com: I belive that the problem with VB6 is that it massively depends on third party closed source ActiveX DLLs and OCXes written in C that are very unlikely to be available on Linux without Wine. No, the problem is that VB6 does not compile things to CIL,

Re: [Mono-list] DLL Created in Visual Basic 6.0 can run on cross platform

2009-05-22 Thread Kornél Pál
Hi, I'm aware of this. I just mean that if you convert VB6 source code to VB.NET, or that other language variant that targets the JVM, your code most likely still will not be platform independent because VB6 source code usually is heavily dependent on ActiveX DLLs. Kornél Chris Howie wrote:

[Mono-list] DLL Created in Visual Basic 6.0 can run on cross platform

2009-05-21 Thread dipesh patel
i have a .dll created in visual basic 6.0. now i want to run that .dll in linux platform, so how can i do this?. is it possible with mono framework? if so then can you guide me how to start?, how to compile?, how to execute? can you tell me what are the steps to use mono framework? i will be

Re: [Mono-list] DLL Created in Visual Basic 6.0 can run on cross platform

2009-05-21 Thread Rolf Bjarne Kvinge
Hi, i have a .dll created in visual basic 6.0. now i want to run that .dll in linux platform, so how can i do this?. Use wine (http://www.winehq.org/) is it possible with mono framework? if so then can you guide me how to start?, how to compile?, how to execute? If you absolutely do not

Re: [Mono-list] DLL Created in Visual Basic 6.0 can run on cross platform

2009-05-19 Thread kuse
dipesh patel wrote: i have a .dll created in visual basic 6.0. now i want to run that .dll in linux platform, so how can i do this?. is it possible with mono framework? if so then can you guide me how to start?, how to compile?, how to execute? can you tell me what are the steps to use

Re: [Mono-list] DLL Created in Visual Basic 6.0 can run on cross platform

2009-05-19 Thread Sergio A. Hernandez
VB 6.0 is not .net nor asp so you can't use the GAC because this dll is not a .NET assembly. However you can try to use a pinvoke you must include System.Runtime.InteropServices //pinvoke using System.Runtime.InteropServices [DllImport(Library)] private extern static *datatype* *name*(x,...) ...

Re: [Mono-list] DLL Created in Visual Basic 6.0 can run on cross platform

2009-05-19 Thread Bojan Rajkovic
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sergio A. Hernandez wrote: VB 6.0 is not .net nor asp so you can't use the GAC because this dll is not a .NET assembly. However you can try to use a pinvoke you must include System.Runtime.InteropServices //pinvoke using

[Mono-list] .dll Data Provider - Can do?

2009-02-22 Thread byteman
First, please excuse the cross posting, but I didn't get a nibble in the asp.net section. Exploring mono linux apache as a possibility for hosting a low volume app that reads and writes foxpro data files. On the windows side, it requires the vfpoledb.dll provider. Other than that, it's a

Re: [Mono-list] .dll Data Provider - Can do?

2009-02-22 Thread Chris Howie
On Fri, Feb 13, 2009 at 5:07 PM, byteman ge...@controlg.com wrote: Exploring mono linux apache as a possibility for hosting a low volume app that reads and writes foxpro data files. On the windows side, it requires the vfpoledb.dll provider. Other than that, it's a fairly straight forward

Re: [Mono-list] DLL

2007-08-16 Thread Rolf Bjarne Kvinge
-Original Message- From: [EMAIL PROTECTED] [mailto:mono-list- [EMAIL PROTECTED] On Behalf Of Michel Pérez Sent: miércoles, 15 de agosto de 2007 22:11 To: mono-list@lists.ximian.com Subject: [Mono-list] DLL Greetings, Im new at Mono, so I would like to know if is possible

Re: [Mono-list] DLL

2007-08-16 Thread Michel Pérez
agosto de 2007 22:11 To: mono-list@lists.ximian.com Subject: [Mono-list] DLL Greetings, Im new at Mono, so I would like to know if is possible to use a dll developed in VB6 on mono, and how to do this to use it in aspx. if that if not possible what could I do to use it dll (workaround

Re: [Mono-list] DLL

2007-08-16 Thread Rolf Bjarne Kvinge
-Original Message- From: Michel Pérez [mailto:[EMAIL PROTECTED] Sent: jueves, 16 de agosto de 2007 14:16 To: Rolf Bjarne Kvinge Cc: mono-list@lists.ximian.com; [EMAIL PROTECTED] Subject: Re: [Mono-list] DLL I have another question. Is possible to use the VB6 DLL in C# and after

Re: [Mono-list] DLL

2007-08-16 Thread Alex Kriegel
- From: Michel Pérez [mailto:[EMAIL PROTECTED] Sent: Thursday, August 16, 2007 5:16 AM To: Rolf Bjarne Kvinge Cc: mono-list@lists.ximian.com; [EMAIL PROTECTED] Subject: Re: [Mono-list] DLL I have another question. Is possible to use the VB6 DLL in C# and after use the C# interface in an aspx

[Mono-list] [mono-list]DLL Import errors

2007-04-20 Thread Eric Morgan
Frequently the problem is that the library is improperly linked; mono (effectively) loads libraries using dlopen(3) with RTLD_NOW set, so if your library depends on a symbol from another library but wasn't linked against that library, you will get errors loading it. You can also use

Re: [Mono-list] [mono-list]DLL Import errors

2007-04-20 Thread Jeffrey Stedfast
On Wed, 2007-04-18 at 10:28 -0600, Eric Morgan wrote: Frequently the problem is that the library is improperly linked; mono (effectively) loads libraries using dlopen(3) with RTLD_NOW set, so if your library depends on a symbol from another library but wasn't linked against that

Re: [Mono-list] [mono-list]DLL Import errors

2007-04-20 Thread Jonathan Chambers
I may be missing something, but are you trying to PInvoke a 32-bit library (your licensing library) from within a 64-bit mono process? I do not think that is possible. Thanks, Jonathan On 4/20/07, Jeffrey Stedfast [EMAIL PROTECTED] wrote: On Wed, 2007-04-18 at 10:28 -0600, Eric Morgan wrote:

Re: [Mono-list] [mono-list]DLL Import errors

2007-04-20 Thread Joe Shaw
Hi, On 4/18/07, Eric Morgan [EMAIL PROTECTED] wrote: The library is clearly there, but both mono and this dltest is saying that it doesn't exist. I've tried copying the library directly into the folder with dltest, and it still can't find it, even though is literally right there. Generally

Re: [Mono-list] [mono-list]DLL Import errors

2007-04-18 Thread Jonathan Pryor
On Tue, 2007-04-17 at 14:40 -0500, Eric Morgan wrote: I'm trying to P/Invoke into a library from my csharp code, but I keep getting System.DllNotFoundException errors. I've double checked my config file and the dllmap is correct. I've made sure the library can be found in the LD_LIBRARY_PATH

[Mono-list] [mono-list]DLL Import errors

2007-04-17 Thread Eric Morgan
Hey all, I'm trying to P/Invoke into a library from my csharp code, but I keep getting System.DllNotFoundException errors. I've double checked my config file and the dllmap is correct. I've made sure the library can be found in the LD_LIBRARY_PATH environment variable. Still doesn't work.

[Mono-list] Dll loading failure

2005-04-28 Thread Jurek Bartuszek
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi! What do I have to provide in order to load a dll in C# (mono/mcs)? This piece of code has been compiled using mcs. using System; using System.Runtime.InteropServices; public class Hello { [DllImport(dodaj.dll)] public static

Re: [Mono-list] Dll loading failure

2005-04-28 Thread Timothy Graupmann
Try putting dodaj.dll in the same directory as your exe. Here is the compile script I use that includes a dll. http://cvs.sourceforge.net/viewcvs.py/tagelflax/tagml/vc%237/CompileWithMonoConsole.cmd?rev=1.5view=markup You just need this: -r dodaj.dll --- Jurek Bartuszek [EMAIL PROTECTED] wrote:

Re: [Mono-list] Dll loading failure

2005-04-28 Thread Jurek Bartuszek
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Try putting dodaj.dll in the same directory as your exe. Here is the compile script I use that includes a dll. http://cvs.sourceforge.net/viewcvs.py/tagelflax/tagml/vc%237/CompileWithMonoConsole.cmd?rev=1.5view=markup You just need this: -r

Re: [Mono-list] Dll loading failure

2005-04-28 Thread Chris Turchin
Hi, I think you need to set up your LD_LIBRARY_PATH variable. I have a simple interop sample I did with mono here: http://turchin.net/mono/interoptest.tar.gz that you could look at for reference (see the READM). it creates a shared library, uses it in a c-program and also uses it via DllImport

Re: [Mono-list] Dll loading failure

2005-04-28 Thread Michal Moskal
On 4/28/05, Jurek Bartuszek [EMAIL PROTECTED] wrote: Try putting dodaj.dll in the same directory as your exe. [EMAIL PROTECTED] asm $ ls dodaj.asm dodaj.dll dodaj.o main.cs [EMAIL PROTECTED] asm $ mcs -target:exe -o main.exe -r dodaj.dll main.cs error CS0006: Cannot find assembly

Re: [Mono-list] Dll loading failure

2005-04-28 Thread Jurek Bartuszek
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dnia 2005-04-28 17:40, U?ytkownik Chris Turchin napisa?: Hi, I think you need to set up your LD_LIBRARY_PATH variable. I have a simple interop sample I did with mono here: http://turchin.net/mono/interoptest.tar.gz that you could look at

Re: [Mono-list] Dll loading failure

2005-04-28 Thread Jurek Bartuszek
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dnia 2005-04-28 17:47, U?ytkownik Michal Moskal napisa?: How did you compile asm-dll? To .so: 1) nasm -f elf dodaj.asm -o dodaj.o 2. ld --shared --soname dodaj.so -o dodaj.so dodaj.o To .dll: 1) nasm -f coff dodaj.asm -o

Re: [Mono-list] Dll loading failure

2005-04-28 Thread Michal Moskal
On 4/28/05, Jurek Bartuszek [EMAIL PROTECTED] wrote: Dnia 2005-04-28 17:47, U?ytkownik Michal Moskal napisa?: How did you compile asm-dll? To .so: 1) nasm -f elf dodaj.asm -o dodaj.o 2. ld --shared --soname dodaj.so -o dodaj.so dodaj.o You need to use this version on

Re: [Mono-list] Dll loading failure

2005-04-28 Thread Jurek Bartuszek
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mono does not support native code DLLs from Windows when running on Linux. Are you 100% sure about that? I guess mono searches in the current directory. But failing to recognize the file format, it says it cannot find (usable) DLL. Well... I've

Re: [Mono-list] Dll loading failure

2005-04-28 Thread Michal Moskal
On 4/28/05, Jurek Bartuszek [EMAIL PROTECTED] wrote: Mono does not support native code DLLs from Windows when running on Linux. Are you 100% sure about that? No. Maybe some wine interop would do? I'm not an expert here. I guess mono searches in the current directory. But failing to

Re: [Mono-list] Dll loading failure

2005-04-28 Thread Jonathan Pryor
On Thu, 2005-04-28 at 19:11 +0200, Michal Moskal wrote: On 4/28/05, Jurek Bartuszek [EMAIL PROTECTED] wrote: Mono does not support native code DLLs from Windows when running on Linux. Are you 100% sure about that? No. Maybe some wine interop would do? I'm not an expert here. I'm 100%

Re: [Mono-list] Dll loading failure

2005-04-28 Thread Timothy Graupmann
What about: -r ./dodaj.dll --- Jurek Bartuszek [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Try putting dodaj.dll in the same directory as your exe. Here is the compile script I use that includes a dll.

Re: [Mono-list] Dll loading failure

2005-04-28 Thread Jurek Bartuszek
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ok... I think I've got everything clear now. I'd like to thank everybody who spent his time on answering my questions, you were very helpful :) Regards, Jurek Bartuszek -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using

[Mono-list] dll

2004-09-25 Thread [EMAIL PROTECTED]
Hello List, I have a simple question about mono-programming. I wrote a simple program with an extra dll. But I have problems to include this dll. I'm using monodevelop to write my programs. Here I started the main project and another project with a Library that created the dll. I include the dll

[Mono-list] DLL path

2004-08-15 Thread Abe Gillespie
Mono can't find my ASP.NET website's codebehind dll. It's in the bin directory. This is the error: Server error in '/test' application Cannot find 'test.dll'. Description: Error processing request. Error Message: HTTP 404. Cannot find 'test.dll'. How can I get Mono to recognize the path to it?

Re: [Mono-list] dll with same name causes missing method exceptions (mono 0.91)

2004-05-24 Thread Dolapo M Falola
I believe this is the expected behavior. My initial problem was not looking at assemblies as first class objects but more like jars. I installed MS .net 1.1 sdk on my windows box and ran the same test. This is the output I get: Unhandled Exception: System.TypeLoadException: Could not load type

[Mono-list] dll with same name causes missing method exceptions (mono 0.91)

2004-05-22 Thread Dolapo M Falola
Is the following expected behavior: 1) A class or set of classes compiled as a library with a name x. 2) An executable with classes with different name that references that library with name x builds. 3) Attempting to run the built executable throws NoSuchMethodExceptions. Example:

[Mono-list] DLL versioning

2004-02-03 Thread Edd Dumbill
So I notice that all the .dlls from mono packages just get put in /usr/lib and have no version number. Now I'm writing my own .dlls too I'm worrying about this. How do I cope with versioning issues in future? Is there an analog to SONAMEs for Mono libraries? thanks Edd.

Re: [Mono-list] DLL versioning

2004-02-03 Thread Miguel de Icaza
So I notice that all the .dlls from mono packages just get put in /usr/lib and have no version number. Now I'm writing my own .dlls too I'm worrying about this. How do I cope with versioning issues in future? Is there an analog to SONAMEs for Mono libraries? We will implement the Global

[Mono-list] dll mapping not working

2004-01-19 Thread John Luke
Hello, The dll mapping trick that is used by Gtk# is not working with todays cvs of mono/mcs. It doesn't seem to be looking at $(prefix)/etc/mono/ config before trying to P/Invoke, and thus tries to open the windows dlls instead of the .so files. Was this accidently broken in the

Re: [Mono-list] dll mapping not working

2004-01-19 Thread Gonzalo Paniagua Javier
El mar, 20-01-2004 a las 02:01, John Luke escribió: Hello, The dll mapping trick that is used by Gtk# is not working with todays cvs of mono/mcs. It doesn't seem to be looking at $(prefix)/etc/mono/ config before trying to P/Invoke, and thus tries to open the windows dlls instead of

RE: [Mono-list] .dll .exe ?

2003-06-19 Thread Miguel de Icaza
Hello, I'll never understand why Microsoft used the .DLL extension. Even pre-dotnet dlls didn't always use .DLL (e.g. ActiveX controls use .OCX and control panel applets used .CPL). In .NET you can mix managed and unmanaged code into the same assembly (Managed C++ can do this for example).

RE: [Mono-list] .dll .exe ? - pointer in C#

2003-06-19 Thread Alessandro Binhara
HI Miguel .. I see your apresentation about Mono in Brazilian Forum.. And you talk about a new implementatation of evolution.. not all will be re-writted in MONO, because have a lot of code writte in C++ with pointers.. How you can do this? I will be more especifical.. I can write a base

RE: [Mono-list] .dll .exe ?

2003-06-19 Thread Thong (Tum) Nguyen
:08 a.m. To: Thong (Tum) Nguyen Cc: 'juan'; [EMAIL PROTECTED] Subject: RE: [Mono-list] .dll .exe ? Hello, I'll never understand why Microsoft used the .DLL extension. Even pre-dotnet dlls didn't always use .DLL (e.g. ActiveX controls use .OCX and control panel applets used .CPL

Re: [Mono-list] .dll .exe ?

2003-06-19 Thread Jaroslaw Kowalski
PROTECTED] To: 'Miguel de Icaza' [EMAIL PROTECTED] Cc: 'juan' [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Friday, June 20, 2003 5:18 AM Subject: RE: [Mono-list] .dll .exe ? Hi Miguel, I agree that it made sense for Microsoft to use the DLL vessel format. I just don't see why they needed to keep

[Mono-list] .dll .exe ?

2003-06-18 Thread juan
why does mono uses .exe and .dll on unix * not on the list * ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list

[Mono-list] dll compiled under linux/mono won't work under win/.net

2003-06-16 Thread Jörg Würzer
hello again, system: redhat 8, mono 0.24-2 (binary rpm install) i've got another problem. i've got an assembly which was compiled unter win/.net. i'm able to copy that assembly to linux/mono and run any application which references to that assembly - this works fine. the other direction