Like many of us, your application probably started out small. you had severalsubroutines you used daily, and over time, other people started using them as well. the more peopleused your subroutines, however, the more ...
详细信息
Like many of us, your application probably started out small. you had severalsubroutines you used daily, and over time, other people started using them as well. the more peopleused your subroutines, however, the more changes and additions became inevitable. To satisfy allthe demands, you decide that adding scripting capability to your application was the answer, butwhat's the best approach? I picked COM (the Component Object Modelto implement scriptingcapability in Shvib for Windows. Shvib is a shock and vibration analysis program based on TomDerby's Fortran subroutines that I have been developing at Barry Controls. Freely and commerciallyavailable scripting languages abound out there, but after investigating some of them, I decided touse Python as a scripting language for Shvib. Shvib has a Visual Basi6 GUI and several Fortransubroutines compiled as Windows DLLs to perform computations. Because Shvib is a Windowsapplication, COM was the natural choice to glue the Visual BasiGUI, the Fortran DLLs, and Pythonscripting together.
暂无评论