[Mono-dev] string marshalling conversion 34 not implemented

Josh TwoOneSix at thatclothingco.com
Fri Apr 4 19:53:21 EDT 2008


Mono is throwing me the error "string marshalling conversion 34 not
implemented" when I'm attempting to call a function to libvlc.dll from my
code. The other calls to the DLL work fine, but the AddTarget Function
causes the error. I'm getting the same results on both Windows and Linux
versions.

[AddTarget Function]
===============================
public Err AddTarget(string Target)
{
    if ((m_iVlcHandle == -1)) {
        m_strLastErr = "LibVlc is not initialzed";
        return Err.NoInit;
    }
    Err enmErr = Err.Success;
    try {
        enmErr = VLC_AddTarget(m_iVlcHandle, Target, null, 0,
(int)Mode.Append, (int)Pos.Close);
    }
    catch (Exception ex) {
        m_strLastErr = ex.Message;
        return Err.Execption;
    }
    if (((int)enmErr < 0)) {
        m_strLastErr = VLC_Err((int)enmErr);
        return enmErr;
    }
    // OK
    return Err.Success;
}
===============================

[Mono Details - Windows]
===============================
Mono JIT compiler version 1.9 (tarball)
Copyright (C) 2002-2007 Novell, Inc and Contributors. www.mono-project.com
        TLS:           normal
        GC:            Included Boehm (with typed GC)
        SIGSEGV:       normal
        Notification:  Thread + polling
        Architecture:  x86
        Disabled:      none
===============================

[Mono Details - Linux]
===============================
Mono JIT compiler version 1.9 (tarball)
Copyright (C) 2002-2007 Novell, Inc and Contributors. www.mono-project.com
        TLS:           __thread
        GC:            Included Boehm (with typed GC)
        SIGSEGV:       normal
        Notifications: epoll
        Architecture:  x86
        Disabled:      none
===============================

Any ideas? Might this be fixed in HEAD? I'm also up to using a different
media player that is "known to work" in mono.

Josh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20080404/b84d765e/attachment.html 


More information about the Mono-devel-list mailing list