Aller au contenu

Photo

Anyone got a Compiler DLL?


  • Veuillez vous connecter pour répondre
3 réponses à ce sujet

#1
Baaleos

Baaleos
  • Members
  • 1 330 messages
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.....)

#2
Lightfoot8

Lightfoot8
  • Members
  • 2 535 messages
 You could try to send SkywingvL  a PM to ask.

#3
virusman

virusman
  • Members
  • 282 messages
The .ndl is actually the DLL file.

#4
Baaleos

Baaleos
  • Members
  • 1 330 messages
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.