BackgroundWorker in different OS
- From: antarikshv <antarikshv@xxxxxxxxx>
- Date: Fri, 23 May 2008 00:59:11 -0700 (PDT)
Hello All,
I had written a piece of code for working with the
BackgroundWorker.Following is the code for the same:
BackgroundWorker ^ defReportWorker = gcnew BackgroundWorker();
defReportWorker->WorkerReportsProgress = true;
defReportWorker->WorkerSupportsCancellation = true;
defReportWorker->DoWork += gcnew DoWorkEventHandler(this,
&Form1::GenerateDefaultReport);
defReportWorker->ProgressChanged += gcnew
ProgressChangedEventHandler(this, &Form1::updateProgress);
defReportWorker->RunWorkerCompleted += gcnew
RunWorkerCompletedEventHandler(this, &Form1::DefEndWorker);
GenerateDefaultReport is the function which i need to execute
DefEndWorker is the function which will be called upon completion of
the GenerateDefaultReport function.
The client was a german client and we were developing the code on the
german OS machines in our company. The problem we faced in this code
was that the function "GenerateDefaultReport" was not called when the
code compiled on the German OS machine was executed on the English OS
machine. but the code compiled on the English OS machine was executing
properly and the said function was called on the German OS machine.
German compiled - german execution - running
German compiled - English execution - not running
English compiled - English execution - running
English compiled - german execution - running.
Can any one please help in this?
.
- Follow-Ups:
- Re: BackgroundWorker in different OS
- From: Patrice
- Re: BackgroundWorker in different OS
- From: Peter Duniho
- Re: BackgroundWorker in different OS
- Prev by Date: RE: esoteric struct vs class question
- Next by Date: RE: ClickOnce deployment to Vista 64 bit problems
- Previous by thread: Re: esoteric struct vs class question
- Next by thread: Re: BackgroundWorker in different OS
- Index(es):
Relevant Pages
|