Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Jun 12th, 2012  |  syntax: None  |  size: 0.62 KB  |  hits: 15  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Api in c# similar to R? [closed]
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6.  
  7. //COM references
  8. using STATCONNECTORCLNTLib;
  9. using StatConnectorCommonLib;
  10. using STATCONNECTORSRVLib;
  11.  
  12. namespace R_TESTING
  13. {
  14.     class Program
  15.     {
  16.         static void Main(string[] args)
  17.         {
  18.             StatConnector sc1 = new STATCONNECTORSRVLib.StatConnectorClass();        
  19.             sc1.Init("R");
  20.         }
  21.     }
  22. }
  23.        
  24. Unhandled Exception: System.Runtime.InteropServices.COMException: Exception from HRESULT: 0x80040013
  25.    at STATCONNECTORSRVLib.StatConnectorClass.Init(String bstrConnectorName)