Click here to Skip to main content
15,898,588 members
Home / Discussions / C#
   

C#

 
AnswerRe: I am trying to save chinese charecter into sql 2005 database from asp.net,c# website Pin
N a v a n e e t h24-Jun-08 7:42
N a v a n e e t h24-Jun-08 7:42 
AnswerRe: I am trying to save chinese charecter into sql 2005 database from asp.net,c# website Pin
mdpavel24-Jun-08 8:20
mdpavel24-Jun-08 8:20 
AnswerRe: I am trying to save chinese charecter into sql 2005 database from asp.net,c# website Pin
mdpavel24-Jun-08 11:05
mdpavel24-Jun-08 11:05 
QuestionDifferent audio device in System.Speech.Synthesis Pin
Firedragonweb24-Jun-08 5:22
Firedragonweb24-Jun-08 5:22 
AnswerRe: Different audio device in System.Speech.Synthesis Pin
DaveyM6924-Jun-08 6:30
professionalDaveyM6924-Jun-08 6:30 
AnswerRe: Different audio device in System.Speech.Synthesis Pin
DaveyM6924-Jun-08 6:35
professionalDaveyM6924-Jun-08 6:35 
GeneralRe: Different audio device in System.Speech.Synthesis Pin
Firedragonweb24-Jun-08 7:12
Firedragonweb24-Jun-08 7:12 
AnswerRe: Different audio device in System.Speech.Synthesis [modified] Pin
Firedragonweb24-Jun-08 8:14
Firedragonweb24-Jun-08 8:14 
Ok, here's a new problem: Filler()(from the link above) is called, while the synthesizer is still filling the stream with data. As you can imagine, this results in a disaster. So I cannot make the stream thread-safe (because can't control the filling end) and even if i could, I would have gasps in my output because the buffer would be filled like this:

(1 =data in cycle 1
2=data in cycle 2
0= no data)

11111111111111111100000000000000000
|stream is filled until here
22222222222222222220000000000000000

while it should look like this:
1111111111111111112222222222222222222

Any ideas?
Edit:
Ok, finally got it - i had to wrap the whole synthesizer-class to make the stream thread-safe, but finally, it works. Thanks @ all.

modified on Tuesday, June 24, 2008 2:46 PM

QuestionThread Safe Generic Dictionary Collection Pin
Waleed Eissa24-Jun-08 5:15
Waleed Eissa24-Jun-08 5:15 
AnswerRe: Thread Safe Generic Dictionary Collection Pin
leppie24-Jun-08 6:00
leppie24-Jun-08 6:00 
AnswerRe: Thread Safe Generic Dictionary Collection Pin
Ennis Ray Lynch, Jr.24-Jun-08 6:01
Ennis Ray Lynch, Jr.24-Jun-08 6:01 
GeneralRe: Thread Safe Generic Dictionary Collection Pin
Waleed Eissa24-Jun-08 14:10
Waleed Eissa24-Jun-08 14:10 
AnswerRe: Thread Safe Generic Dictionary Collection Pin
Daniel Grunwald24-Jun-08 8:31
Daniel Grunwald24-Jun-08 8:31 
GeneralRe: Thread Safe Generic Dictionary Collection Pin
Waleed Eissa24-Jun-08 14:48
Waleed Eissa24-Jun-08 14:48 
AnswerRe: Thread Safe Generic Dictionary Collection Pin
BrianMarkR4-Dec-08 7:25
BrianMarkR4-Dec-08 7:25 
QuestionSettings reset to default when version of application changes. Pin
Simon P Stevens24-Jun-08 5:02
Simon P Stevens24-Jun-08 5:02 
AnswerRe: Settings reset to default when version of application changes. Pin
Ennis Ray Lynch, Jr.24-Jun-08 5:05
Ennis Ray Lynch, Jr.24-Jun-08 5:05 
GeneralRe: Settings reset to default when version of application changes. Pin
Simon P Stevens24-Jun-08 5:17
Simon P Stevens24-Jun-08 5:17 
AnswerRe: Settings reset to default when version of application changes. Pin
paas24-Jun-08 6:59
paas24-Jun-08 6:59 
GeneralRe: Settings reset to default when version of application changes. Pin
Simon P Stevens24-Jun-08 10:02
Simon P Stevens24-Jun-08 10:02 
QuestionMultiselect in a datagridview Pin
Hampus@foi24-Jun-08 4:53
Hampus@foi24-Jun-08 4:53 
AnswerRe: Multiselect in a datagridview Pin
leppie24-Jun-08 4:56
leppie24-Jun-08 4:56 
GeneralRe: Multiselect in a datagridview Pin
Hampus@foi24-Jun-08 20:58
Hampus@foi24-Jun-08 20:58 
AnswerRe: Multiselect in a datagridview Pin
Harvey Saayman24-Jun-08 4:57
Harvey Saayman24-Jun-08 4:57 
GeneralRe: Multiselect in a datagridview Pin
Hampus@foi24-Jun-08 20:57
Hampus@foi24-Jun-08 20:57 

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.