> It is really really weird that a function could be called or not depending
> on the OS language which would make me really think the real souirce is
> another problem.
---Same astonishment is with me.
> Similarly and just for testing one of my moves would be to to call the
> GenerateDefautlReport on the main thread...
---The function works properly, so any particular reason as to why to
check running on main thread?
> My goal for now is not to correct the problem but to make things simpler to
> find out what could go wrong...
---What kind of simplicity is the suggestion?
Patrice - 27 May 2008 08:50 GMT
>> It is really really weird that a function could be called or not
>> depending
>> on the OS language which would make me really think the real souirce is
>> another problem.
> ---Same astonishment is with me.
This is why I think this is more likely not the real problem but only how it
looks like...
o>
>> Similarly and just for testing one of my moves would be to to call the
>> GenerateDefautlReport on the main thread...
> ---The function works properly, so any particular reason as to why to
> check running on main thread?
Because we don't know for now what is the exact problem. So I would like to
take threading out of the equation (it it realy doens"t run, does run when
threading is not used, else could it be something related to threading that
makes your code fails)
>> My goal for now is not to correct the problem but to make things simpler
>> to
>> find out what could go wrong...
> ---What kind of simplicity is the suggestion?
Also you could perhaps simplify the function body. Obviously if you do a
bare bone sample with a body that doesn't do much it should work. So IMO it
fails either because of the code you have inside GenerateDefaultReport (my
first thought would be still that it fails for some reason wihtout reporting
any error) or perhaps because of the code that surrounds this call. Have you
checked that the code that calls GenerateDefaultReport really runs on the
Spanish os ?
Finally as said Peter, at this tep it's really hard to imagine what in your
code could cause this issue in particular as it's more likely not something
such as code being called because of a language change. Your best bet is
more likely to simplify your code as much as possible so that :
- either a change make finally this work. So it's likely it will give an
essential clue to the problem (for example if you call something much
simpler than GenerateDefaultReport and it works, it should validate that the
problem is in the code inside GenerateDefaultReport)
- either it still doesn't work but then you should be able to post the
*minimal amount* of code that shows the problem allowing other to have a
look
--
Patrice