Author Topic: Anyone got a Compiler DLL?  (Read 901 times)

Baaleos

  • Administrator
  • Hero Member
  • *****
  • Posts: 1916
  • Karma: +0/-0
Anyone got a Compiler DLL?
« on: December 06, 2012, 10:44:29 pm »


               I've managed to get ahold of the source for the nwn2 standalone compiler (Skywings one)

I've downloaded the pre-requisites (WDKEnvironment etc from microsoft)

I run the build command, it says everything is compiling fine, but when I check the folders, there are no DLL's for me to grab?

Instead, in the release folder I find these

06/12/2012  22:41    <DIR>          .
06/12/2012  22:41    <DIR>          ..
06/12/2012  22:11             7,680 Gr2Conv.exe
06/12/2012  22:11           527,360 Gr2Conv.pdb
06/12/2012  22:41                 0 log.txt
06/12/2012  22:12           402,432 NWNScriptCompiler.exe
06/12/2012  22:12         9,063,424 NWNScriptCompiler.pdb
06/12/2012  22:12           271,872 NWNScriptCompilerDll.ndl
06/12/2012  22:12         6,990,848 NWNScriptCompilerDll.pdb
06/12/2012  22:12           644,608 NWNScriptConsole.exe
06/12/2012  22:12        10,693,632 NWNScriptConsole.pdb



Is the NWNScriptCompilerDLL project not meant to produce a dll?

Any help getting this to work would be greatly appreciated.

(Digging out the URL I got this from.....)
               
               

               
            

Legacy_Lightfoot8

  • Hero Member
  • *****
  • Posts: 4797
  • Karma: +0/-0
Anyone got a Compiler DLL?
« Reply #1 on: December 06, 2012, 11:34:39 pm »


                You could try to send SkywingvL  a PM to ask.
               
               

               
            

Legacy_virusman

  • Sr. Member
  • ****
  • Posts: 448
  • Karma: +0/-0
Anyone got a Compiler DLL?
« Reply #2 on: December 08, 2012, 04:12:53 pm »


               The .ndl is actually the DLL file.
               
               

               
            

Baaleos

  • Administrator
  • Hero Member
  • *****
  • Posts: 1916
  • Karma: +0/-0
Anyone got a Compiler DLL?
« Reply #3 on: December 08, 2012, 11:22:22 pm »


               Yeah, kinda realised that recently.
Just not used to using dll's that arent c#/ .net referancable.

eg- add reference, and then see all the methods inside.

Instead, this dll needs to be accessed via p/invoke - which although functional  - isnt as easy to use in managed code.