#error memory.c++

31 messages · Page 1 of 1 (latest)

hardy dagger
fresh garnetBOT
#

When your question is answered use !solved to mark the question as resolved.

Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question use !howto ask.

#

@hardy dagger

Screenshots!

Your message appears to contain screenshots but no code. Please send code and error messages in text instead of screenshots if applicable!

lament ibex
#

what's the error?

#

and what's your question

hardy dagger
lament ibex
#

what does it say

steep stag
#

would you mind pasting the error in here rather than a screenshot?

lament ibex
#

^

hardy dagger
#

Gravità Codice Descrizione Progetto File Riga Stato eliminazione Dettagli
Errore C2664 'int _wcsicmp(const wchar_t *,const wchar_t *)': impossibile convertire l'argomento 1 da 'char [256]' a 'const wchar_t *' C:\Users\crist\OneDrive\Desktop\tmain\dupa\memory\memory.cpp 59

lament ibex
#

so it can't convert char[256] to const wchar_t*, do you know what this means?

steep stag
#

mixing char and wcout

lament ibex
#

wchar or wcout? thinkingdragon

steep stag
#

wcout with char

lament ibex
#

gotcha, never used wcout

hardy dagger
#

what a line guys

steep stag
#

?

lament ibex
#

59, apparently

#

enable the messages

hardy dagger
#

what should I change

hardy dagger
lament ibex
#

shouldn't give a char* to wcout shruggie

steep stag
#

that's one of the issues

#

let me check the other issue

lament ibex
#

it's the same, no?

#

enable the messages, so you can see where in your code that error happens

steep stag
#

Yeah, it's still an issue where wchar* and char* are being mixed and matched

#

ent.szModule is a char array

#

but you're trying to use it with a wchar* as the other parameter

#

wcsicmp expects two wchar* parameters