Dual intent is codified into US law. This means you can be holding H status while pursuing permanent resident
status. The fact that you have an application for permanent residence pending should therefore have no bearing on your H-1B visa application.