|
Archives
D Programming
DD.gnu digitalmars.D digitalmars.D.bugs digitalmars.D.dtl digitalmars.D.dwt digitalmars.D.announce digitalmars.D.learn digitalmars.D.debugger C/C++ Programming
c++c++.announce c++.atl c++.beta c++.chat c++.command-line c++.dos c++.dos.16-bits c++.dos.32-bits c++.idde c++.mfc c++.rtl c++.stl c++.stl.hp c++.stl.port c++.stl.sgi c++.stlsoft c++.windows c++.windows.16-bits c++.windows.32-bits c++.wxwindows digitalmars.empire digitalmars.DMDScript |
DMDScript - Some help would be appreciated...
Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: 7bit I am working on a small thing... a few hours of work, but I get stuck. The idea is to extend dmdscript at runtime i.e. to load new functions and classes while the script is running. I made it working but not exactly... when I do it from exe it works , but when I load the class from dll it causes some strange access violation... Functions are working nice but not the classes... When myclass.init is called it calls myclass_prototype which should register the members of the class but when it reaches DnativeFunction.init(this, nfd, DontEnum) - bang! access violation. I tried to debug DnativeFunction.init to see what is crashing it but when I place writefln there is not output... also very strange... I will attach the source if anybody thinks he can help me... The crash is at line 101 of module.d... Thanks, bobef Feb 10 2006
|