Esempio n. 1
0
        public vcProject(string directory, string projectName)
        {
            m_directory = directory;
            m_name      = projectName;

            Initialize();
            CreateStdAfx();
            m_idl = new IDL(m_directory, m_name);
            AddISoapProxyBaseImpl();
            AddTemplateClass("consts");
        }
Esempio n. 2
0
        public ComplexTypeWriter(vcProject project, string xmlName, string cppName)
        {
            m_itf = new Interface("I" + cppName, "IDispatch");
            ProjectClass cls = project.AddClass(cppName, m_itf);

            m_cppName        = cppName;
            m_impl           = cls.impl.Create();
            m_hdr            = cls.header.Create();
            m_vars           = new StringCollection();
            m_finalconstruct = new StringCollection();
            m_idl            = project.IdlFile;
            InitFiles(xmlName);
        }