Mainly I guess some memory protections will apply in other operating systems, such as DEP, which would make your exploit to fail.