davidm / luacom

Microsoft Component Object Model (COM) binding for Lua
http://lua-users.org/wiki/LuaCom
Other
116 stars 51 forks source link

64bit LuaCom not getting responses for MSProject.Application #25

Closed kestermckinney closed 3 years ago

kestermckinney commented 4 years ago

I've built LuaCOM in 64bit. It works great with Outlook and Excel. However, it won't fully work with MSProject.Application. It creates the application, but it won't open files or display the main app. Event when I use GetObject, I can see it isn't opening the file. The exact code works in VBScript.

local project_obj = luacom.GetObject("MSProject.Application") assert(luacomE.GetType(project_obj) == "LuaCOM") project_obj.FileOpen(filename) project_obj.Visible = 1

Notice the assert fails.