|
Simon Stevens wrote: that has the strange requirement that all access to it must occur on the same thread that it was initialised on.
That's not strange at all. It's basic threading 101.[^] If you intend to get involved in threading I suggest you don't take it lightly. In my experience, those that do meet with many failures. You should prefer to immerse yourself in the study of the subject. This entails much reading and research coding to get hands on experience of how things work. Then when you feel you actually understand the subject, and only then, would you attempt a production project.
led mike
|
|
|
|
|
I understand threading.
All I was wondering was if there was an existing set of classes in .net that provided the ability to queue jobs for a specific thread, or if I needed to write my own.
Simon
|
|
|
|
|
Simon Stevens wrote: I understand threading.
That is not evident in your original post.
led mike
|
|
|
|
|
My apologies, next time I post a question I'll include a link to my CV, list of achievements, and areas of knowledge.
Anyway, thanks for all the help led mike.
Simon
|
|
|
|
|
Simon Stevens wrote: if I keep the thread alive by doing an idle loop and some sleeps
Simon Stevens wrote: . Is there some way I can keep a thread idle and get it to process it's dispatcher queue
Waiting on an event works well.
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
Thanks. I'll give this a try.
Simon
|
|
|
|
|
Hi,
Is “windowsbase.dll” part of any of the version of .net framework? I have googled it lot but unable to find proper answer, can anyone please tell me about that.
Thanks,
Mushq
|
|
|
|
|
It looks like .NET 3.0+ as far as I can tell.
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
Thanks.
Regards,
Mushq
|
|
|
|
|
It's .NET 3.0 and above. Why would you need to reference this .DLL anyway??
|
|
|
|
|
All my WPF apps reference it
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
Yeah, and it's included by default when you create a new app/control/whatever. It's kind of like settings a reference to System.dll . This makes me wonder why he's looking for it, or if he understands what it is.
|
|
|
|
|
I use it in my MoXAML Power Toys add-in (in the DLL portion) because I needed access to certain WPF features in the DLL, so I had to manually add the reference to it there. The only time I could see you having to set it would be in a situation similar to this.
|
|
|
|
|
He might have just have been clueless about its purpose if he had never saw it in a project before.
Regards,
Thomas Stockwell
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
Visit my Blog
|
|
|
|
|
Actually I am in setup team and we ship "windowsbase.dll" along with our product setup when we used to compile our project in VS 2005 using .net framework 2.0 but after shifting our product to VS 2008, framework 3.5 I got the task to find out whether that DLL is a part of .net framework 3.5, so that we should not ship that, that’s why I asked that question over here.
Thanks for the answer.
Regards,
Mushq
|
|
|
|
|
Mushq wrote: find out whether that DLL is a part of .net framework 3.5
Yes it is.
|
|
|
|
|
Thanks too.
Regards,
Mushq
|
|
|
|
|
Ahh! I little more explanation of what you were doing probably would have helped. Like someone else said, it's one of the base .DLL's for WPF support in .NET, so it was a little strange that you'd be asking about just that one.
|
|
|
|
|
Hey Guys,
I have a .net application that obviously has the .net framework as a prerequisite.
Using Visual Studio 2005 & .net Framework 2.0.
If a user has .net framework installed then I have no problem because only my application is installed.
If the user does not have the .net framework installed then he is automatically notified that .net framework must be installed.
For an untrained user this can be an alarming message.
Does anybody know of a technique in which I can show the user a custom message of my own before the .net framework installation runs?
Thanks,
Michael
mjmimmm@hotmail.com
|
|
|
|
|
mjmim wrote: Does anybody know of a technique in which I can show the user a custom message of my own before the .net framework installation runs?
I don't know. Did you have a read through some material on the subject like this?[^]
|
|
|
|
|
First of all, thank you for the great link with a huge amound of resources...
I have spent the last few hours going through them and have not found an answer to my question.
Is there anyway to control the dialogs shown throughout the clickonce installation?
Is there a way to edit the bootstap attached to the dotnetfx.exe?
Anybody have a creative idea?
|
|
|
|
|
You mean this page[^] wouldn't do what you described??
|
|
|
|
|
I saw this resource...
It's a good idea to have the webpage with the installation notify the user that he will need .net....
It's not what I am looking for, I would like the program itself to do this.
I do appreciate the links though.
Any ideas?
|
|
|
|
|
mjmim wrote: Is there anyway to control the dialogs shown throughout the clickonce installation?
You mean like this?[^]
You can then modify the Prerequisites dialog (off of the Publish tab from your project designer, or the setup project property page)
|
|
|
|
|
Hey,
Once again thank you for taking the time to search for an answer.
I believe you quoted this part of the link:
Alternatively, you could host all relevant packages internally on some share or server. You can then modify the Prerequisites dialog (off of the Publish tab from your project designer, or the setup project property page) to "Download prerequisites from the following location" to the appropriate location.
Unfortunately he is only referring to changing the settings so that dotnetfx is downloaded from a local path instead of from the official website of microsoft dotnetfx.
I am searching to add a custom dialog to show up before the prerequisite dotnetfx.exe.
Sorry for being a pest. Anybody have any creative ideas?
|
|
|
|