![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | Problem with Tomcat server on windows Vista when used with c++ and java Hi, I have one c++ application to get number of monitors from system. I am calling .exe of c++ application using java api through tomcat server in browser on window vista. right now I have two monitors attached in the system.one primary and other secondary. but when i call c++ application using java api through tomcat server, it lists only one primary monitor. i have some scenario for behavoiur of such application: (1) when i run directly c++ application on vista it works fine.(gives two monitors) (2) when i run using sample java code without tomcat server it works fine..(gives two monitors) (3) when i am calling from browser through tomcat server it displays only one monitor. (4) one important thing is that when i call same thing on Windows XP it works fine..(gives two monitors) can anybody tell that what could be the problem to get list of monitor through tomcat server on windows vista? Ravi. |
My System Specs![]() |
| | #2 (permalink) |
| | Re: Problem with Tomcat server on windows Vista when used with c++ and java Possibly you need a later Java - is Java completely updated? http://java.sun.com/javase/downloads/index.jsp You might consider a beta Java SE if that won't fix it. This is just a guess - I don't code software. Only a few people who code software view posts in this newsgroup, so finding a better newsgroup for your question might get you a better answer. <gamiravi.d@xxxxxx> wrote in message news:1191597222.125717.178670@xxxxxx Quote: > Hi, > I have one c++ application to get number of monitors from > system. I am calling .exe of c++ application using java api through > tomcat server in browser on window vista. right now I have two > monitors attached in the system.one primary and other secondary. but > when i call c++ application using java api through tomcat server, it > lists only one primary monitor. > > i have some scenario for behavoiur of such application: > > (1) when i run directly c++ application on vista it works fine.(gives > two monitors) > (2) when i run using sample java code without tomcat server it works > fine..(gives two monitors) > (3) when i am calling from browser through tomcat server it displays > only one monitor. > (4) one important thing is that when i call same thing on Windows XP > it works fine..(gives two monitors) > > > can anybody tell that what could be the problem to get list of monitor > through tomcat server on windows vista? > > Ravi. > |
My System Specs![]() |
| | #3 (permalink) |
| | Re: Problem with Tomcat server on windows Vista when used with c++ and java <gamiravi.d@xxxxxx> wrote ... Quote: > I have one c++ application to get number of monitors from > system. I am calling .exe of c++ application using java api through > tomcat server in browser on window vista. right now I have two > monitors attached in the system.one primary and other secondary. but > when i call c++ application using java api through tomcat server, it > lists only one primary monitor. I agree with Michael Jennings, you're unlikely to get good answers in this group, which is oriented to end-users. You'd have better luck in a developer newsgroup, such as microsoft.public.win32.programmer.ui. But, in general terms .. I suspect your problem description is a bit too high level. You need debug into the problem and decompose it a bit more. Exactly how does the C++ app enumerate the multiple monitors? Is it calling GDI functions, such as EnumDisplayDevices(), for example? What is it returning? And so on. -- Andrew McLaren amclar (at) optusnet dot com dot au |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Vista and Windows Server 2000 problem. | Vista networking & sharing | |||
| Vista crashes firefox every time I try to use del.icio.us firefoxextension - is this a java problem? | Vista General | |||
| Tomcat 6 in Vista Home Premium | Vista General | |||
| installing tomcat on vista | Vista networking & sharing | |||
| Vista-Java problem | Vista performance & maintenance | |||