IRiS nX
114 ARTICLES / 235 REPLIES [1:2]
=ADMIN=


#126. ±×³×°íÄ¡±â
Ŭ·¡½ºÀÇ ¸Þ¼Òµå¸¦ µ¿Àû DLL·Î È£ÃâÇÒ ¼ö´Â ¾øÀ»±î¿ä? 2005/08/03 (Wed)

~ ³Ê¹« ´ëÃæ Áú¹®ÇÏ¿© ¼Û±¸ÇÕ´Ï´Ù! ~

¾î¶² Ŭ·¡½º°¡ ÀÖ½À´Ï´Ù. ´ë°­ A¶ó°í ÇÏ°Ú½À´Ï´Ù.
À̳༮ÀÇ ¼±¾ðÀÌ...

ManType=class
public
X, Y :Smallint;
K, B :Smallint;
myIndex :Smallint;

procedure NaturalVelocity(myLR:integer);
constructor Create(Index2:integer);
procedure Init(Fields:FieldType; TimeUS:Smallint);

function MoveManGutly:boolean;
end;

´ë°­ ÀÌ·¸°Ô µÇ¾î ÀÖ½À´Ï´Ù.



¿©±â¼­, Àú´Â MoveManGutly¶ó´Â Àú ¸Þ¼Òµå¸¦, ½ÇÇà ½Ã°£¿¡ µ¿ÀûÀ¸·Î ¿ÜºÎ DLL ÆÄÀÏ¿¡¼­ °¡Á®¿À°Ô ÇÏ°í ½Í½À´Ï´Ù. ¹æ¹ýÀÌ ¾øÀ»±î¿ä?

#126-1. ¾È¿µ±â 2005/08/03 (Wed)
COMÀ» »ç¿ëÇϼ¼¿ä.
´ëÇ¥ÀûÀ¸·Î DirectX°¡ class(½ÇÁ¦·Î´Â interface)·Î µÇ¾îÀÖÁö¸¸ ƯÁ¤ÇÑ ¾ð¾î¿Í °ü·Ã¾øÀÌ export °¡´ÉÇÕ´Ï´Ù. ±× ÀÌÀ¯´Â, ±×°ÍÀÌ COMÀ¸·Î ¸¸µé¾îÁ® Àֱ⠶§¹®ÀÔ´Ï´Ù. LinuxÀÇ shared objectÀÇ °æ¿ì¿¡´Â class¿¡ ´ëÇÑ export¸¦ Áö¿øÇÏÁö¸¸ Windows¿¡¼­´Â COMÀÌ¿Ü¿¡´Â º°´Ù¸¥ ´ë¾ÈÀÌ ¾ø´Â °Í °°½À´Ï´Ù.

±×¸®°í COMÀ» »ç¿ëÇÏÁö ¾Ê´Â´Ù¸é wrapper class¸¦ ¸¸µé¾î ÁÖ´Â ¹æ¹ý°ú GetInstance() ÇÔ¼ö¸¦ DLL ÂÊ¿¡ ¸¸µé¾î ÁÖ´Â ¹æ¹ýÀÌ ÀÖ½À´Ï´Ù. ´Ü, class »ý¼º¿ë ÇÔ¼ö¸¦ DLL ÂÊ¿¡ ¸¸µé¾îÁÖ´Â ¹æ½ÄÀº °°Àº ¾ð¾î¿¡¼­¸¸ °¡´ÉÇÕ´Ï´Ù.


NAME / EMAIL
URL
SUBJECT
MESSAGE
ATTACH
ATTACH STYLE COOKIE  
[PREV] [NEXT] return


IRiS nX by NvyU =starry scape=