As mentioned here: https://github.com/MapWindow/MapWinGIS/issues/109
I have a PostgreSQL layer successfully loaded into the OLE map control but can't load the style data stored from the mw_styles database table. The table exists and has a style record. I have turned on PostgreSQL statement logging and no mw_styles select SQL statement is being run.
My Powerbuilder code looks like this:
But LoadLayerOptions returns false.
Related question: https://mapwindow.discourse.group/t/mw-styles-table/259