search for: interopservices

Displaying 16 results from an estimated 16 matches for "interopservices".

2010 May 07
4
Use of R in C#
...erences to my code: STATCONNECTORCLNTLib; StatConnectorCommonLib; STATCONNECTORSRVLib; In my code I have: StatConnector scs = new STATCONNECTORSRVLib.StatConnectorClass(); scs.Init("R"); The init step returns the below error which seems to indicate a connection failure. System.Runtime.InteropServices.COMException was unhandled Message="Exception from HRESULT: 0x80040013" Source="Interop.STATCONNECTORSRVLib" ErrorCode=-2147221485 Any ideas? Jeff Abrams Research Engineer Auction Analytics, Microsoft [[alternative HTML version deleted]]
2010 Apr 06
1
ITheoraEncodeSettings C# interop
...etter understanding of COM than I have who can tell me where I'm going wrong with the following C# interface definition? I can set and recover a quality setting using this interface but not the isUsingQualityMode flag. Not sure why they should be different. Thanks, Andy using System.Runtime.InteropServices; [ComVisible(true), ComImport, Guid("4F063B3A-B397-4c22-AFF4-2F8DB96D292A"), InterfaceType(ComInterfaceType.InterfaceIsIUnknown)] public interface ITheoraEncodeSettings { [PreserveSig] bool canModifySettings(); [PreserveSig] ulong targetBitrate(); [PreserveSig] ulong key...
2005 Feb 02
0
How to run R-script from remote VB program
...tatConnector RLink = New StatConnector RLink.Init("R") dim str str = "source(" + """" + "c:\a.R" + """" + ")" RLink.EvaluateNoReturn(str) I got an error message : An unhandled exception of type 'System.Runtime.InteropServices.COMException' occurred in MY_VB.exe Additional information: Object is static; operation not allowed "a.R" has codes to load RODBC package and collecting and running query result to the Oracle DB. How can I run the R-code script remotely from VB program ? I appreciate your help. Re...
2005 Feb 03
0
call RODBC function from DCOM
..."----------------------------- library(RODBC); con = odbcConnect("dsn", uid = "...", pwd="s..."); tlist = sqlQuery(con, "select tname from cols"); ------------------Error message -------------------- An unhandled exception of type 'System.Runtime.InteropServices.COMException' occurred in MY_VB.exe Additional information: Object is static; operation not allowed ---------------------------------------------------- I need to do more to correctly set up DCOM server for ODBC ? Thanks and regards, Eliot.
2009 Jan 06
0
hi i have a problem with implementing R-Project in C#
Hi, This is Kiran I tried to work on r-project through C#.Net While calling the r-project I got an error that *System.Runtime.InteropServices.COMException(0x80040013):Exception from HRESULT:0x80040013 at STATCONNECTORSRVLib.StatConnectorClass.Init(String bstrConnectorName) at IAG.RD.RcomWrapper.Rcom..ctor() at demo.DemoForm.RcomExecute()* Can any one suggest how can I salve this problem Thanks & regards; Kiran. [[alternati...
2009 Mar 25
0
R Query
I am using R in C#. I installed R 2.8.1 and R-(D)Com R scilab DCOM3.0-1B5.exe. I got an error when i run the web application at the line where R is initilized as "System.Runtime.InteropServices.COMException was unhandled by user code Message="Exception from HRESULT: 0x80040013" Source="Interop.STATCONNECTORSRVLib" ErrorCode=-2147221485 StackTrace: at STATCONNECTORSRVLib.StatConnectorClass.Init(String bstrConnectorName) at _Default.Page_Load(Object...
2009 Jul 27
2
Tap'Touche 5 : keyboard issue
Hi, I'm using Kubuntu 'Jaunty' and wine-1.0.1 (.deb package provided by Kubuntu). I would like to learn how to type quickly on a keybord thanks to "Tap'Touche" (a French typewriting software) but it claims that some keys on the keybord are unavailable and so I could not do some exercices. The following lines appeared (duplicated lines removed) : Code:
2007 Feb 09
1
speex in C# please help
hello guys this is my code for the C# wrapper. ================================= using System; using System.Runtime.InteropServices; using System.IO; namespace Speex { ///<summary> ///the following class is the win32 SPEEX API that retrieve ///methods and structures from the libspeex file ///</summary> public unsafe class Speex_win32 { #region Speex Constants //global speex file that contains the api(s)...
2012 Apr 18
0
Loudlink Explorer 3.0.0
...ed CoUninitialize err:ole:CoUninitialize Mismatched CoUninitialize Unhandled Exception: System.InvalidOperationException: An error occurred creating the form. See Exception.InnerException for details. The error is: Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG) ---> System.Runtime.InteropServices.COMException (0x80040154): Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG) at System.Windows.Forms.UnsafeNativeMethods.CoCreateInstance(Guid& clsid, Object punkOuter, Int32 context, Guid& iid) at System.Windows.Forms.AxHost.CreateWithoutLicense(Guid clsid) at System.W...
2020 Oct 18
1
Lookup sid with libsmbclient (invoked from c# on mono)
...(close lsa handle), but the far the code below is working. Let me share it with you in case somebody will have the same need that me. br Vincent LE TOUX using Microsoft.Win32.SafeHandles; using System; using System.ComponentModel; using System.Diagnostics; using System.Net; using System.Runtime.InteropServices; using System.Security.Principal; namespace PingCastle.ADWS { internal class SambaSidResolver : IDisposable { const int SECURITY_MAX_SID_SIZE = 68; [DllImport("libsmbclient.so.0", CharSet = CharSet.Ansi)] static internal extern IntPtr _talloc_stackframe(s...
2010 Apr 09
1
Theora encoder directshow Filter configuration
Hi, I'am using the Xiph Theora Encoder directshow Filter in a csharp application. It works fine but I would like to modify the configuration, like the quality settings. I would like to know if there is a possibility to configure it programmatically without using the propertyPage dialog. Thanks a lot for your help Mathieu -------------- next part -------------- An HTML attachment was
2007 Feb 13
1
Re: Speex-dev Digest, Vol 33, Issue 10
...;speex-dev@xiph.org> > Message-ID: <000601c74b96$ef707250$0201a8c0@robtronix> > Content-Type: text/plain; charset="windows-1256" > > hello guys this is my code for the C# wrapper. > ================================= > using System; > > using System.Runtime.InteropServices; > > using System.IO; > > namespace Speex > > { > > ///<summary> > > ///the following class is the win32 SPEEX API that retrieve > > ///methods and structures from the libspeex file > > ///</summary> > > public unsafe class Speex_win32 &gt...
2006 Nov 27
1
R.DLL mapping by P/Invoke
...SharpR { class Program { static void Main(string[] args) { RWrapper.EvaluateNoReturn("print(\"Boom!\")"); } } } -------------- next part -------------- #define SUPERCONSOLE using System; using System.Collections; using System.Runtime.InteropServices; using System.Text; using Microsoft.Win32; namespace SharpR { /// <summary> /// Class for interp with the R.DLL. All is static as R is mono-threaded. /// </summary> class RWrapper { #region <R.DLL interop signatures> //- DLL Management/Informat...
2007 Oct 17
0
Using R.dll in .NET IPC
...f R.dll wrapper below? I don't understand much of the code. But I have the feeling that graphic output was not specified to output correctly. Any help would be really really appreciated. Thank you. - adschai #define SUPERCONSOLE using System; using System.Collections; using System.Runtime.InteropServices; using System.Text; using Microsoft.Win32; namespace SharpR { /// <summary> /// Class for interp with the R.DLL. All is static as R is mono-threaded. /// </summary> class RWrapper { #region <R.DLL interop signatures> //- DLL Management/In...
2020 Oct 12
2
Lookup sid with libsmbclient (invoked from c# on mono)
Typical example: Here is some search & export for libsmbclient: adiant at ubuntu:/usr/lib/x86_64-linux-gnu$ nm -D libsmbclient.so.0 |grep cli_rpc_pipe_open_noauth_transport <nothing> adiant at ubuntu:/usr/lib/x86_64-linux-gnu$ nm -D libsmbclient.so.0 |grep cli_rpc_pipe_open U cli_rpc_pipe_open_noauth adiant at ubuntu:/usr/lib/x86_64-linux-gnu$ nm -D libsmbclient.so.0
2020 Oct 23
0
Wine release 5.20
...ses show a definite leak in load_libwine() 49950 d3d10:reflection tests crash 49960 The Sims Complete Collection is stuck on playing intro 49966 powershell_ise.exe fails with Unhandled Exception: System.NotImplementedException: The method or operation is not implemented. at System.Runtime.InteropServices.Marshal.ThrowEx 49982 A '(call )' line does not reset %ERRORLEVEL% to 0 49997 Capella no yakusoku: Game doesn't start (black screen) 50000 Wineconsole crashes on F8 50004 Python script hangs when pipe IPC is used 50008 Metro Exodus fails to launch since commit fde5967f725...