Questions tagged [lpcwstr]

LPCWSTR - Pointer to const wchar_t string

62 questions
-2
votes
1 answer

Struggling with conversion of an LPBYTE to char* or anything alike in C (Chinese output?)

I've got a C project that I'm working on and I'm having a problem. The program reads a string that is echoed by a .php page. It uses this code to read the data and appoint it to a variable, which get sent to the Commands() function: LPSTR…
Tsukirid
  • 33
  • 5
-3
votes
1 answer

argument of type "char *" is incompatible with parameter of type "LPCWSTR"

I get this error: argument of type "char *" is incompatible with parameter of type "LPCWSTR" Here's a part of my code void score(void) { char s[128]; sprintf_s(s, "Thread War! Hits:%d Misses:%d", hit, miss); SetConsoleTitle(s); …
music_junkie
  • 189
  • 2
  • 16
1 2 3 4
5