Subj : XP Service Pack 2 and Borland C++ 5.0 To : borland.public.cpp.borlandcpp From : noahgustafson Date : Mon Jun 28 2004 11:06 am Hello, I have an app still in development using Borland C++ 5.01, and have been doing some pro-active testing with XP Service Pack 2, release candidate 2. When testing on a 64 bit machine, any Borland app built with OWL using a main window derived from TWindow results in a Data Execution Prevention error (the operating system stopping a program that is attempting to execute code from a data page). This has been traced to a the Windows API call "CreateWindowEx" in TWindow::PerformCreate(). Does anyone have any idea as to what is happening or why, and if there is a way around it while staying with Borland C++ 5.01? Data Execution Prevention can be turned off for all apps or specified apps, however I am trying to exhaust all other possibilities first. Thanks. .