1. À©µµ95¿¡¼ coran.exe, index.exe µî ½ÇÇàÆÄÀÏÀ» ½ÇÇàÇÏ´Â ¹æ¹ý
À©µµ95¿¡¼ HAM ½ÇÇàÆÄÀÏÀº DOSâ¿¡¼ ½ÇÇàµÇ´Â console applicationÀ¸·Î
µÇ¾î ÀÖ½À´Ï´Ù(src/coran.c, src/index.c µî ÂüÁ¶).
¶ÇÇÑ, HAMÀÌ ½ÇÇàµÉ ¶§´Â optionÀ̳ª ÀÔÃâ·Â ÆÄÀÏ µîÀÌ ÁÖ¾îÁöÁö
¾ÊÀ¸¸é »ç¿ë¹ý¸¸ Ãâ·ÂÇÏ°í ¾Æ¹« Àϵµ ¾ÈÇÕ´Ï´Ù.
Áï, À©µµÅ½»ö±â¿¡¼ ½ÇÇàÇÒ ¶§´Â »ç¿ë¹ý¸¸ Ãâ·ÂÇÏ°í ³¡³³´Ï´Ù.
µû¶ó¼ ¹Ýµå½Ã DOSâÀ¸·Î ³ª°¡¼ ½ÇÇàÇØ¾ß ÇÕ´Ï´Ù.
´ëÈ½Ä ¸ðµå·Î ½ÇÇàÇÒ ¶§
C:\ham\> coran -
ÀÔ·ÂÆÄÀÏ(¿Ï¼ºÇü ÇÑ±Û text)¿¡ ´ëÇØ ½ÇÇàÇÒ ¶§
C:\ham\> coran
ºÐ¼®°á°ú¸¦ ÆÄÀÏ·Î ¹Þ°í ½ÍÀ» ¶§
C:\ham\> coran
2. À©µµ95¿¡¼ MFC ÇÁ·Î±×·¥°ú ÅëÇÕÇÒ ¶§ ÁÖÀÇ »çÇ×
Visual C++ compiler¸¦ »ç¿ëÇÒ ¶§ compilerÀÇ optionÀÌ ´Ù¸£¸é
ÇüÅÂ¼Ò ºÐ¼®°á°ú°¡ Á¦´ë·Î Àü´ÞµÇÁö ¾ÊÀ» ¼ö ÀÖ½À´Ï´Ù.
ÀÌ ¶§´Â compiler option¿¡¼ ¸Þ´ºÀÇ
[Project]-[Settings...]
¿¡¼ [C/C++]-[Code Generation]-[Struct member alignment]ÀÇ
°ªÀÌ '8 bytes'·Î µÇ¾î ÀÖ´ÂÁö È®ÀÎÇϽñ⠹ٶø´Ï´Ù.
3. HAM2000.DLLÀº C¾ð¾î·Î ÀÛ¼ºµÇ¾úÀ¸¹Ç·Î MFC ÇÁ·Î±×·¥ µî C++ ÇÁ·Î±×·¥°ú
ÇÔ²² »ç¿ëÇÒ ¶§´Â driver routine¿¡¼ extern ¼±¾ð¿¡¼ "C"¸¦ Ãß°¡ÇÏ¿©
¾Æ·¡¿Í °°ÀÌ ¼öÁ¤ÇØ ÁÖ¾î¾ß ÇÕ´Ï´Ù.
extern "C" _declspec(dllimport) HAM_SHORT init_ham_index();
extern "C" _declspec(dllimport) HAM_SHORT get_keyword_1();
extern "C" _declspec(dllimport) HAM_SHORT get_keyword_2();
extern "C" _declspec(dllimport) void end_ham();