Hi Brad;
Yes, you would need to refer to your libraries with the .DLL extension not .PBD for M-Code compilation.
Suggestions:
1) Define your library list in an INI file and load the values from there.
- or -
2) Use the GetLibraryList ( ) along with the POS ( ) to see if you get a hit on ".dll" or ".pbd". Once you know the default extension - use the AddtoLibraryList ( ) or SetLibraryList from a format like "Library1.xxx, Library2.xxx, Library3,xxx ..." using the Replace ( ) method to swap out the ".xxx" with either a PBD or DLL extension as required.
Note: For P-Code compiles - your library list can be a mix of PBL and/or PBD's.
HTH
Regards ... Chris