On 21.02.2012 18:36, efontana wrote:
I'm using Embedded mono, I created a small test program who's method I can
call and as a test
I had that method do a throw new Exception(Catch this in C++);
I passed in a MonoObject* exception = NULL; as the last argument to
mono_runtime_invoke, the method
On 21.02.2012 21:47, efontana wrote:
Nope, I downloaded the MSI installer, didn't build it, got it from here:
http://www.go-mono.com/mono-downloads/download.html
I have more info now though:
The assembly that I'm loading is Windows Forms .exe, if, I throw the
exception in Form_Load, it's not
On 21.02.2012 22:15, efontana wrote:
Interesting, I wonder if this applies:
http://msdn.microsoft.com/en-us/library/system.windows.forms.application.setunhandledexceptionmode.aspx
Yes, this is likely the issue. Unfortunately Mono doesn't implement it,
or it doesn't work.
Under MS.NET, the
On 16.02.2012 07:03, ray2k wrote:
Note the disparity between 'Invoking HelloWorld.exe as testuser' and
'Environment.UserName = ec2-user'. What gives? I know slightly more than
nothing about linux- is this related to its shell/security posture or
something? Shouldn't I be seeing
On 13.02.2012 21:46, Nixeus wrote:
Hello,
I have created a little C# apps with MonoDevelop that needs Administrator
privileges.
I know that it's possible to force running as administrator with a manifest
file embedded with :
requestedExecutionLevel level=requireAdministrator uiAccess=false
On 09.02.2012 14:30, monoUser wrote:
My HttpListener prefix looks like that
m_HttpListener.Prefixes.Add(
string.Format(http://+:9920/;)
);
You may want to use the https-schema.
Robert
___
On 27.01.2012 12:54, Weeble wrote:
I have a program that uses
System.IO.Pipes.AnonymousPipe{Server,Client}Stream on .NET to
communicate between a parent and child process while still allowing
the child process to use stdin, stdout and stderr normally. I've found
that this part of System.IO.Pipes
On 27.01.2012 14:22, H . wrote:
I guess that this version
of FireFox is somehow not always accepted as a high level browser. As
a result, the page is rendered in compatibility mode. There might be
a bug in the browser detection block inside the Mono class library.
This problem is very difficult
On 27.01.2012 15:54, David A Knight wrote:
I have been looking at changing an iOS app over to using Monotouch
and run into an issue with Sqlite performance. Writing some test
code (not running on a device) that just opens a database and does a
number of inserts (in a transaction) the
On 27.01.2012 02:33, Maurício Linhares wrote:
And here is the code I'm using - https://gist.github.com/1676771
Since you're use KeepAlive = true, HttpWebRequest must be able
to compute the Content-Length header value. It does it by using
a memory stream.
You may want to try this:
On 25.01.2012 13:19, chandu wrote:
pls kindly help me out.and pls provide some links to do this
http://mono-project.com/ASP.NET
___
Mono-aspnet-list mailing list
Mono-aspnet-list@lists.ximian.com
On 25.01.2012 21:45, Kamal Aboul-Hosn wrote:
Thanks, Robert, that worked very well. I have one more question, if I
may. So I'm embedding Mono on Android on ARM. Up until now, I've been
AOT compiling the libraries by running a little app on the Android
device itself. Obviously, in the long term,
On 24.01.2012 19:39, Kamal Aboul-Hosn wrote:
Hi, everyone,
If I call mono --aot=static,asmonly on a dll to generate a .s file,
how can I get Mono to load the generated AOT'ed assembly if I include
the .s in a native .so I'm building myself as part of an application?
It seems Mono normally just
On 22.01.2012 01:17, Nicholas Frechette wrote:
Are named mutexes supported under mono?
They are, if you enable shared handles by setting the
MONO_ENABLE_SHM environment variable, e.g.
MONO_ENABLE_SHM=1 mono yourapp.exe
Robert
___
Mono-list
On 20.01.2012 08:18, jaysonp wrote:
Hi Robert,
Again I would make a follow-up regarding my question about $monoprefix
in Windows.
$monoprefix does not exist. It's just a shortcut I'm using in place
of directory where Mono was installed into.
Robert
On 20.01.2012 20:38, Michael Bayne wrote:
I'm trying to get IKVM working with MonoTouch. That has required a lot
of crazy hackery, but now I'm crashing the AOT compiler, and I don't
think I'm going to be able to fix this one myself (since I don't have
the source). Here's what it reports:
Try
On 20.01.2012 21:46, Michael Bayne wrote:
On Fri, Jan 20, 2012 at 12:31 PM, Robert Jordanrobe...@gmx.net wrote:
Try to add -v -v -v to the AOT compiler's command line arguments
in MonoDevelop.
Unfortunately that didn't yield any additional output.
BTW, the MonoTouch mailing list is over
On 18.01.2012 02:55, jaysonp wrote:
Thanks again Robert but another clarification... Does this mean that I just
have to add the m parameter/switch on this line of the script to activate
the mono cert store? Like this:
*/ $certmgr /add /c CA $certfile /m/*
Or should I change the c
On 18.01.2012 14:24, jaysonp wrote:
Hi Robert,
$certmgr /add /c CA /m $certfile runs OK. However, 0 certificates
were added. Certmgr displays:
*/
Unknown file extension:
0 certificate(s) added to store Trust
/*
Then maybe
$certmgr /add /c /m CA $certfile
On 18.01.2012 17:24, jaysonp wrote:
I thought you've mentioned that .mono will be activated once mono store is
updated with certs... Do you have an idea where the certs were
installed/placed after the script was executed and if the machine's mono
cert store was activated already?
It looks like
On 16.01.2012 11:24, jaysonp wrote:
Hi Robert,
Thank you very much for the steps you provided. It's really helpful. I
have 3 clarifications though. Specifically, for step number 4:
/* 4) mount the shared folders an all other machines as
$monoprefix/share/.mono/.*/
1. This
On 17.01.2012 16:54, jaysonp wrote:
Now after running this shellscript, should I expect that
$monoprefix/share/.mono/ will exist? Because I already did run this
shellscript but .mono is still not existing? Does this mean that mono cert
store is still not existing?
The script operates certmgr
On 16.01.2012 08:33, jaysonp wrote:
Any feedback? Thank you
Sorry, I'm not proficient enough to tell you how to share
folders securely between Unix and Windows.
I can only give your a sketch:
1) set up a machine running Mono that can act as a server (Windows
or Unix, it doesn't matter),
2)
On 16.01.2012 23:19, quandary wrote:
How can I have fastcgi use the same application for all those subdomains ?
fastcgi-mono-server4 /applications=/:/var/www/your-chat-app
With other words: omit the host from the application descriptor.
Robert
On 06.01.2012 07:15, jaysonp wrote:
Good day,
Is there a way we can have a centralized monostore? Where in other
machines can connect and synch their updated Digital Signatures /
Certificates to this?
Mono does not implement a centralized store for certificates.
Under Unix, this can
On 13.01.2012 15:40, Ken Bass wrote:
On 01/13/2012 03:49 AM, Ian Norton wrote:
Mdb itself hasn't worked that well for me since mono 2.6, what mdb version
is it?
How can I tell? mdb -version doesn't print a version. Mono itself if
2.10.5. so I think mdb is 2.10.
Mdb has been deprecated in
On 12.01.2012 12:18, Martin Däumler wrote:
Hello,
I tested Mono-2.10.8.1 on Linux/x86. In my test program [1],
there is an interface defining 1000 methods. This interface
is implemented by two classes. When running the program, one
of these two class is chosen and the 1000 methods are called
On 10.01.2012 05:43, xoyojank wrote:
I have embeded mono as script engine, and now I want to implent C++ abstract
interface in C#.
The embedded API does not provide any C++ support.
You may want to look at this:
http://tirania.org/blog/archive/2011/Dec-19.html
Robert
On 09.01.2012 02:02, Jeff Ward wrote:
I'm using embedded mono in an application, and I want to be able to catch
when I have a Null reference in Mono. At the moment, it looks like mono is
crashing on a null reference (maybe sending SIGSEGV?). I'd like to catch
these exceptions in the
Jeff,
On 09.01.2012 16:03, Jeff Ward wrote:
I'm not personally overriding the SIGSEGV handler (though I may in the
future) but the Visual Studio debugger may be? Is that possible?
Definitely. Last time I checked (I don't remember if it was with
VS 2008 or 2010), I had to give up and use
On 09.01.2012 23:14, Jonathan Chambers wrote:
Jeff,
Mono uses getenv to access the MONO_DEBUG environment variable. Make sure
you set it with _putenv rather than SetEnvironmentVariable, as they are two
blocks of environment variables that are maintained separately.
Ouch! I was debugging
On 07.01.2012 15:43, sgc9812 wrote:
Log file is attached...
http://mono.1490590.n4.nabble.com/file/n4273121/error.log error.log
You're misinterpreting the logs. Mono is probing for X11 libs even
under Windows.
To be able to see the console output (and possible exceptions),
you should invoke
On 07.01.2012 21:18, Ian Norton wrote:
Hello,
One reason might be that your Linux machine might not have them installed.
What distribution is it and do you have a graphical login?
His distro is called Windows 7.
Robert
___
Mono-list maillist -
On 20.12.2011 19:46, Jonathan Shore wrote:
I received the exception below when trying to create a gzip deflate stream.
I have since located the libMonoPosixHelper.dylib in the frameworks directory:
/Library/Frameworks/Mono.framework/Versions/2.10.6/lib/libMonoPosixHelper.dylib
On 21.12.2011 00:41, Dale Schumacher wrote:
Tried a fresh build today (new install on a new Windows 7 box) under
Cygwin 1.7.9-1 using sources cloned by git. Got the following error:
./../../jay/jay -ct ./../../jay/skeleton.cs
On 19.12.2011 18:49, Jonathan Shore wrote:
This successfully creates a dll. The problem is that when trying to load
this dll into R, complains that cannot find libmono-2.0.As I do most of
my work on OSX and Linux, have not yet determined what governs the DLL search
path.Also,
On 19.12.2011 00:23, Marvin wrote:
I hope I've given enough information. I could provide a full report of
thread apply all bt if you'd like.
Yes, please attach the full backtrace because you've posted only
the most useless thread: the main thread waiting for console
input (probably a
Hi Jonathan,
Instead of passing
c:/cygwin/home/jonathan.shore/Dev/hf/src/Libraries/CApi/lib/win32/libmono-2.0.dll.a
directly to the linker, try this:
-Lc:/cygwin/home/jonathan.shore/Dev/hf/src/Libraries/CApi/lib/win32
-lmono-2.0
MinGW is smart enough to fetch the correct library (it will
Hi,
Linking with libmono.a is not supported under Cygwin.
Moreover, linking a cygwin app with libmono.la (libmono.dll.a
- mono.dll) would disable Mono's SIGSEGV handler. This means
that NullReferenceExceptions would crash your app.
A compilation like:
g++ -o rDotNet.dll -Imono include dir
Hi Andrey,
Do you have a test case for these issues?
Thanks
Robert
On 15.12.2011 09:24, Andrey Chernomyrdin wrote:
Have a nice day,
I try to run my C# application in mono and have some problem with remoting.
After small experiment I make some fixes in mono runtime.
patch #1
On 15.12.2011 17:49, Mike Murdock wrote:
I am trying to point to a network file share and don't know how to format the
URI
I have tried
@\\server\share\path\test.jpgfile:///\\server\share\path\test.jpg and it
never gets to the image. I am using monotouch/monodevelop for IOS.
Any Ideas?
On 09.12.2011 13:53, hjf1223 wrote:
I have the following class to get the string resource from system assemblies:
Mono does not provide the same resource sets as Microsoft because
resources are not part of the API.
Your code is digging deeply is Microsoft's implementation details
and is not
Hi,
On 06.12.2011 20:53, Alfred Hall wrote:
Good afternoon!
I have been trying to P/Invoke into libsmbclient on OSX 10.6 running
64 bit kernel. I compile the samba library myself (version 3.6.0) with
-m32 and managed to get a simple stub working in C/C++:
static void
auth_fn(const char
On 05.12.2011 17:28, Tim Nelson wrote:
I need for a test to enable cross-domain scripting on a mod_mono
server I have running. I have found something that says I just need
to add the XML to my Web.config (below), but mono crashes when it sees
it. How do I enable cross-domain scripting?
On 02.12.2011 21:48, jacoblinux wrote:
Hi,
I compiled latest Mono 2.10.6 sources and sometimes when I try to run xsp2
to test my web application , turn it to zombie process and I cannot kill
process.
[jacob@localhost labsergen]$ ps -ef | grep mono
jacob 3155 1 71 15:14 ?
Hi Matthias,
On 01.12.2011 15:01, Mathias Tausig wrote:
I want to read the creation/modify date information of a file and want
to use the Mono.Unix.Native.Stat structure for it.
I create the Stat variable either via UnixFileSystemInfo.ToStat or
directly with Mono.Unix.Native.Syscall.stat,
On 29.11.2011 14:40, sharkal wrote:
The socket is configured something like this:
Socket clientSocket = new Socket(AddressFamily.InterNetwork,
SocketType.Dgram, ProtocolType.Udp);
clientSocket.ReceiveBufferSize = 2 * 1024 * 1024;
clientSocket.Bind(localEndPoint);
What IP is localEndpoint?
On 22.11.2011 18:42, Chris Derrick wrote:
Not sure why, but this morning when I tried again I got a different result.
The result of pkg-config --cflags mono is now:
-D_REENTRANT -I/usr/lib/pkgconfig/../../include/mono-1.0
When I try bundling I get this error during the compiling phase:
On 20.11.2011 01:51, ReneFFM wrote:
Can noone help here ? Not yet fixed that problem...
It also appeares if the second application run as another user.
What kind of machine are you running on? Are there some
resource limits in effect (limited VPS etc.)?
Robert
On 21.11.2011 17:01, Chris Derrick wrote:
In CentOS 6.0 I've built mono from the source code at
http://ftp.novell.com/pub/mono/sources/mono/mono-2.6.7.tar.bz2 and am now
able to run my code just fine. Unfortunately I cannot bundle it though.
The output suggests that I add the directory
On 21.11.2011 19:25, Chris Derrick wrote:
The result of pkg-config --cflags mono was:
Package mono was not found in the pkg-config search path.
Perhaps you should add the directory containing `mono.pc'
to the PKG_CONFIG_PATH environment variable
No package 'mono' found
Check that
On 18.11.2011 23:02, Marcelo Zabani wrote:
I'm having a problem of a blank file of type httpd/unix-directory being
served every so often.
I have searched google and read somewhere that this happens when Apache
can't find a virtual host to serve the request. What troubles me is why
does this
Marcelo,
Try to put all aliases inside the virtual host element:
VirtualHost *:80
ServerName elomeno.com
ServerAlias www.elomeno.com www.elomeno.com.br elomeno.com.br
Include /etc/apache2/vhosts.d/elomeno.include
/VirtualHost
Robert
On 17.11.2011 18:19, mbrenn wrote:
Within XSP or mod_mono on Apache, I can create an index.aspx which is parsed
and executed perfectly according to .Net-Framework, but it seems to be that
the handler is not included within the mod_mono-Framework.
Is using IHttpHandler really implemented
On 15.11.2011 07:13, Deniska wrote:
So the question is: how can I determine the _real_ location of a
mkbundle-packaged app during runtime? Is there are a way? If no - why?
You may want to get this info from the proc file system:
using System;
using System.Text;
using Mono.Unix.Native;
class
On 12.11.2011 06:05, Marcelo Zabani wrote:
1. Can I update the contents of my website (dll's, for instance) without
having to restart the fastcgi process? Is there a possibility of
momentaneous failure for my visitors when I'm doing that?
The web app should restart (by recycling
On 10.11.2011 15:14, Jonathan Shore wrote:
Understood.
Towards that end, is there a configuration option I can use to build
mono on OSX without gnome / GTK#, etc. I don't use UIs with mono and
have had numerous issues in building the C part of the UI stack in
the past.
UI stacks were never
Hi Martin,
(1) Configure system proxy settings and reboot machine (2) In
terminal echo $http_proxy returns http://http.proxy:8080/;; echo
$no_proxy returns localhost,127.0.0.0/8,*.local (3) Created an
ASP.NET project in MonoDevelop and entered the following code in
It's probably the desktop
On 09.11.2011 13:51, H . wrote:
Hi Robert,
I have now debugged the issue using Ubuntu Maverick/ 32 bit. I did the
following:
(1) Configure system proxy settings and reboot machine
(2) In terminal echo $http_proxy returns http://http.proxy:8080/;; echo
$no_proxy returns
Hi Martin,
please file a bug against MD's bugzilla. IIRC, MD has an integrated
bug reporting feature.
Robert
On 09.11.2011 18:36, H . wrote:
Hi Robert,
your suggestion is correct. It's not a problem of Mono itself but rather a
problem with MonoDevelop's debugging session.
I have
On 09.11.2011 11:58, alienDog wrote:
I downloaded, compiled and installed Mono 2.10.2 on my Linux Mint 9 LXDE
system, because there is an app that I need to get running (MarcEdit).
MarcEdit requires the latest mono 2.10 to work, and since the mono in Mint 9
repositories is older, I decided to
On 07.11.2011 19:34, applepi wrote:
I'd not seen mkbundle. I'll have to look into that as well.. this is going
into proprietary code for a customer and I'm not as brushed up on how all of
the GPL/LGPL restrictions affect that as I should be, so I'll have to dig
into that somewhat.
You
Hi Martin,
On 05.11.2011 09:48, H . wrote:
Hi Robert,
I am using XSP2 MonoDevelop to debug.
You have to restart your user session if you've changed
the proxy settings. Being environment-based, these settings
won't propagate to running processes.
Based on the answers I think that it might
On 05.11.2011 00:59, Jonathan Shore wrote:
Hi,
I am a bit fuzzy as to whether a 64 bit version of mono exists for
osx. According to this page
http://www.mono-project.com/Supported_Platforms, it does, or at least
the JIT can generate 64 bit code. In this regard, all of the mono
libraries
On 05.11.2011 14:28, quandary wrote:
I'm not going to waste another 15 minutes by adding a bug report,
deleting a * should be a 20-seconds no-brainer for somebody with git
write-access.
Fixed on master and 2-10 branch. Thanks for reporting.
Robert
On 04.11.2011 10:17, Torello Querci wrote:
This is the first test that I realized.
On the same machine, same kernel same calls
You don't say which Mono arch you're using. On 32 bit,
the following might not be correct:
struct rlimit {
public IntPtr rlimit_cur;
On 04.11.2011 10:49, Torello Querci wrote:
Sorry, You are right I'm on 32bit arch
Then you need this:
struct rlimit {
public long rlimit_cur;
public long rlimit_max;
}
Robert
___
On 04.11.2011 11:18, Torello Querci wrote:
Hy Robert,
On 32bit arch IntPtr is 32bit, on 64 bit arch, IntPrt is 64 bit.
Yes, this is not the issue here.
However I try your suggestion but the setrlimit no more work. Looking
inside the strace output this is the setrlimit syscall:
On 04.11.2011 08:19, Torello Querci wrote:
Hi al,
trying to handle more that 1024 handle file I got an exception even if
I increase the max number of file limit using setrlimit. The example
source code below.
Of course mono have the right pcap permission.
This is a bug in Mono's io-layer:
On 04.11.2011 13:26, Robert Jordan wrote:
Meanwhile, you could just increase the open files limit
with ulimit -S -H 2, so don't mark the bug as super critical ;)
I've fat-fingered ulimit's arguments:
ulimit -S -H -n 2
Robert
___
Mono-devel
On 04.11.2011 19:32, Jonathan Shore wrote:
Note that I am not initializing mono_domain_assembly_open() with an exe,
rather with a dll. Perhaps there is some setup I need to do?
How are you initializing the runtime exactly (code)?
You probably need mono_jit_init_version() or alternatively
On 04.11.2011 20:05, Jonathan Shore wrote:
My assembly is definitely 4.0 and monodis --assemblyref indicates
dependency on .NET 4 assemblies. I'll look into mono_jit_init_version() and
see whether this helps.
Yes, but you're not using it for initialization.
// create AppDomain
On 04.11.2011 20:22, Jonathan Shore wrote:
I'm working off of http://www.mono-project.com/Embedding_Mono with
regard to initialization. I tried a number of possible version #s
for the mono_jit_init_version(), but indicated:
WARNING: The runtime version supported by this application is
On 03.11.2011 13:51, H . wrote:
Environment.GetEnvironmentVariable(no_proxy) not working in Linux
ASP.NET app
After configuring proxies in Ubuntu, the environment variable
no_proxy contains the list of proxies to bypass. Using
Environment.GetEnvironmentVariable(no_proxy) we can retrieve the
On 03.11.2011 14:12, H . wrote:
Hi Robert,
thanks for your hints.
The link sent describes how environment variables can be set up in
Ubuntu. Of course, nobody would try to manually set up environment
variables when trying to configure proxies. This is done by using
SystemSettingsNetwork
On 02.11.2011 16:20, Erik Cederstrand wrote:
Hi all,
(Newbie warning) I have created a test Windows Service using Mono 2.10.6 and
MonoDevelop 2.8.1 on OSX and compiled it against .NET 4.0 to an executable. I
then wanted to install it on my Windows 7 VM (Mono is not installed there)
using
On 28.10.2011 01:23, Jonathan Shore wrote:
MonoMethod* find_method (
MonoDomain* domain,
MonoClass* type,
const char* name,
int nargs,
MonoClass** types)
I can iterate over the memebers with mono_signature_get_params(), however,
this returns a MonoType* struct
On 25.10.2011 18:18, Chris Derrick wrote:
How would one use mkbundle if they were working with a service? I've already
written a program with monodevelop that generates an executable which runs
correctly via mono-service2 Program.exe.
I attempted mkbundle --static Program.exe -o program and
On 15.10.2011 08:19, Paril wrote:
Hey there.
I'm probably missing something very basic, but, how do I display exception
data related to exceptions thrown by mono_runtime_invoke? I see that I can
easily post up a An exception occured message, but to be more
user-friendly I'd like for the app
On 14.10.2011 08:18, Stifu wrote:
So this tells us that what fails is the int.Parse() instruction.
The changes I proposed were not meant to make it work, just to try to
debug the problem, as you didn't give us the Exception message at first.
So, it seems like Console.ReadLine() returns null
On 14.10.2011 11:13, Paril wrote:
Hi there.
I have a strange issue with Mono and embedding it on Windows. I have
followed all of the steps to get it installed and working with Windows
(built the source to get the .lib file debug DLL files to help, installed
the runtime). I'm trying to do
On 14.10.2011 00:18, Gregory Junker wrote:
Says it's not implemented -- why? Is there a technical reason for not being
able to do Message mode on Linux? I couldn't find much (anything, really) at
all on this through searching...
Only the bits necessary for WCF were implemented. Usually, when
On 12.10.2011 13:42, k0l0b0k.v...@gmail.com wrote:
user@server:~# date
Wed Oct 12 14:09:10 FET 2011
FET? This is an interesting time zone:
http://en.wikipedia.org/wiki/Further-eastern_European_Time
It seems that Mono is thinking that you're now on EET
(Eastern Europe Time, UTC+2), your former
On 12.10.2011 22:05, k0l0b0k.v...@gmail.com wrote:
Hello guys, thanks for your replies. I think, I've understand the situation.
Some weeks ago, Ukraine and Belarus has timezone changes by law, and now we
are FET timezone (GMT+3, without DST). As Robert pointed, I've look into
TimeZone.*
On 12.10.2011 13:22, papampi wrote:
thanks for quick reply mate !!!
this is my mono version :
payam@PAYAM-UBUNTU:/$ mono --version
Mono JIT compiler version 2.6.7 (Debian 2.6.7-5ubuntu3)
Copyright (C) 2002-2010 Novell, Inc and Contributors. www.mono-project.com
TLS: __thread
On 12.10.2011 21:39, Chris Derrick wrote:
By harden I mean provide some protection against disassemblers, debuggers,
cracking, and reverse engineering. The purpose is to protect the
intellectual property.
As you can imagine, in the open source scene such protections are
pretty pointless.
You
On 08.10.2011 14:03, Paul F. Johnson wrote:
If I click the NumericUpDown, the code inserts new boxes and also
reduces it as expected. However, if I click once to create 3 boxes and
then go back down to 2, half of the third row still remains and I have
no idea why!
Your code does not seem to
On 03.10.2011 16:32, Nicholas Frechette wrote:
Application A uses the Process:Exited event to monitor application B
and that seems to work properly when the monitored process is launched
from the monitoring process.
It works properly because it's implemented. The other way around
(waiting for
On 01.10.2011 20:17, Yves Goergen wrote:
Hi,
I am debugging a problem with my .NET application calling a UNIX
programme with arguments. The bash command line looks like this:
/usr/bin/smem -P '/usr/sbin/exim4(\s|$)'
My C# code to do exactly that is the following:
string
On 27.09.2011 15:28, DJL wrote:
Hi everyone, first post on here.
I'm getting a bizzarre behaviour and I'm hoping you guys can help.
Sorry if this is the wrong place to post this.
Short version:
Calling Socket.Accept() is causing my application to freeze. A commandline
fg resumes it.
It's
On 21.09.2011 20:30, Joe Dluzen wrote:
Whoops, forgot to edit subject. This one should make the above email
more apparent.
On Wed, Sep 21, 2011 at 2:13 PM, Joe Dluzenjdlu...@gmail.com wrote:
Thanks Robert, I expected something like that.
Is there an easy way to determine if the runtime has
On 17.09.2011 14:20, Ciunkos wrote:
Hello, I'm wondering if it is possible to register overloaded function calls
using mono_add_internal_call. I want to use it so user can call different
constructors and overloaded methods.
This code:
mono_add_internal_call(Namescpace.Vector2::.ctor,
On 12.09.2011 22:23, Joe Dluzen wrote:
Hi all,
let's say I have a C# app A which PInvokes to a native SO/DLL B, which
embeds Mono for basically 100% of its logic. Do bad things happen on
Linux vs Windows?
Yes. Under Linux, libmono is statically linked by default.
If you p/invoke a library
On 09.09.2011 13:06, Doug Blank wrote:
On Fri, Sep 9, 2011 at 3:34 AM, Elmar Hanekeel...@haneke.de wrote:
Am 08.09.2011 20:06, schrieb Doug Blank:
Wow... nothing. No activity in the bug tracker. No response here.
Maybe someone can make some guesses about the issue, or why I can't
get any
On 03.09.2011 13:10, quandary wrote:
You could, but this is not how security evolves ;)
xD I know. But for now, a quick and dirty hack is better than half a
year of work.
Looking at:
mono/metadata/loader.c:mono_lookup_pinvoke_call
I just wanted to say, that looking at the source file,
On 03.09.2011 16:16, quandary wrote:
I disagree on the small size.
My model names weren't that much larger, even though they had a path.
Even on a small name like kernel32.dll it will compare 4 letters 8
times before finding a match.
Well, no. Strstr() doesn't take O(n) x O(m), where n, m are
On 02.09.2011 15:42, Quandary wrote:
Is it possible to run a mono server (xsp4/mono-fastcgi-server4)
as medium/low trust ?
e.g. to disallow pinvoke
(I want to create a mono web-hosting-service )
?
No. Mono's CAS support is incomplete.
If not, are there any workarounds to achive
On 02.09.2011 17:29, quandary82 wrote:
Couldn't I hack together my own custom mono-runtime version, to block
DllImport for all dll's that are not in an allowed-dlls list and
System.Diagnostics.Process.Start as well ?
You could, but this is not how security evolves ;)
System.Diagnosts.Process
Hi Jonathan,
How about relying on System.Threading.SynchronizationContext.Current?
This could work w/out exposing any internal calls/env vars.
This way we offload the burden of implementing a suitable
SynchronizationContext on the COM consumer. Done ;)
The necessary runtime changes are as
On 02.09.2011 19:59, Alan wrote:
The System.Windows.Forms sync context runs stuff on the winforms main loop,
so wouldn't it be prone to exactly the message pumping related deadlocks
that were already described?
Well, not more deadlock prone than providing a callback and
hoping that the
201 - 300 of 2140 matches
Mail list logo