Re: What's the big deal with cross-platform?



Martin Harvey wrote:

How can you tell what runs on top of the other?

Generally, you tell by reading the docs, but more experientally, you
tell by invoking some core function, and tracing the call stack all the
way down.

This way you get the *actual* implementation, but not how it may work in the next Windows version, or in WinCE, or...

A 16 bit app can run in Win 3.x, which runs on top of MS-DOS, or in msoldap, which runs on top of NT. The same can happen with Win32 (unmanaged) code, which nowadays may run in a level closer to the kernel, but in future versions may run on top of .NET.

DoDi
.



Relevant Pages

  • Re: singe thread per connection
    ... process is about 2000, with the practical maximum somewhat lower, and performance suffering significantly before that. ... If you use a different stack size than the default, or don't actually allocate one OS thread per Java thread, then the actual limit would be different. ... But in Windows, both in the regular Win32 API and under .NET, there are i/o mechanisms that can be used that allow a single thread to service an arbitrarily large number of i/o tasks. ... This allows a program to create just enough threads to keep all the CPU cores busy, and the Windows scheduler knows to treat those threads specially so that if the only other runnable thread is one that would do the same thing that the currently running thread would do, the currently running thread is allowed to just keep running, rather than being preempted for no good reason. ...
    (comp.lang.java.programmer)
  • Re: Iczelions tutorials revisited.
    ... By "local" variables on the stack I assume something like this? ... access parameters and locals that way. ... The Windows API uses "stdcall" in which "callee cleans up stack" - the Windows functions end with "ret N". ... Being an old dos-head, I'm used to using cx as a "counter", and it annoys me that calling libc or the Windows API is allowed to trash it, but that's life... ...
    (alt.lang.asm)
  • Re: How to prepare a kernel driver pdb file for TraceView
    ... Do I need to do something else to get tracing turned on? ... Win16 system directory. ... BTW, my supposition as to why this is working for Eliyas and not you is that Eliyas is using Windows Vista, and you are using a non-Vista/Windows Server "Longhorn" version that ships an old dbghelp which does not meet the requriements of tracepdb.exe. ... SymSearch at 145 and 146. ...
    (microsoft.public.development.device.drivers)
  • Re: Is MASM32 an evil Microsoft plot?
    ... Now your next blunder is to call the default windows message handler ... > you could use most any assembler and the whole advocacy for MASM disappears. ... C3;; retn ... Is there supposed to be some profundity at addressing the stack ...
    (alt.lang.asm)
  • Re: IPAQs and Bluetooth and Visual Studio 2005 beta 2
    ... Differences between WinCE and Windows Mobile: ... Note that if you don't have a device running the Microsoft Bluetooth stack, ...
    (microsoft.public.pocketpc.developer.networking)