funfrok Posted November 28, 2007 Report Posted November 28, 2007 Did anyone here uses Mx Component in a multihreaded program or in a web server. I had problems when i tried to use mx component objects in a background thread. Then i realized that in the manual it says the apartment model must be STA. Switching the apartment model for the thread solved the problem and i am using this approach widely in projects with no problems. The problem i had was this: Getdevice,setdevice works of. Readdeviceblock reads only the first register, the other registers are as zeros always. I have worries about using mx component in aspx web pages. Apartment state here is MTA. The thing is it is working in a project but , when i tested it recently it worked in myu pc just as the problem i described above. Is there any active .Net developers here? Sorry for the boring post :P Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.