Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / problem compiling dll in Visual C++ 2008 Express

Author
Message
Leo Phoenix
15
Years of Service
User Offline
Joined: 24th Apr 2009
Location: South London, England
Posted: 10th Jul 2009 16:45
I have downloaded and opened http://developer.thegamecreators.com/?f=t03/index step-by-step help files, and when i compile it i get this error:

1>.\testcommands.rc(10) : fatal error RC1015: cannot open include file 'afxres.h'.

I have searched the forums and can only find this: http://forum.thegamecreators.com/?m=forum_view&t=141190&b=22 which is a similar (though not the same) problem.

it offered a solution which was to open the .rc file and replace the two occurances of afxres.h with winres.h but i get another error message:

1>.\testcommands.rc(10) : fatal error RC1015: cannot open include file 'winres.h'.

any help will be greatly appreciated!
Mireben
16
Years of Service
User Offline
Joined: 5th Aug 2008
Location:
Posted: 11th Jul 2009 22:04
Try to include "windows.h" instead. I have successfully compiled a resource.rc file with that setting.

Login to post a reply

Server time is: 2024-10-01 05:53:05
Your offset time is: 2024-10-01 05:53:05