Click here to Skip to main content
15,896,154 members
Home / Discussions / C#
   

C#

 
GeneralRe: Including MSSQL in a C# application for a client. Pin
Joachim Kerschbaumer13-Feb-08 20:55
Joachim Kerschbaumer13-Feb-08 20:55 
GeneralReflector and CLI's Pin
MarkB77713-Feb-08 12:44
MarkB77713-Feb-08 12:44 
GeneralRe: Reflector and CLI's Pin
Colin Angus Mackay13-Feb-08 12:49
Colin Angus Mackay13-Feb-08 12:49 
GeneralRe: Reflector and CLI's Pin
MarkB77713-Feb-08 12:54
MarkB77713-Feb-08 12:54 
GeneralXML as datasource Pin
pingboy13-Feb-08 10:04
pingboy13-Feb-08 10:04 
GeneralRe: XML as datasource Pin
Not Active13-Feb-08 16:19
mentorNot Active13-Feb-08 16:19 
GeneralC# Windows Service with Remoting Pin
BogdanMitrea13-Feb-08 10:02
BogdanMitrea13-Feb-08 10:02 
GeneralMTA calling STA Pin
Don Rolando13-Feb-08 9:17
Don Rolando13-Feb-08 9:17 
I am really turning nuts!
I have the following problem: I have a library that is MTA by design - and I cannot modify it, I have only the assambly. So far so good, but my application is a WPF application. And that in turn is STA by design.

So my simple question: How can both talk to each other? More precisely, there are no problems unless callbacks from the MTA-library are executed. I would like to give some feedback through the GUI, but nothing happens (ok, at least there is a caught exception that the GUI an only be modified from a STA thread... fine, so my delegate is still executed out of some library's thread)

The simple delegate does not work, implementing a wrapper with some event does not either. Posting a "real" Windows Message and grabbing data out of the wrapper would work, but that cannot be the best answer for my problem... can it??


Any help appreciated to make my code some kind of more professional. Poke tongue | ;-P

Don Rolando
GeneralRe: MTA calling STA Pin
Judah Gabriel Himango13-Feb-08 11:26
sponsorJudah Gabriel Himango13-Feb-08 11:26 
GeneralRe: MTA calling STA Pin
Don Rolando13-Feb-08 11:46
Don Rolando13-Feb-08 11:46 
GeneralRe: MTA calling STA Pin
led mike13-Feb-08 11:33
led mike13-Feb-08 11:33 
GeneralRe: MTA calling STA Pin
Don Rolando13-Feb-08 11:48
Don Rolando13-Feb-08 11:48 
Generalitems painted Pin
netJP12L13-Feb-08 9:14
netJP12L13-Feb-08 9:14 
GeneralRe: items painted Pin
Christian Graus13-Feb-08 9:29
protectorChristian Graus13-Feb-08 9:29 
GeneralRe: items painted Pin
netJP12L14-Feb-08 4:25
netJP12L14-Feb-08 4:25 
GeneralFile.io - creating a back up file syntax error Pin
Shane Smart13-Feb-08 9:05
Shane Smart13-Feb-08 9:05 
GeneralRe: File.io - creating a back up file syntax error Pin
DaveyM6913-Feb-08 9:21
professionalDaveyM6913-Feb-08 9:21 
GeneralRe: File.io - creating a back up file syntax error Pin
Shane Smart13-Feb-08 11:19
Shane Smart13-Feb-08 11:19 
GeneralTerminate (clean way) a Windows Service from inside Pin
Federico Milano13-Feb-08 6:41
Federico Milano13-Feb-08 6:41 
Generalupload the wave file (without asp.net control) using c# . Pin
pachan13-Feb-08 4:48
pachan13-Feb-08 4:48 
GeneralRe: upload the wave file (without asp.net control) using c# . Pin
phannon8613-Feb-08 4:56
professionalphannon8613-Feb-08 4:56 
GeneralRe: upload the wave file (without asp.net control) using c# . Pin
Not Active13-Feb-08 6:13
mentorNot Active13-Feb-08 6:13 
Generalarchitecture Pin
ellllllllie13-Feb-08 4:42
ellllllllie13-Feb-08 4:42 
GeneralRe: architecture Pin
Expert Coming13-Feb-08 4:46
Expert Coming13-Feb-08 4:46 
GeneralRe: architecture Pin
ellllllllie13-Feb-08 5:00
ellllllllie13-Feb-08 5:00 

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.