Re: Help: running a method from the importing file's method "space"

2012-05-01 Thread Rowan
ot pretty", and making a lib for it isn't working. It's a bit late here, so I'll tinker around tomorrow or the day after with this and see if I can get towards more of a cleaner way of doing this, I'll post back here with what I find. Once again thank you, this seems like a nudge in the right direction. -Rowan

Re: Help: running a method from the importing file's method "space"

2012-04-30 Thread Rowan
With MyLib obviously containing the MyLibInit(HINSTANCE hInst, HINSTANCE hPrevInst, LPSTR CmdLine, int CmdShow) method.

Re: Help: running a method from the importing file's method "space"

2012-04-30 Thread Rowan
On Monday, 30 April 2012 at 18:54:41 UTC, Era Scarecrow wrote: On Monday, 30 April 2012 at 18:50:24 UTC, Era Scarecrow wrote: Add 'import test;' to your MyLib module. Although that seems like it's connecting a library to something it shouldn't... In which case perhaps a delegate passed to t

Re: Help: running a method from the importing file's method "space"

2012-04-30 Thread Rowan
Add 'import test;' to your MyLib module. That does work, but I didn't want to change the source of MyLib, I dunno maybe what I'm asking isn't possible.

Help: running a method from the importing file's method "space"

2012-04-30 Thread Rowan
ing to alter the source of MyLib. Basically I want MyLib to be able to call test's "progMain()", as when I try I get some error along the lines of progMain() not existing. I hope someone understands me, if you do and have an answer could you give me a step by step way of doing this? Thanks -Rowan