If the PurePLUGIN-SampleDLL.pb.pb file open with file viewer ... that mean that you don't have PureBASIC installed in your computer. Without PureBASIC you can't use PurePLUGIN.
Quotes from the PurePLUGIN page :
Quote: "PurePLUGIN is a development kit that allows you to create DarkBASIC Professional DLLs using Pure Basic. It is a comprehensive framework allowing you to build your DLL within Pure Basic, and then use it natively in DarkBASIC Professional. It also opens up access to DarkBASIC Professional itself, allowing you access to nearly 95% of all native DarkBASIC Professional commands from within Pure Basic."
Quotes from the PurePLUGIN page :
Quote: "PurePLUGIN requires that you alerady own a fully registered version of Pure Basic and DarkBASIC Professional.
Pure Basic is not included with PurePLUGIN. It can be purchased online here."
Do you own a valid PureBASIC licence ?
Kindest Regards,
Frédéric Cordier
Odyssey-Creators