Hands-On-Network-Programming-with-C icon indicating copy to clipboard operation
Hands-On-Network-Programming-with-C copied to clipboard

chapter1: win_list.c

Open ascendho opened this issue 1 year ago • 5 comments

Error message: 'ERROR_BUFFER_OVERFLOW' undeclared (first use in this function) 'ERROR_SUCCESS' undeclared (first use in this function)

How to fix it?

ascendho avatar Nov 23 '24 08:11 ascendho

Just declare it.

сб, 23 нояб. 2024 г., 11:41 Ascend Ho @.***>:

Error message: 'ERROR_BUFFER_OVERFLOW' undeclared (first use in this function) 'ERROR_SUCCESS' undeclared (first use in this function)

How to fix it?

— Reply to this email directly, view it on GitHub https://github.com/codeplea/Hands-On-Network-Programming-with-C/issues/25, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANPOWLPBBPH5QDYJLKWWHBT2CA5UFAVCNFSM6AAAAABSK3F2TGVHI2DSMVQWIX3LMV43ASLTON2WKOZSGY4DKNRXGQZTGMQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

sulqadari avatar Nov 23 '24 08:11 sulqadari

Like this? #define ERROR_BUFFER_OVERFLOW -1 #define ERROR_SUCCESS 0

ascendho avatar Nov 23 '24 09:11 ascendho

Yep

сб, 23 нояб. 2024 г., 12:12 Ascend Ho @.***>:

Like this? #define ERROR_BUFFER_OVERFLOW -1 #define ERROR_SUCCESS 0

— Reply to this email directly, view it on GitHub https://github.com/codeplea/Hands-On-Network-Programming-with-C/issues/25#issuecomment-2495410880, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANPOWLOPPKVKCOWA3JZAWR32CBBGDAVCNFSM6AAAAABSK3F2TGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOJVGQYTAOBYGA . You are receiving this because you commented.Message ID: @.*** com>

sulqadari avatar Nov 23 '24 09:11 sulqadari

Thank you, it successfully solved the error.

ascendho avatar Nov 23 '24 10:11 ascendho

Пожалуйста

сб, 23 нояб. 2024 г., 13:56 Ascend Ho @.***>:

Thank you, it successfully solved the error.

— Reply to this email directly, view it on GitHub https://github.com/codeplea/Hands-On-Network-Programming-with-C/issues/25#issuecomment-2495438780, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANPOWLJUK2NN5SFIM67PRJ32CBNNJAVCNFSM6AAAAABSK3F2TGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOJVGQZTQNZYGA . You are receiving this because you commented.Message ID: @.*** com>

sulqadari avatar Nov 23 '24 10:11 sulqadari