operating-system

Difference between .com, .exe, and .bat?

what is the difference between a.bat, a.com and a.exe extensions? ...

When they say OS requires modification, what do they mean in Virtualization?

I'm reading an article about Xen, a virtual machine monitor. They say that an operating system requires some modification in order to be able to act as a guest OS on top of Xen. Now, for an OS like Linux, I can understand what a "modification" might mean but in the case of an OS like say, Windows XP, what does it mean? I mean, XP is clos...

How can I test whether or not "Microsoft Windows 7 Home Premium" is the operating system using VBScript?

My first attempt is to query Win32_OperatingSystem for the caption, and test whether the caption "equals" the operating system I am testing for: Dim objWMIService, strComputer strComputer = "." Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\CIMV2") msgbox getOperatingSystemCaption() msgbox meetsOperatingSystemRequi...

Are object files platform independent ?

Is it possible to compile program on one platform and link with other ? What does object file contain ? Can we delink an executable to produce object file ? ...

x86 assembly on x64 operating systems

Hello Recently i decided that it was worth getting a try on basic x86 assembly so that it would be easier to debug programs, etc, etc. So I started (about a week ago) learning x86 assembly, in that time, I upgraded my computer to 8GB ram, so obviusly my x86 Windows XP installation was wasting up all that memory, now, I'm running a x64 W...

Variable Context Switching Time

Hi there, I just made some changes to the context switch routine of Linux. I am facing now the following dilemma: The context switching time is no longer deterministic, i.e. the execution time varies on the applications that are switched out. I am wondering now what could be the negative implactions of such a behaviour. One potential pi...

What's the difference between a thread's stack and a process's stack

Do threads and processes both have independent stacks? If the answer is yes, what's the difference between them? Thanks in advance! ...

Any tool(s) for knowing the layout (segments) of running process in Windows?

I've always been curious about How exactly the process looks in memory? What are the different segments(parts) in it? How exactly will be the program (on the disk) & process (in the memory) are related? My previous question: http://stackoverflow.com/questions/1966920/more-info-on-memory-layout-of-an-executable-program-process In m...

what is the difference between synchronous apis and asynchronous apis ?

I want to know about the synchronous apis and asynchronous apis in operating system. What is the difference between them ? ...

Is there any difference in major browsers' rendering across operating systems?

I have long believed that the only difference as far as the rendering of major browsers on different platforms is concerned is operating systems' underlying font-rendering technology, everything else relying upon the same libraries included with the browser. As far as my research takes me, this is something that front-end developers eit...

What is the context switching time ?

I have a doubt in context switching. In multi threading, when the context switching occurs, what will be the time between two context switches? Is it fixed time interval? ...

Operating system video lectures

Can somebody please refer me to links to videos for lectures for learning operating system concepts thanks ...

How to make an operating system

I want to develop an operating system just for fun. What steps are needed to create it? ...

Multithreaded Heap Management

In C/C++ I can allocate memory in one thread and delete it in another thread. Yet whenever one requests memory from the heap, the heap allocator needs to walk the heap to find a suitably sized free area. How can two threads access the same heap efficiently without corrupting the heap? (Is this done by locking the heap?) ...

How to detect if user is using Mac or Windows on website

What's the standard, most reliable way of doing this? I need to redirect a user to download the Mac version or the Windows version of my software when they click "Download" on my website. ...

Is it possible to replace Loader of an OS? Any way to obtain the control over Loader?

Hello, I was just wondering if it is possible to replace Loader (executable program loader not the boot loader) of an Operating System (Windows is my choice). Are there any third party loaders available that would patch the default one. Is there any way through which I can obtain the control over the OS Loader? I mean, I want things it...

we would like the user to be able to pick a file from native file system and drag & drop it to our application icon and have it uploaded to server

We have an existing java desktop application which starts, when user click on our application icon (placed on desktop) OR double click on executable(.exe). It opens the frame which allows user to select the file from native file system and uploads it to the server. Now we would like to facilitate user, that he can pick a file from wind...

I never really understood: what is Application Binary Interface (ABI)?

I never clearly understood what is an ABI. I'm sorry for such a lengthy question. I just want to clearly understand things. Please don't point me to wiki article, If could understand it, I wouldn't be here posting such a lengthy post. This is my mindset about different interfaces: TV remote is an interface between user and TV. It is an...

How can we print docs from SWING application

We have swing application. It includes documents(PDF, MSWord documents) Can we call system's print dialog form our program to print this documents? Target operating system is Windows XP. And, id it is impossible, how can we process PDF and print PDF from java? ...

iPhone OS 3.1.3 does not work with Xcode 3.2.1. Do I have to install SDK 3.2 BETA?

Same as the title. Do I have to install SDK 3.2 BETA to work with OS 3.1.3? I really want to avoid to install BETA on my main workstation. No other way? I'm also thinking about rollback to OS 3.1.2 if there is no way. I'm regretting about I made no backup. ...