NO

Author Topic: Windows Programming  (Read 14278 times)

neha kapila

  • Guest
Re: Windows Programming
« Reply #15 on: February 03, 2015, 08:12:55 AM »
hi czerny,
i am thankful that you are helping me out. Actully this is not my domain and i have to do it coz my boss hav assigned some task.

i made the program in win32 exe. and now i am getting the three errors

warning #2018: Undeclared function 'InitInstance'; assuming 'extern' returning 'int'.
warning #2018: Undeclared function 'rectangle'; assuming 'extern' returning 'int'.
warning #2018: Undeclared function 'EndPAint'; assuming 'extern' returning 'int'.
Building shapes.exe.
POLINK: error: Unresolved external symbol '_InitInstance'.
POLINK: error: Unresolved external symbol '_rectangle'.
POLINK: error: Unresolved external symbol '_EndPAint'.
POLINK: fatal error: 3 unresolved external(s).

 

czerny

  • Guest
Re: Windows Programming
« Reply #16 on: February 03, 2015, 10:06:56 AM »
Check the spelling of these 3 words. C is a case sensitive language.
If you can not fix your errors this way, zip your project end post it as attachment.

neha kapila

  • Guest
Re: Windows Programming
« Reply #17 on: February 03, 2015, 12:52:39 PM »
now only one error is present in the attached zip file.
i marked that line containing error as a comment and then executed. the program executed with no error but was not able to run.
if you can try to run the same in your pc/laptop whether its working or not that would be very helpful.

also helper.h is also showing error so i just marked it as a comment. plz tell me about how to resolve that also.

czerny

  • Guest
Re: Windows Programming
« Reply #18 on: February 03, 2015, 02:23:39 PM »
You have only send the project file (*.prj) not the whole project, Select (Project --> ZIP files) in the ide and post the zip file.

neha kapila

  • Guest
Re: Windows Programming
« Reply #19 on: February 05, 2015, 08:45:11 AM »
oh i am sorry.
here is the zip file

czerny

  • Guest
Re: Windows Programming
« Reply #20 on: February 05, 2015, 09:37:09 AM »
Ok, you should still check your spelling!

And you have called a function 'Initinstance' which you have never defind. Write it!