From: Milind G. <mil...@gm...> - 2012-08-29 20:13:38
|
Hi, So I still get the problem where my wxluafreeze created exe cannot locate the dll file in the same directory. It has to do with something how windows launches the exe and maybe sets it to a different default run directory. Does anybody have a idea about this? Thanks, Milind On Thu, Aug 16, 2012 at 11:39 PM, Milind Gupta <mil...@gm...>wrote: > Thanks I will re check that if I get access to that computer again. > > On Thu, Aug 16, 2012 at 8:01 PM, John Labenski <jla...@gm...>wrote: > >> On Thu, Aug 16, 2012 at 1:54 PM, Milind Gupta <mil...@gm...> >> wrote: >> > Hi, >> > I have made this lua application using wxLua and I created an exe >> using >> > wxluafreeze. The program requires a LuaXML_lib.dll/so file. Both files I >> > have put in the same directory as the exe. Also in my lua code the 1st >> thing >> > I do is to set package.cpath = ";./?.dll;./?.so". It works fine on my >> > computer but on one computer it was not able to find the >> LuaXML_lib.dll. How >> > do I fix this? >> >> To be sure, the problem is on windows? And the two machines both have >> the same version, XP or 7? >> >> If everything is the same I cannot think of any reason why it would >> find it on one and not the other. I would double/triple check that the >> files really are the same or that there isn't some difference in the >> permissions, though MSWindows seems to ignore them for the most part. >> >> Regards, >> John >> >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> wxlua-users mailing list >> wxl...@li... >> https://lists.sourceforge.net/lists/listinfo/wxlua-users >> > > |