Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DLL Talk / Dual Monitor Support DLL...

Author
Message
Acolyte
18
Years of Service
User Offline
Joined: 3rd Feb 2006
Location:
Posted: 26th Aug 2006 06:53
Hello all,

I'm a novice c++ programmer and I just recently ran into a problem and i'm trying to come up with a solution myself.

I recently bought another monitor and extended my desktop onto the other one. To my suprise, when I tried to run my 1280,1024,32 screen game, i got an error from the compiler. I know that neither DBPro or the GDK supports dual monitors yet, and I wondered if I could start on something to fix that.

I was wondering if writing a dll that can either make use of the added monitor, or just ignore it altogether would be the way to go about it. I was thinking of making it as simple as a command that turns on dual monitor support and a few others that allows you to configure how you want to extend it. As it stands I can't even run my programs right now, either in DBPro or the GDK, so any help here would be appreciated.

What I really need to know is would this be possible to write a command library in a DLL format that would allow for enabling this 'dual monitor support', and if it is what sort of steps should i follow to getting this done. Should I try to consult the directx libraries for answers on how to support this and just code that into my functionality, or is this getting into windows API coding?

Thanks so much for your help guys!

The scarecrow has no mind, but serves its function well.
warship45
20
Years of Service
User Offline
Joined: 24th Jul 2004
Location: uk
Posted: 26th Aug 2006 11:03
on the dbpro compiler when did the error come up as it started to load the game or application or sometime in the middle of the game or application? if it was right at the start then i dont think it will be possible because the compiler is getting the error on some of the commards it alreadys has or because the hardware it not working right so i dont think it would but i may not be right you will have to wait for somone who knows more about the compiler and how it works.

dbpro plugins
www.0z0.co.uk
Acolyte
18
Years of Service
User Offline
Joined: 3rd Feb 2006
Location:
Posted: 27th Aug 2006 01:29
The error was right at the beginning before it was even loaded all the way up. I would like to write two DLLs one for DBPro and one for the GDK in c++. I have both, and i use both, so it would be nice to have a dll for both.

Here's the thing, pretty much every commercial game out there has a way to get around someone who has dual monitors hooked up to their system, even if that just means disabling the other one while the primary one is playing the game. I just want the same basic functionality for us who are trying to program quality professional level games.

Anybody else have any ideas for me? I know it's not my driver, other games run fine, just not the ones done with DBPro or the GDK.

The scarecrow has no mind, but serves its function well.
Michaelc
18
Years of Service
User Offline
Joined: 17th Jun 2006
Location:
Posted: 28th Aug 2006 19:18
Look in the DirectX9 help file and search for selecting a device, good luck.

Login to post a reply

Server time is: 2024-11-25 18:05:55
Your offset time is: 2024-11-25 18:05:55