Intermediate Lesson 1 Error [ SOLVED]

The Partridge Family were neither partridges nor a family. Discuss.
Post Reply
DcoltGaming
Posts: 14
Joined: April 12th, 2015, 1:14 pm

Intermediate Lesson 1 Error [ SOLVED]

Post by DcoltGaming » April 27th, 2015, 12:23 am

Hi guys,

I have once again run into some more errors, this time with windows.h. I can't seem to work out what is causing the issues to load. I have checked all the lines that were changed when the class was added, but I can't seem to fix it.

Anyone have any ideas?

Thanks.
Attachments
Lesson 1 intermediate help.rar
(149.86 KiB) Downloaded 153 times
Last edited by DcoltGaming on April 27th, 2015, 1:07 pm, edited 1 time in total.

Chexxor
Posts: 62
Joined: March 12th, 2015, 7:24 pm

Re: Intermediate Lesson 1 Error

Post by Chexxor » April 27th, 2015, 1:12 am

DcoltGaming wrote:Anyone have any ideas?
Try removing the long-char prefix from the strings in windows.cpp, that means taking away the "L" from L"Chili Direc..." at the two places intellisense puts a red line under them

BTW, are you using VS2013 by any chance? I get some errors from the Timer constructor that may be caused by a VS bug

cameron
Posts: 794
Joined: June 26th, 2012, 5:38 pm
Location: USA

Re: Intermediate Lesson 1 Error

Post by cameron » April 27th, 2015, 1:49 am

Think he may be using 2014, cant even open with vs13.
Computer too slow? Consider running a VM on your toaster.

DcoltGaming
Posts: 14
Joined: April 12th, 2015, 1:14 pm

Re: Intermediate Lesson 1 Error

Post by DcoltGaming » April 27th, 2015, 11:51 am

Hi Cameron, No I am using 2015 :)

DcoltGaming
Posts: 14
Joined: April 12th, 2015, 1:14 pm

Re: Intermediate Lesson 1 Error

Post by DcoltGaming » April 27th, 2015, 1:07 pm

Thanks Chexxor, that fixed it

Chexxor
Posts: 62
Joined: March 12th, 2015, 7:24 pm

Re: Intermediate Lesson 1 Error

Post by Chexxor » April 27th, 2015, 1:42 pm

DcoltGaming wrote:Thanks Chexxor, that fixed it
Awesome! I didn't have too much faith in my own solution tbh... :P

User avatar
chili
Site Admin
Posts: 3948
Joined: December 31st, 2011, 4:53 pm
Location: Japan
Contact:

Re: Intermediate Lesson 1 Error [ SOLVED]

Post by chili » April 27th, 2015, 3:00 pm

Hmmm, why did you think to remove the long-char prefix from the strings in windows.cpp Chexxor?
Chili

Chexxor
Posts: 62
Joined: March 12th, 2015, 7:24 pm

Re: Intermediate Lesson 1 Error [ SOLVED]

Post by Chexxor » April 27th, 2015, 7:43 pm

chili wrote:Hmmm, why did you think to remove the long-char prefix from the strings in windows.cpp Chexxor?
I think it was partly due to intellisense, but I also made a google search for the error I got and it seemed like the right thing to do at the moment, I can't recall more specifics about what I was thinking other than the error being about some c-type casting.

cameron
Posts: 794
Joined: June 26th, 2012, 5:38 pm
Location: USA

Re: Intermediate Lesson 1 Error [ SOLVED]

Post by cameron » April 27th, 2015, 8:19 pm

Proj properties probably were changed from unicode to multibyte. And ah 2015, any new features from 13?
Computer too slow? Consider running a VM on your toaster.

Post Reply