#include "pch.h" int wmain(int argc, wchar_t* argv[]) { // ServerAddress, ServerPort const wchar_t* strServerAddress = argv[1]; UINT16 usServerPort = (UINT16)_wtoi(argv[2]); // Domain-GUID GUID guidDomainId; ::CLSIDFromString(argv[3], &guidDomainId); // Storage-ID (we are using the default 0 here) UINT32 ulStorageId = 0; }
#include
"pch.h"
int
wchar_t
// ServerAddress, ServerPort
const
UINT16
// Domain-GUID
GUID
// Storage-ID (we are using the default 0 here)
UINT32
using System; class Tutorial { static void Main(string[] args) { // ServerAddress, ServerPort String strServerAddress = args[0]; UInt16 usServerPort = UInt16.Parse(args[1]); // Domain-Guid Guid guidDomainId = Guid.Parse(args[2]); // Storage-ID (we are using the default 0 here) UInt32 ulStorageId = 0; } }
using
class
Tutorial
static
void
string
String
UInt16
// Domain-Guid
Guid
UInt32
init / uninit writeAttributes / readAttributes writeList / readList writeObject / readObject writeObjectList / readObjectList modifyObjectInList
#pragma once #include <Windows.h> #include <locale> #include <iostream> #include <string> #include <conio.h> #include "DADL.h" using namespace DataFoundationAccess;
#pragma
<Windows.h>
<locale>
<iostream>
<string>
<conio.h>
"DADL.h"
namespace
127.0.0.1 9018 "{E9F56A1D-4FD9-483E-A4FE-7522666AB7C6}"