I want to C header file into Win32 assembly of header files, the role of the C header file is a static link library operation. But I don't know how to use an enumeration type assembly, and C language unique to the namespace.
Such as the:
enum message_event {
MSG_EVENT_UP = 0x00,
MSG_EVENT_DOWN = 0x01,
MSG_EVENT_CLICK = 0x01,
MSG_EVENT_DBCLICK = 0x02,
MSG_EVENT_MOVE = 0x04,
MSG_EVENT_WHEEL = 0x10,
};
or
namespace ege {
const double PI = 3.1415926535897932384626;
And these, how to convert?
#ifndef _GRAPHICS_H_
#define _GRAPHICS_H_
#ifndef __cplusplus
#error You must use C++ compiler, or you need filename with '.cpp' suffix
#endif
#include "ege.h"
using namespace ege;
#endif
The program download address here, I just want to use this graphic library in assembly.http://misakamm.github.com/xege/
Thank you very much!
and this is to convert header files.
http://masm32.com/board/index.php?topic=576.msg4665#msg4665 (http://masm32.com/board/index.php?topic=576.msg4665#msg4665)
and this is to have the full support of windows sdk
http://masm32.com/board/index.php?topic=563.msg4563#msg4563 (http://masm32.com/board/index.php?topic=563.msg4563#msg4563)
and this ... made a search by yourself.
Hi CRoot,
Japheth's h2incx tool :
http://japheth.de/h2incX.html
Quote from: Vortex on June 07, 2013, 03:21:02 AM
Hi CRoot,
Japheth's h2incx tool :
http://japheth.de/h2incX.html
Thanks for your tools!
Quote from: ToutEnMasm on June 06, 2013, 11:02:40 PM
and this is to convert header files.
http://masm32.com/board/index.php?topic=576.msg4665#msg4665 (http://masm32.com/board/index.php?topic=576.msg4665#msg4665)
and this is to have the full support of windows sdk
http://masm32.com/board/index.php?topic=563.msg4563#msg4563 (http://masm32.com/board/index.php?topic=563.msg4563#msg4563)
and this ... made a search by yourself.
Thanks! I think it can help me.