Help fixing a couple errors

This is a module (.dll) for an old game called Diablo II. It is compiling with Visual C++ 6.0, but I get the following errors while compiling:

I was trying to type down all the errors and explain each other, but I get totally lost there, so I will just post screens ( this is from Visual C++ 6.0 )

In every screen I will mark the error and show the code that cause it above in the editor.

I don't know why the IDE says there are 10 errors. I calculated 13, but anyway half of them are duplicates (same error, different line) so I guess these will be easy to fix.

1 error:
https://i.gyazo.com/c4fb2c05bda5eea0b39531ba1813cb48.png

2 error:
https://i.gyazo.com/5e5110db4eb5168e478bf899ee599101.png

3 error (kinda same as the 1st one, totally lost there ...):
https://i.gyazo.com/e978893048a3fdfbf964afc3a89dcc65.png

4 error (kinda same as the 2nd one):
https://i.gyazo.com/311ec28be67c8fb80e1c3c8b52707a66.png

5 error:
https://i.gyazo.com/99c71996466662a50947fdcc5edcc0cf.png

6 error (same line as 5th, different error :???) :
https://i.gyazo.com/daf3a08b496d4e228b2ba33193e939b2.png

7 error:
https://i.gyazo.com/84e769bb3a875e877ae6fb268fb3bc11.png

8 error:
https://i.gyazo.com/29bd1d8c442f52e3c87453ad39550a5e.png

--- below are duplicates (same error, different line) ---

9 error:
https://i.gyazo.com/c2e8a3b0ae768c7b5e5aea39547ed2fb.png

10 error:
https://i.gyazo.com/544a802a300632e760055fd2d94a8d9d.png

11 error:
https://i.gyazo.com/427dc8e369bf43bc7e0d4f8e0309f2c1.png

12 error:
https://i.gyazo.com/459e054f8a4b5527f7e8b5265e39cd9b.png

13 error:
https://i.gyazo.com/067d223f1e8b845207fb2b24790e61a4.png

Please help me out with this one. I really need to compile this module. Thank you so much !
Thank you @Moschops. This worked fine.
Last edited on
Topic archived. No new replies allowed.