Sponsored Content
Special Forums UNIX Desktop Questions & Answers start windows appl. from unix Post 20034 by llamasrg on Friday 19th of April 2002 10:19:34 AM
Old 04-19-2002
Bug

Thanks LivinFree - I appreciate the comments
. . . . Someone has to have details.
 

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Trying to shut down and start a Windows process

Hi , Good day people. I want to know if i can shut down a particular service that runs in windows from solaris through a script . Scenario : we have a distributed environment where we want to shut down a service that runs under windows through a shell script in solaris , is this kinda action... (3 Replies)
Discussion started by: vivsiv
3 Replies

2. Programming

how to start a c++ exe on unix from windows.

I'm very new to c++ & unix programming. I have a c++ exe that runs on the unix box, but I am trying to write a c++ windows app that executes the program on unix. I have tried execv(), but it doesn't seem to work or I'm doing something wrong. Would really like to see examples if at all possible. ... (5 Replies)
Discussion started by: ch5082
5 Replies

3. Programming

solaris appl migration: sprintf decimal separator

Hi, I am trying to migrate an application from Solaris to AIX 5.3.1. In both platforms the locale settings are as follows: Result of executing "locale" LANG=C LC_CTYPE="C" LC_NUMERIC="C" LC_TIME="C" LC_COLLATE="C" LC_MONETARY="C" LC_MESSAGES="C" In solaris when you execute this... (5 Replies)
Discussion started by: coldas57
5 Replies

4. Windows & DOS: Issues & Discussions

How to start a vbs from a windows batch file?

Morning, I'm trying to execute a vbs from a .bat file. Can someone tell me what the difference is between these statements: start c:\lib\runit.vbc c:\lib\runit.vbs When I run the batch with the 'start' parameter it doesn't seem to do anything. (1 Reply)
Discussion started by: Grueben
1 Replies

5. Windows & DOS: Issues & Discussions

Start windows application (.bat) from Unix

How can I start an application sitting on a windows machine (XP) from Unix shell script (AIX server) ? (6 Replies)
Discussion started by: pkan
6 Replies

6. Shell Programming and Scripting

How to start powershell with shebang from windows/cygwin/bash?

I would like to the the windws8/cygwin/bash shebang feature to start a powershell script. I do a "chmod +x set-sound.ps1" and then at a bash prompt I do ./set-sound.ps1 The first line of ./set-sound.ps1 #!powershell.exe -ExecutionPolicy unrestricted The result is the result: ... (5 Replies)
Discussion started by: siegfried
5 Replies

7. HP-UX

Compile krb5-appl 1.0.3 on hpux

asprintf.c: In function 'vasprintf': asprintf.c:58: error: 'SIZE_MAX' undeclared (first use in this function) asprintf.c:58: error: (Each undeclared identifier is reported only once asprintf.c:58: error: for each function it appears in.) Someone know how to fix? Thanks (2 Replies)
Discussion started by: Linusolaradm1
2 Replies

8. Windows & DOS: Issues & Discussions

How can I start a cygwin application from windows 7 command prompt?

I have compiled an application called tmesh.exe, that was compiled for the cygwin, win7 platform. I wonder, if I do that outside X window, Is there a chance that I can run it on the command prompt of windows 7? (tmesh:4048): Gtk-WARNING **: cannot open display: THANKS Jack (3 Replies)
Discussion started by: lucky7456969
3 Replies
get_desktop_resolution(3alleg4) 				  Allegro manual				   get_desktop_resolution(3alleg4)

NAME
get_desktop_resolution - Finds out the desktop resolution. Allegro game programming library. SYNOPSIS
#include <allegro.h> int get_desktop_resolution(int *width, int *height); DESCRIPTION
Finds out the currently selected desktop resolution. You can use this information to avoid creating windows bigger than the current resolu- tion. This is especially important for some windowed drivers which are unable to create windows bigger than the desktop. Each parameter is a pointer to an integer where one dimension of the screen will be stored. Under some OSes, switching to a full screen graphics mode may automatically change the desktop resolution. You have, therefore, to call this function before setting any graphics mode in order to retrieve the real desktop resolution. Example: int width, height; allegro_init(); ... if (get_desktop_resolution(&width, &height) == 0) { /* Got the resolution correctly */ } RETURN VALUE
Returns zero on success, or a negative number if this information is not available or does not apply, in which case the values stored in the variables you provided for `width' and `height' are undefined. SEE ALSO
desktop_color_depth(3alleg4), set_gfx_mode(3alleg4) Allegro version 4.4.2 get_desktop_resolution(3alleg4)
All times are GMT -4. The time now is 06:06 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy