PBCompiler /DLL "dll file name.dll"

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
helpy
Enthusiast
Enthusiast
Posts: 552
Joined: Sat Jun 28, 2003 12:01 am

PBCompiler /DLL "dll file name.dll"

Post by helpy »

Hello,

With the Compiler switch /EXE you can give the resulting path and filename of the EXE file. With /DLL this does not work!

Workaround:

Code: Select all

PBCompiler "SourceFile" /DLL /EXE "path\to\dll_file.dll"
This seems to work!


But it would be more clear to use:

Code: Select all

PBCompiler "SourceFile" /DLL "path\to\dll_file.dll"
cu, helpy