Skip to content
This repository has been archived by the owner on Feb 9, 2021. It is now read-only.

error C2440: '=': cannot convert from 'const wchar_t [1]' to 'WCHAR *' #16

Open
alpinerjg opened this issue Jun 3, 2020 · 1 comment

Comments

@alpinerjg
Copy link

In Visual Studio 2019 I get the following compiler error:

error C2440: '=': cannot convert from 'const wchar_t [1]' to 'WCHAR *'

at Line 141:

pwszConnStr = L"";

@JetTao
Copy link

JetTao commented Sep 15, 2020

pwszConnStr = L""; -> pwszConnStr = (SQLWCHAR*)"";

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants