Creating my own dll and scripting language to use with my MFC application
I am currently new to MFC in terms of creating my own dll and then create a scripting language in order to use this dll with my application. Could you guys kindly suggest me any possible links and directions as to from where should I start and go about learning about d开发者_C百科ll's and my own scripting language and execute them in my application?
Cheers in advance.
Depends on what language you want to use as scripting language. You can embed Visual Basic and Javascript through the Windows Scripting Host as a COM object, you can embed Python using the raw Python embedding API or Boost.Python, you can embed other languages like PHP and Ruby using their native embedding API's, you can use specific embedding languages like Lua. Learn about dll's from MSDN, start e.g. reading from the docs of the LoadLibrary function, it will lead you to technical notes from there.
精彩评论