Click here to Skip to main content
15,918,976 members
Home / Discussions / C#
   

C#

 
GeneralRe: Passing strings between forms that are both open. Pin
Nadia Monalisa27-Jan-08 23:44
Nadia Monalisa27-Jan-08 23:44 
GeneralRe: Passing strings between forms that are both open. Pin
LongRange.Shooter28-Jan-08 8:08
LongRange.Shooter28-Jan-08 8:08 
GeneralRe: Passing strings between forms that are both open. Pin
Paul Conrad27-Jan-08 16:37
professionalPaul Conrad27-Jan-08 16:37 
GeneralRe: Passing strings between forms that are both open. Pin
Jacob Dixon27-Jan-08 17:25
Jacob Dixon27-Jan-08 17:25 
GeneralDirectX and Threading Pin
Mabre of the Tadadas27-Jan-08 10:23
Mabre of the Tadadas27-Jan-08 10:23 
GeneralRe: DirectX and Threading Pin
Paul Conrad27-Jan-08 10:42
professionalPaul Conrad27-Jan-08 10:42 
GeneralRe: DirectX and Threading [modified] Pin
Mabre of the Tadadas27-Jan-08 10:45
Mabre of the Tadadas27-Jan-08 10:45 
GeneralRe: DirectX and Threading Pin
Luc Pattyn27-Jan-08 11:10
sitebuilderLuc Pattyn27-Jan-08 11:10 
Hi,

try inserting a Thread.SetApartmentState() when you create the new thread, and before you
have it do the Form and Browser stuff.

There are basically three states:
Single, Multi, and Undefined; it is related to how COM obect accesses are serialized.
Threads start off in Undefined, can be set Single or Multi (but only once), and must be
Single for some operations to succeed, and Multi for maximum performance. It is a rather
complex matter, don't worry until you really have to.

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]

This month's tips:
- before you ask a question here, search CodeProject, then Google;
- the quality and detail of your question reflects on the effectiveness of the help you are likely to get;
- use PRE tags to preserve formatting when showing multi-line code snippets.


GeneralRe: DirectX and Threading Pin
Mabre of the Tadadas27-Jan-08 11:29
Mabre of the Tadadas27-Jan-08 11:29 
GeneralRe: DirectX and Threading Pin
Luc Pattyn27-Jan-08 11:37
sitebuilderLuc Pattyn27-Jan-08 11:37 
GeneralRe: DirectX and Threading Pin
Mabre of the Tadadas27-Jan-08 12:01
Mabre of the Tadadas27-Jan-08 12:01 
GeneralRe: DirectX and Threading Pin
Luc Pattyn27-Jan-08 12:08
sitebuilderLuc Pattyn27-Jan-08 12:08 
GeneralRe: DirectX and Threading Pin
Mabre of the Tadadas27-Jan-08 12:10
Mabre of the Tadadas27-Jan-08 12:10 
QuestionDrag and drop problem Pin
DSdragondude27-Jan-08 7:04
DSdragondude27-Jan-08 7:04 
GeneralRe: Drag and drop problem Pin
Paul Conrad27-Jan-08 7:18
professionalPaul Conrad27-Jan-08 7:18 
GeneralRe: Drag and drop problem Pin
DSdragondude27-Jan-08 7:27
DSdragondude27-Jan-08 7:27 
GeneralRe: Drag and drop problem Pin
Paul Conrad27-Jan-08 7:30
professionalPaul Conrad27-Jan-08 7:30 
GeneralRe: Drag and drop problem Pin
DSdragondude27-Jan-08 7:33
DSdragondude27-Jan-08 7:33 
GeneralRe: Drag and drop problem Pin
Paul Conrad27-Jan-08 7:39
professionalPaul Conrad27-Jan-08 7:39 
GeneralRe: Drag and drop problem Pin
DSdragondude27-Jan-08 7:45
DSdragondude27-Jan-08 7:45 
GeneralRe: Drag and drop problem Pin
Luc Pattyn27-Jan-08 7:55
sitebuilderLuc Pattyn27-Jan-08 7:55 
GeneralRe: Drag and drop problem Pin
DSdragondude27-Jan-08 8:18
DSdragondude27-Jan-08 8:18 
GeneralRe: Drag and drop problem Pin
Luc Pattyn27-Jan-08 8:35
sitebuilderLuc Pattyn27-Jan-08 8:35 
GeneralRe: Drag and drop problem Pin
DSdragondude27-Jan-08 9:01
DSdragondude27-Jan-08 9:01 
GeneralRe: Drag and drop problem Pin
Luc Pattyn27-Jan-08 9:12
sitebuilderLuc Pattyn27-Jan-08 9:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.