ã¨ããã½ããã®ãã©ã°ã¤ã³ãä½ãäºã«ãã¾ããã ãã®ãã©ã°ã¤ã³ã¯æ®éã®DLLã®æ¡å¼µåãå¤æ´ãããã®ãªã®ã§ãæ®éã«DLLãä½ãã¾ãã DLLãä½ãã«ã¯ãVisual C++ãªãããã¸ã§ã¯ãä½ææã«DLLãä½ãæå®ãããã ããªã®ã§ãä½ãåé¡ããã¾ããã å¾ã¯ãæ®éã«ããã°ã©ã ãæ¸ãã¦ãå¤é¨ã«å ¬éããé¢æ°ã«ã_declspec(dllexport)ãã¨ä»ããã ãã§ãã _declspec(dllexport) void func() { .... } ããã§ãå¤é¨ããDLLå ã®funcé¢æ°ãå¼ã³åºããããã«ãªãã¾ãã ã¨ããããC++ã®å ´åã¯é¢æ°ã®ãªã¼ãã¼ãã¼ãï¼å¼æ°ãéãã°åãååã®é¢æ°ãå®ç¾©ã§ããæ©è½ï¼ãããæçºã§ãå é¨ã§ã¯é¢æ°åãéãååã«ç½®ãæãããã¦ãã¾ãã ã½ã¼ã¹ãã¡ã¤ã«ã«ã¯funcã¨æ¸ãã¦ããã®ã«ãå®ã¯funcã§ã¯ãªãã¨ããäºæ ã«ãªãã®ã§ãã DLLã®å ´åãé¢æ°åãé ¼ãã«ã¢ã¯ã»ã¹ãã
{{#tags}}- {{label}}
{{/tags}}