Jump to content

Recommended Posts

Posted
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

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...