Hi there,
i writing this progam for my parallel port hardware but i could not solve my error.Plz help me......

fatal error C1057: unexpected end of file in macro expansion
Error executing cl.exe.

Recommended Answers

All 2 Replies

Post code -- I can't see your monitor because my eyes are not that good. ;)

Check all your macros (the #defines, and where they are used) for any mis-match of ( ) { } " " or anything else which needs to be balanced.

Seems like another lesson in "compile often" to spot problems early, rather than "compile at end and panic post on a message board".

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.