⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 queryras.cpp

📁 Query Ras Connection
💻 CPP
字号:
// QueryRas.cpp : Defines the entry point for the console application.
//

#include "stdafx.h"
#include "QueryRas.h"
#include "AT_QueryRas.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#endif


// The one and only application object

CWinApp theApp;

using namespace std;

int _tmain(int argc, TCHAR* argv[], TCHAR* envp[])
{
	int nRetCode = 0;
    AT_QueryRas qr;

	// initialize MFC and print and error on failure
	if (!AfxWinInit(::GetModuleHandle(NULL), NULL, ::GetCommandLine(), 0))
	{
		nRetCode = 1;
	}
	else
	{
        if( argc == 2 )
        {
            cout << qr.Init(CString(argv[1])) << endl;
        }
        else
        {
            cout << "Syntax: QueryRas(String Flags)" << "\n";
            cout << "Flags: ABXS? " << endl;
			cout << "A = AUTO-Ax, B = AUTO-Bx, X = Neither AUTO-Ax nor AUTO-Bx" << endl;
			cout << "S = Return comma-delimited Server list" << endl;
			cout << "? = Whether or not a entry of specified type(s) is connected, TRUE or FALSE" << endl;
            
        }
	}

	return nRetCode;
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -