|
Don't remove questions if they already got replies, it results in a messy forum. See the forum guidelines.
Your original post was:
hi ,
can anyone tell me how to build an object file library in VS2005 framework.
for ex :libBasicUsageEnvironment.lib, how to build this library..?
i am a newbie to .net . kindly help me
|
|
|
|
|
Hi Luc,
Did you already have a copy of the original or do you have some method of finding deleted messages?
Richard
txtspeak is the realm of 9 year old children, not developers. Christian Graus
|
|
|
|
|
one of my spiders takes a snapshot of www.codeproject.com on an hourly base;
and a second one posts replies to the questions that match some filter criteria.
More seriously, yes there are ways to see what isn't there any more. I only use it to tell them of though.
|
|
|
|
|
i am having a doubt on the Difference between the Tier and layer architecture ????
Thanks and regards
Mahendran Chandramohan
|
|
|
|
|
I don't know what the definition says in the books, but.. Different tiers often run on different machines (client/server etc), whereas layers (DAL, BL, CL, UI) are often on the same machine.
The UI-layer sometimes becomes a tier, if that makes sense
I are Troll
|
|
|
|
|
Wrong forum for your question....this is the .Net framework forum.
Layers means way to organizing the code logically not physically. Tiers means code separation on network or process boundaries.
|
|
|
|
|
It is a grey area. It appears that many articles use the terms tier and layer interchangeably.
Some people distinguish the two as multi-layer describing the separation of code into functional areas such as GUI, Business Logic and Data Access; and multi-tier describing a physical separation by process boundary, sometime accompanied by distribution of the tiers on separate hardware. This distinction is moot, as the code in each tier is the same code as in each layer, just separated by process boundary. Therefore a multi-tier application is also multi-layer, and many multi-layer applications are multi-tier. I would argue that whether or not there is a process separation is irrelevant, and often confuses matters. The big question from an architectural point of view is are you using a client-server architecture.
Multi-tier architecture[^]
|
|
|
|
|
Hi
I've noticed a performance problem in my application. My application does some calculation inside a 'for' loop and show that answer on the canvas. When I minimize the application it executes fast.If it is in maximized then it takes too much time to finish the for loop.
Inside the for loop I've used Control.Invalidate(). Will it make the performance changes when it is minimized and maximized?
Thank You.
Regards,
R.Sumanan
|
|
|
|
|
Absolutely.
Control.Invalidate causes the visible portions of the control to redraw. As the app is minimised there is therefore nothing for it to do at that point. When maximised the work load increases due to paint event processing. You will get the same effect by bringing another window to the front of the display stack.
Unless you really need to show the calculation in progress don't invalidate until you have finished processing.
|
|
|
|
|
It's exactly the same if the form was minimized or not.
Invalidate does NOT cause the control to be repainted. Invalidate (simplified description) tells Windows that the control NEEDS to be repainted and (optionally) what region of the control needs it. Windows will eventually send a WM_PAINT message to the app's message pump which will eventually get around to your control so it can repaint the specified region of the control. If the control is not visible, the WM_PAINT message doesn't get processed, so no painting gets done.
|
|
|
|
|
Hi!
I have a Motorola MC7090 that runs a .Net Compact Framework - application.
On the mainform i catch the "KeyDown"-Event, which work fine for "regular" keys.
As the MC7090 (as most Windows Mobile devices) has some custom keys, two for volume (+/-) on the left side, and another key on the right side.
When i open the application i get a key-down-event from this key on the right side.
After klicking a button on the touchscreen the event is not longer thrown.
All other keys (keypad 1-9, etc...) work fine.
Just this one key is not working.
Unfortunately my customner wants exacly this key to work.
Does anyone have any idea how i could make this key work?
Thanx!
J.
|
|
|
|
|
Try overriding WndProc and checking for the message manually?
|
|
|
|
|
That was my emergency-solution.
The big question is why an event is raised in the beginning, but not after a button was pressed...
That´s kind of strange to me...
|
|
|
|
|
Hi folks
Would higly appreciate your help on this.
Suppose a C# Windows Service is running with some domain user login/password...
Now suppose the user's password expires...
Will the service keep running? or will it stop as soon as the password expires?
|
|
|
|
|
I don't know for sure but I would suspect the service will continue to run since it had already started and authenticated, however, if it restarts it should not.
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
Domain services should run under the Network service account or a domain account with no password expiry duration. If you use any other account service will stop running not start once the password expires.
modified on Tuesday, March 23, 2010 11:48 AM
|
|
|
|
|
d@nish wrote: will stop running once the password expires
are you sure? It seems to me it would keep running until restarted. The process has already been started and I'm not aware of a mechanism that continues to check if the service has been authenticated
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
Yes. It won't happen suddenly. But it will not run start once password is expired.
Still, I guess it would depend on the kind of the service. I guess if the service tries to do any kind of file operations, since the account has already expired it should not be allowed to.
|
|
|
|
|
d@nish wrote: if the service tries to do any kind of file operations, since the account has already expired it should not be allowed to
Makes sense to me also.
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
I'm not sure about that, I think that a file operation on local machine may still work after the password has expired.
A network operation, on the other hand, should probably fail.
|
|
|
|
|
AFAIK, any time you do a file operation, windows will check if you right to do so. Now, since the account itself has expired, it should have no rights to do anything. Hence the operation would fail and service will either not work as expected or might stop as well.
|
|
|
|
|
I have a activex control written in C++ (Visual Studio 6). I have used AxImp to get the required assembly out so that I can use this as Windows Forms Controls in my C# application on a Windows Form. I have changed the generated .cs file to cater to my requirement. The constructor of the class (which is derived from AxHost) is getting called. But the AttachInterface() is not getting called at all. I am not able to figure out why. I have message boxes in the constructor and the AttachInterface method. I get the messagebox in the constructor during run time but NOT the one in AttachInterface.
Please help.
Thanks much in Advance.
|
|
|
|
|
Does anyone know of a CHM viewer control that could be integrated into a .NET application? I'd like to be able to integrate a CHM help file into my application, but I developed a custom look for all of my dialog box frames, so I don't want to launch the default Windows CHM viewer.
Thanks.
|
|
|
|
|
You could always look at using this[^] article as a basis for writing your own.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
Yeah, I saw that article before I even posted this. Just thought I would post to see if there were any .NET components out there so I wouldn't have to reinvent the wheel.
|
|
|
|