Please note, if you want to make a deal with this user, that it is blocked.
Вопрос простой, почему не работает данный код?
Ошибка: argument of type "DWORD *" is incompatible with parameter of type "DWORD"
C++:
#include "pch.h"
#include <iostream>
#include <string>
#include <urlmon.h>
#include <stdio.h>
#include <Tchar.h>
#pragma comment(lib, "urlmon.lib")
using namespace std;
int main()
{
DWORD nBufferLength[MAX_PATH];
TCHAR lpBuffer[MAX_PATH];
GetCurrentDirectory(nBufferLength, lpBuffer);
cout << "%s", &lpBuffer;
return 0;
}