WCHAR

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'v got, lets say:
char test[] = "1.jpg";
The image function wants a const wchar*...
Image* image = new Image(????);

i know that i can do like this
Image* image = new Image(L"1.jpg");

but i want to use an already defined string.

Thnak you for your help!!
//Samuel
 
Samuel said:
I'v got, lets say:
char test[] = "1.jpg";
The image function wants a const wchar*...
Image* image = new Image(????);

i know that i can do like this
Image* image = new Image(L"1.jpg");

but i want to use an already defined string.

Note that this is a VB.NET group... You'll more likely get an answer in a
C++ group.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top