[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 714
  • Last Modified:

unresolved external symbol SHFullScreen

I am using SHFullScreen in my Windows Mobile app which I am trying to convert from eVC++4.0 to VS2005.

I get the following error when I build:
error LNK2001: unresolved external symbol SHFullScreen      

I have tried including aygshell.lib in Project-->Properties-->Linker-->Input->Additional Dependencies but then I get the following error:

error LNK2019: unresolved external symbol wWinMain referenced in function wWinMainCRTStartup      corelibc.lib      
fatal error LNK1120: 1 unresolved externals      Pocket PC 2003      


How can I solve this??
0
Wanting2LearnMan
Asked:
Wanting2LearnMan
  • 2
  • 2
1 Solution
 
alexey_gusevCommented:
try WinMainCRTStartup in Linker->Advanced->Entry Point
0
 
Wanting2LearnManAuthor Commented:
I think the second error above is a 'new' problem as the aygshell.lib fixed the first problem (I hope).

I then went to Properties >> Linker >> Advanced and cleared wWinMainCRTStartup
from the "Entry Point" property and it now builds fine.

Do I also have to clear the entry that is in the  "Base Address" as well?
0
 
alexey_gusevCommented:
I advise to build dummy PPC project and look at the settings

0
 
Wanting2LearnManAuthor Commented:
OK Good idea :) Thanks
0

Featured Post

[Webinar] Improve your customer journey

A positive customer journey is important in attracting and retaining business. To improve this experience, you can use Google Maps APIs to increase checkout conversions, boost user engagement, and optimize order fulfillment. Learn how in this webinar presented by Dito.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now