I mean the 1st.....
Forcing someone elses APP into a windowed mode...
Main Topics
Browse All TopicsCan anyone here tell me if that is possible or not?
I know i CAN be done but HOW?
Please folks - Enlighten me
Thanks
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
So this is a fullscreen DX application that you don't have the source to, if I understand you correctly.
The short answer is No, it is not possible.
The long answer is that without some sort of an emulator or wrapper, it is not possible.
In Linux, using Wine, you can run full screen DirectX applications in a window, the reason is that it's really still full screen but the whole screen is emulated inside a window.
The reasons for this inability is how you set up drawing in full-screen and windowed mode. Besides just the resolutions and other problems, when you are in windowed mode your primary surface is still the whole screen.
Why is that a problem? Well it's a problem because you can and *will* draw outside your window. It can be useful for a screensaver or something, but generally it's not what you want to do.
To get around this you have to have support for it in the program (source code). The programmer sets up a clipping object that keeps them from drawing outside a given area. Also they have to keep track of where their area to draw is, because 0,0 is no long the top left of their window, but the top left of the screen.. perhaps they can only really start drawing at 250,200 or something.
I hope this helps you understand the situation. Any clarifying questions?
Ok, lucky for me I have a friend on the DAOC development team.
I asked him about the DAOC window utility, and he told me that even the first version (non expansion pack) had windowed support in the code but it wasn't enabled. They only enabled it for the expansion pack. The "utility" hacks the executable to enable that support.
I assume that EQ also had the windowed support in but disabled before as well.
So my assertion still stands that you have to have support in the code. There is still the possibility of emulating a full screen surface like Wine under Linux, but I have no idea about how one would do that on windows.
I dont' know what exactly you need windowed mode for, but you might be better off with a second computer for IM & Email and whatnot if that's what it's about...
Hope this clears things up more :)
Well, you could maybe check a "proxy-dll" approach. See http://www.proxy.mikoweb.d
Using a proxy-dll, calls to DX are intercepted. You could maybe change the creation parameters of the device, thus trying to force it into windowd mode.
Nothing is 'impossible.' Some things would require more work than others.
Recently a friend of mine did it to a game (www.darkages.com). The client is a forced windowed mode in 640x480. There is windowed mode built into the client, but enabled the command line option (hexing the exe) didn't work as they had a "check" to ensure it was in fullscreen.
How was it done? Using a little ASM/C, code was injected to the game (launched by CreateRemoteProcess) and a clipper was attached to the drawing window. The game used Blt already, so we didn't have to change from BltFast to Blt, but there were still a few issues we had to work with (such as making the cursor redraw on WM_PAINT messages and making it Sleep(0) as needed).
Nothing is impossible, learn ASM and you can do nearly anything you want with a little (ok, a good bit) research and poking around.
Business Accounts
Answer for Membership
by: makkbruPosted on 2003-03-14 at 01:10:45ID: 8134891
Are you talking about programming a fullscreen app that can be changed into a window or changing for instance halflife into windowed mode....
if you are talking about programming you have to reinitialize the device with windowed = true...