Original Post
Hi, now I am working in the program which make use of some shader file, when I render the 3D scene without performing other function, it works fine. However, after I click on other function which make use of graphical interface like 2D picture box windows form, the rendering cannot be done and resulting in error. When I debug it, it turned out that the following line cannot be executed mhTech = mFX->GetTechniqueByName("DirLightTexTech"); where mhTech is ID3DXEffect interface. Could somebody suggest what would be the possible errors? Thanks