Пример #1
0
        /// <summary>
        /// Create and initialize the XAmple wrapper, which also loads the XAmple DLL.
        /// DON'T CALL THIS UNTIL WE'RE RUNNING ON THE PROPER THREAD!  (See LT-3546 for
        /// what happens if you don't wait.)  The XAmple code will run on the thread
        /// from which this is called.
        /// </summary>
        internal override void InitParser()
        {
            CheckDisposed();

            m_xample = new CXAmpleWrapperClass();
            m_xample.Init(PathToXAmple());
        }
Пример #2
0
		/// <summary>
		/// Create and initialize the XAmple wrapper, which also loads the XAmple DLL.
		/// DON'T CALL THIS UNTIL WE'RE RUNNING ON THE PROPER THREAD!  (See LT-3546 for
		/// what happens if you don't wait.)  The XAmple code will run on the thread
		/// from which this is called.
		/// </summary>
		internal override void InitParser()
		{
			CheckDisposed();

			m_xample = new CXAmpleWrapperClass();
			m_xample.Init(PathToXAmple());
		}
Пример #3
0
 protected override void CleanupParser()
 {
     if (m_xample != null)
     {
         System.Runtime.InteropServices.Marshal.ReleaseComObject(m_xample);
         m_xample = null;
         m_XAmpleHasBeenLoaded = false;
     }
 }
Пример #4
0
		protected override void CleanupParser()
		{
			if (m_xample != null)
			{
				System.Runtime.InteropServices.Marshal.ReleaseComObject(m_xample);
				m_xample = null;
				m_XAmpleHasBeenLoaded = false;
			}
		}