|
|
Take a look at GetThreadTime() and GetProcessTime() API calls ( they are NT-only).
"Harland Pepper, would you stop naming nuts" - Harland Pepper
|
|
|
|
|
I have an application that is scheduled to run on the Windows Scheduler. It has been doing a good job running on NT 4.0 Server with all the SPs.
The story on Windows 2000 Server is slightly different. Sometimes it works. Sometimes it runs and at the end of the application it crashes, and sometimes it runs and then hangs at the end (as in it shows as running on the scheduled tasks forever even after it has done its job).
The application is quite simple in itself. It takes some input parameters from the commandline and then based on the command line in creates one of three COM objects that do some stuff.
in order to try and catch the problem I ended up installing VC++ 6.0 on one of the 2000 servers. Voila! The problem vanished. I obviously cannot go about installing VC++ on all of my servers.
Any clues?
Thanks
|
|
|
|
|
I think you have some problem with the MFC shared DLLs(outdated I guess). Now there is a service pack 2 for Windows 2000. Try it! It may solve your problem.
"To err is human, to forgive - divine"
|
|
|
|
|
Hi !
When I'm trying to run StarTeam 4.2 client on my w2k server (terminal server) I got an error?
Is there some solutions. On w2k workstation it wotks perfectly - but I need it work on w2k server (TS).
Best regards,
-----------
Igor Soukhov (Brainbench/Tekmetrics ID:50759)
igor_soukhov@mailru.com | ICQ:57404554 | http://siv.da.ru
|
|
|
|
|
Hi,
Does anyone know of a good, basic Intermediate style NDIS driver example (with source) for Windows CE 3.0? We are porting one we did for Windows NT, but would like a cleaner reference version to make sure that we are not missing anything in the port.
Or has anyone done an IM driver for WinCE 3.0 and would be willing to share anything that caused them indigestion in the porting effort (other than the obvious functionality that NT has that WinCE does not).
Thanks,
|
|
|
|
|
Hi,
Has anyone used the USB Storage driver, USBSTOR.SYS, that comes with Win2K in concert with an application to talk to a CD-R drive? I'm not referring to the drive appearing in My Computer, or the Explorer but, rather to being able to issue commands to the drive via Transparent SCSI commands. E.g. Request Sense, getting media type/size, opening/closing the drawer, etc.
Has anyone found any detailed documentation from Microsoft on this driver and how to use it to directly talk to USB storage devices? I know that the version on Win2K has some problems and limitations..
Thanks for any assistance..
|
|
|
|
|
W2K has the ability to remember info about a folder's customisation, like
attribute column width (e.g. Name, Size, Type, etc.) and also additional
extended attributes that can be selected like Author, Comments, etc.
Does anyone know where this information is kept? Is it in the registry or
somewhere else? Alternatively can someone point me to any resource on the
net where I can find this information?
In a folder, when you select View -> Customise This Folder... you get a list of additional extended file attributes you can select from, for display purposes. Does anyone know where this list is comming from. Is it a static list defined in a DLL or is it read from the registry. Can the list of attributes be customised to display more attributes (e.g. JPG files have more extended attributes like Source, Rating, etc.). I am looking for a method of displaying these extended attributes. Does anyone know how this is or can be done?
I understand how to customise a folder through desktop.ini and .htt files.
What I am looking for is a simple method of exposing these extended
attributes by simply displaying them as extra columns in a folder.
Alternatively if anyone can tell me how they can be exposed through a
programmatic method (e.g. to get all the attributes just use the command
FileList.Folder.GetDetailsOf(FileList.SelectedItems.Item(0),i) where i = 0
to 40). But how do you display the additional attributes of .JPG files?
Any help would be appreciated. I have searched all known sources and have posted messages on several newsgroups but had ziltch info and help so far.
Thanks
Vangelis Vorgias
YASA (Yet Another Systems Architect)
|
|
|
|
|
It should exists the following file: "folder.htt" on every folder you customized. (That's on Windows 2000, on my computer I succeeded to find it only in Program Files).
Check out some Dino Esposito articles, he's the web/script guy for Explorer (and not only). MSDN (online or not), MSJ ... see what you can find.
Sardaukar
|
|
|
|
|
Every time I create a new file by choosing New from the context menu that appears
when right-clicking on an empty spot on the desktop, the word "new" is added to
the beginning of the file name. Is there any way to change this behavior?
Ex. When you select New>Text Document you create a text file named "New Text
Document.txt". I don't want the word "New" to appear in the file name, I just
want the file name to be "Text Document.txt".
Thanks for any suggestions.
|
|
|
|
|
You have to text edit your .RC file and search for "New Text Document.txt" and then just remove new.
-Matt Newman
|
|
|
|
|
I need to write an app to programmatically unbind a certain protocol from a network card. E.g. Check if Netbeui is bound to a certain ethernet network card and if so then I need to unbind it (without user intervention). The idea is that after running the app only TCP/IP would be bound to the ethernet card no matter what additional protocols are installed on the computer.
I've got it working in Win2k (with the use of the INetCfg API calls) but I can't find any API calls or code examples on how to this in Win98/Win Me and NT4.
Any ideas?
Marc
|
|
|
|
|
|
my Invalidate() is working on NT but not on 95 & 98
|
|
|
|
|
What does the function do?
Please provide the code for the function
Michael S. Scherotter
Lead Software Architect
Tartus Development, Inc.
|
|
|
|
|
Hi,
I am studying about Windows NT internals and I came across the utility
C2Config.exe which is supposed to be in the NT Resource Kit... How do I install the NT Resource Kit?... where can it be found? ... do I have to reinstall my OS in order to include it? ... thanks
Also, I have partitioned my h/d so that the primary partition has the NT and the second only has data. How do I go about such that I can install another OS (Linux) ... thanks again
|
|
|
|
|
You need to have access to the NT resource kit (RK) itself which is a set of utilities and programs. You install these utilities as per the instructions of the RK.
The RK can be found on MSDN ot TECHNET CDs or you can buy the RK as a separate piece of software.
Vangelis Vorgias
YASA (Yet Another Systems Architect)
|
|
|
|
|
Can anyone answere following questions:
a)How can I change the active partition of my hard drive using visual
c6.0 working on win2k
b)How can I change the active partion of a remote hard drive. The remote
workstation is running win2k
c)How can I change the active partion of a remote hard drive. The
remote workstation is running DOS.
Thanks,
Saad
|
|
|
|
|
hi,
Win2k protects the system files by detecting changes and replacing changed files from a cache. I see that there are ways to disable this feature. But is there a way to just disable this feature for one single file insted of all system files ?
thanks
karthik
ps: reason being inetinfo dlls stack size is set to 40000 , but some of my dlls need a stack size of 100000 ,so I want to change the stack size of this dll alone. win2k will not allow me to use this modified dll.
|
|
|
|
|
I want to replace the Win95,Win98 login interface,but i don't know how to do it. Can you help me? thanks!
hi,nice to meet you!!!
|
|
|
|
|
Has any body been able to install Windows 2000 (any one of them i.e Pro or Advance Server) on An AOpen AX63Pro mother board.
It keeps crashing even when I disable the Advance Power managment. I even flashe the bios with the latest one.
Cheers
|
|
|
|
|
I like to know how can I connect a cash machine an to open it with a pc running in Windows.
(I work in visual C++)
If anybody can give me these instructions or can give me an URL or somewhat else where I can have informations, I will be glad.
I know that this question ins't realy for Operatings system but
I don't know where I can ask for this..
Emmanuel Ponsart
eponsart@racsa.co.cr
( may be the word Cash machine ins't correct in spanish we call it "caja registradora" and in french a " une caisse enregistreuse")
|
|
|
|
|
Are your referring to a POS (Point-of-Sale) system?
If so, I have a lot of experience with these systems.
In short, is highly dependant on the model. Usually it would communicate using ASCII text files. Newer ones use XML transmitions.
I would suggest contacting the vendor for more information on your particular model.
- Joshua
|
|
|
|
|
I do not mean selecting characters then use Format > Font... command. I mean the font we see once we open a document that is "Microsoft San Serif, 10 point" now . How can we change that to another font ?
|
|
|
|
|
Get the source from msdn and compile it yourself!
|
|
|
|