|
Windows CE is not an end-user operating system. It requires some critical device drivers to be linked into the operating system image, which is intended to be written to a ROM. It's intended for handheld and embedded devices. It does not have the capability of swapping to disk as the desktop does - you are limited to the amount of physical RAM in the system.
Windows CE will run on a so-called CEPC (a PC configured with specific hardware) but this is really only intended for testing parts of an operating system image before the final hardware is available.
|
|
|
|
|
I need to update the CLASSPATH environment variable using a batch file. I tried using the code below:
echo %CLASSPATH%
set CLASSPATH=%CLASSPATH%;c:/Test
echo %CLASSPATH%
pause
This sets the CLASSPATH env var but only temporarily. I want to update the environment variable permanantly using batch file.
Any help apprecited.
|
|
|
|
|
For it to be really persistent (survive exits of CMD.EXE and reboots), you'd need to modify the registry, such as HKCU\Environment,
or HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
which I don't think you can do from a .BAT file.
Can't recall off the top of my head how you'd do it for an individual user. Oh, and I'd use \ not / as a directory separator, for consistency, or you might find the one API that can't use them interchangeably
Steve S
Developer for hire
|
|
|
|
|
Thanks. So is there no way from which I can update my registry key entry for CLASSPATH?
|
|
|
|
|
If you can find a commandline tool to edit the registry, then yes, you can. You might want to check into the Windows 2000 or XP resource kits to see if there is a tool you can use.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Does anyone know where can i download the MS-DOS system, versions 2.0 or 3.0?
"no xe tuto oro quel che luse"
rechi+
|
|
|
|
|
I believe these versions were only available to OEMs, the concept of upgrading your operating system had not really occurred yet. If you're really lucky you might find floppy disk images of these versions around on the web somewhere.
You will probably also need a suitably-ancient computer to run them on, since they're highly unlikely to understand modern hardware!
|
|
|
|
|
Hi,
I have a small network with jana server, I want to that my all machine connect to other machine with FTP which is out side my LAN .
please any body give solution steap by steap .
thanks for this.
nilesh
|
|
|
|
|
Hi,
Here we connect to the FTP serve using IE browser, in address box of IE just enter ftp://ipaddress of server than click GO or press enter button, then it asks for username and password, in that you has to enter the username and password alloted for you in that.
check this link
http://www.codeproject.com/script/comments/forums.asp?forumid=1644&select=1668641&df=100&fr=26
Bye
Exelio
-- modified at 7:26 Thursday 14th September, 2006
Know is Drop, Unknown is Ocean
|
|
|
|
|
Hello Sir,
you are correct,but when I do this in client machine which is access
internet through jana proxy server .the error is occured--
The ftp conection was terminaed with an error!
The taret server returned th following error message:
530 user anonymous canot in.
plz sugess me.
nilesh
|
|
|
|
|
nkjha1 wrote: 530 user anonymous canot in
Try to check this article[^]. It might give you some idea to solve the problem.
|
|
|
|
|
|
Hi all,
iam new to this message board.
Iam looking for some information regarding Asterisk-the open source PBX revolution.
I wasnt sure which message board to go to.
Does anyone here know any idea abt Asterisk or should I be messaging on a different message board?
Thanks heaps in advance.
|
|
|
|
|
Allthough I know a few users here (me included) use it, your best bet might be here:[^]
These are official Digium Asterisk forums.
|
|
|
|
|
thanks for the link.
As you said, you are also using Asterisk, you may be able to help me out.
Iam trying to understand how CDR's get created using Asterisk's CDR functions in the ASterisk's DialPlan. There is no proper flow as to where the CDR get created, initialised and updated etc.,
I browsed through the documentation and the source code and could find the various ast_cdr functions but couldnt understand the flow.
Can you help me with this or anyone who knows this?
Thanks in advance.
|
|
|
|
|
Sorry, I have not started to work with CDR yet. I thought it was done automatically once you enabled it though.
This[^] is another excellent link to lots of good Asterisk Info.
|
|
|
|
|
thanks for another link.
CDR's get generated automatically, but what Iam trying to do is that I need to create CDR's within my customized dial plann code. for which I need to understand how Asterisk dialplan generate the CDR's using the various CDR functions provided by the ASterisk.
but anyway, thanks for your help.
If you happen to get any info. regarding the above, please feel free to drop in a message to me.
Thanks again.
|
|
|
|
|
Hi,
I see a error message when I ping a machine with IP or name from any
were in my LAN- No network provider accepted the given network path.
But that machine can ping any machine with IP or name and also access internet from server.
I have to take some file from that machine ,so please give me any solution.
Thanks for this.
nilesh
|
|
|
|
|
Hi,
I solved my problem myself, to off the firewall. after this my problem
is solved .I access inernet throught jana server.
Thanks.
nilesh
|
|
|
|
|
nkjha1 wrote: I solved my problem myself, to off the firewall. after this my problem
is solved .I access inernet throught jana server.
In my opinion, you should not turn off your firewall. You should turn on the firewall but specific which port that could allow you to access to an internet.
|
|
|
|
|
Hi,
I am trying to understand how the "Use FIPS compliant algorithms" setting affects communications between applications running in WinXP SP2 and a Win2003 server. It doesn't seem to affect communications as documented. Whether enabled or disabled, I can still send files to and receive files from my Win 2003 server. Can anyone explain this? Can anyone recommend a good book on Win 2003 servers? Another problem that I am having is that I can't log into this server using Remote Desktop from my WinXP workstation even though remote login is enabled in that server.
Any help appreciated,
Royce
|
|
|
|
|
Dear Sirs,
I have one server HP Proliant 110 where there is Windows 2003 server operating system since we buy it.
After one Hour this server is shut down automatically.
Even if I have changed the power settings to NEVER for all; after one hour this server is shutting down it self.
On the screen appear also, a message "INPUT NOT SUPPORTED".
On boot the keyboard is disabled, it shows a setup screen with a message bellow " press any key to continu" and here there is no mean to change some thing in this screen. And after the windows start.
What to Do ?
I learn my self
|
|
|
|
|
mikobi wrote: After one Hour this server is shut down automatically.
Even if I have changed the power settings to NEVER for all; after one hour this server is shutting down it self.
In my opinion, I think your computer might have some problem with virus attack. Try to apply service pack, update security patch and update anti-virus definition. Try to restart your computer and safe mode and scan your computer for virus.
|
|
|
|
|
Hi all,
I am trying to understand how windows allocates processor to programs. Maybe this is not a specific VC++ question, but my application is in VC++.
Coming to details, I am having a dual processor system with single core, two threads each. So, in task manager I can see 4 processors. I usually run one MFC application and one matlab application (Interface in matlab and the actual processing is done in VC++ using a DLL created in VC++). My DLL is having 2 child threads created within itself whenever it is initialized from GUI created in Matlab(so basically its a Interface created in Matlab), and my MFC application is having one child thread apart from its own.
So, my question is, when I run all these at a time; how do you think windows allocates the 4 processors?? From the task manager I can see it allocating 1 processor to MFC application, but not sure about the DLL. Any ideas?? The main reason behind this is, I am thinking of replacing one of our single processor system with a new one which should handle all the above mentioned applications, so thinking of which will be best match, a dual processor or a Dual core single processor (like conroe) system and at the sametime I need high PCI bus transfers too.
thanks,
-Pavan.
|
|
|
|
|
Firstly you need to understand that Windows allocates processor time to threads, not to processes or programs. Each time the scheduler is called upon to reschedule which threads are running, it looks at only the set of threads which are runnable - not blocked waiting for some event to occur. GUI threads are typically waiting for the user to press a key or move the mouse over the window, or for some other window message to arrive. This can also be a timer event created by the SetTimer function. Whenever you call a synchronous I/O function such as ReadFile , if the data isn't already buffered in the system's cache, the OS begins a read from the disk, then blocks the thread until the data arrives, and it's not runnable. If you use the WaitForSingleObject or {Msg}WaitForMultipleObjects{Ex} functions, your thread blocks until one of the conditions is satisfied. Blocking for I/O can happen without any specific command from the programmer if the program references data that isn't currently in memory (whether to be read in from the original program files or from the page file).
The scheduler considers the set of runnable threads in priority order, from highest priority (31) to lowest (0). It only considers threads from the highest priority at which there are runnable threads, unless there are fewer threads at the highest priority than there are processors, in which case it will consider threads at the next lowest priority level which has runnable threads. This means that if a high priority thread never blocks (and therefore stops being runnable), it can prevent lower priority threads from getting CPU time. Best practice is to simply use the Normal priority, the default. The scheduler maintains a queue of threads at each priority level, and simply (if all default values are used) assigns the first N threads in the queue to each of the N logical processors in the system.
The scheduler is invoked when one of three things happen: a running thread's quantum (time permitted to run) expires; a running thread blocks; some other event in the system causes a higher-priority thread to unblock. Windows raises priorities for some unblocking events which cause a thread to temporarily have a higher priority, which increases responsiveness.
This is complicated by affinity (where a thread can be prevented from running on certain logical processors), and by the fact that Windows allocates an ideal processor for each thread, and remembers the last processor that a thread ran on. Windows tries to run a thread on the last processor it ran on, then its ideal processor, to take advantage of the processor's cache - with luck, the code and data that the thread referenced last time it ran (and hopefully will reference again this time) will still be in the processor's cache and will therefore not have to be retrieved from main memory.
Hyperthreaded processors are a bit odd. The execution resources of a single core are contended for by two logical streams of execution. If both threads scheduled on a hyperthreaded core require lots of resources, they will get in each others' way. Windows XP and Server 2003 understand HT and will ensure that one thread is running on the first logical processor on each core before starting to use the second. They also understand multicore processors and will try to schedule threads so that cache thrashing - where the data referenced by one thread causes the data needed by another thread to be removed from the cache - doesn't occur. Finally, both understand NUMA (Non-Uniform Memory Access) systems and use knowledge of which node particular memory is connected to in order to choose a processor which is near the memory that the thread needs to use.
As for bus transfers, PCI is much slower than the processors' connection to the chipset or to memory. On (standard) Intel systems, all processors share a single front-side bus connecting the processors to the main chip of the chipset which connects to memory (North Bridge or Memory Controller Hub). AMD Athlon 64 and Opteron processors include the memory controller in the processor chip and connect directly to RAM, so multiple socket AMD systems are NUMA.
Best practice as a programmer is to make threads block whenever there isn't anything for them to do. If a thread is left runnable it will end up wasting processor time that could have been used by a thread that would do something useful.
So for your example the way that the processors are used depends very much on the exact way in which the threads block and unblock. As a guide, consider adding more CPU resources if the % Processor Time counter (CPU Usage in Task Manager) on your single processor system is consistently above 80%.
Reference: "Windows Internals, Fourth Edition" by Mark Russinovich and David Solomon.
|
|
|
|