locked
Writing a DLL RRS feed

  • 問題

  • I have a class CMyClass derived from CDialog. It also calls my COM port class CComPort.

    I would like to write a DLL including CMyClass and CComPort.  Will Regular DLL or extension DLL is a good choice ?


    2010年3月15日 上午 08:26

解答

  • Hi,

    Generally speaking, if you want to reuse the application, you can encapsulate it into a dll.
    So you can create a library project and build it.

    Then next time you could add the dll as reference to your project and call the function you want.

     
    Microsoft Online Community Support
    • 已標示為解答 KeFang Chen 2010年3月19日 上午 05:55
    2010年3月16日 上午 02:46