Linking lib files

2020-07-03 Thread Joel via Digitalmars-d-learn
Using Windows 10. In my dub.json file I have: "lflags" : ["+..\\DAllegro5\\lib\\"], But I get: Linking... lld-link: error: could not open '+..\DAllegro5\lib\': no such file or directory lld-link: error: could not open 'allegro.lib': no such file or directory ... lld-link: error: could not

Re: Delegates and C++ FFI lifetimes

2020-07-03 Thread Kagamin via Digitalmars-d-learn
You can store the delegate in an array and invoke it by index.