Search Results

Search: Posts Made By: JonhyM
Forum: Solaris 01-19-2011
5,665
Posted By JonhyM
Shared Folders in VMWare and Oracle Solaris 11
ive a Winows 7 Host and Guest is Oracle Solaris 11, i read the vmware guide, but still wont work, since the "mount" command changed in solaris i guess, mount -t vmhgfs .host/foo /tmp/foo says that -t...
Forum: Programming 12-20-2010
1,972
Posted By JonhyM
im already linking it, for XGetImage
im already linking it, for XGetImage
Forum: Programming 12-20-2010
1,972
Posted By JonhyM
no other option? maybe XCreateImage?
no other option? maybe XCreateImage?
Forum: Programming 12-20-2010
1,972
Posted By JonhyM
Changing BPP in XImage
im trying to take a 24 BPP screen cap and save it to bitmap, but seems like it XImage is always 32 BPP, the value 0x00FFFFFF supposed to be 24 !

whenever i change bmpInfoHeader.biBitCount to 24,...
Forum: OS X (Apple) 12-20-2010
12,053
Posted By JonhyM
ok, thanks for ur answer
ok, thanks for ur answer
Forum: OS X (Apple) 12-20-2010
12,053
Posted By JonhyM
o, ok, thanks, so all unix derivatives follow...
o, ok, thanks, so all unix derivatives follow POSIX 90%?
Forum: Programming 12-19-2010
1,438
Posted By JonhyM
Question about what Static Libraries are...
im used to windows dll which gets loaded at runtime, are static libraries the same? the ones i link with -l on gcc?

i mean, if my app used libpng for example, and i compiled it to a single ELF...
Forum: Programming 12-19-2010
10,134
Posted By JonhyM
thats so kewl :D, thanks man, im saved......
thats so kewl :D, thanks man, im saved......
Forum: OS X (Apple) 12-19-2010
12,053
Posted By JonhyM
Does MAC OSX follow POSIX?
i mean if i coded an application for Linux using System Calls and no libs, and compiled it on MAC, will it work?

thanks
Forum: Programming 12-17-2010
10,134
Posted By JonhyM
is there even any example of converting bitmap...
is there even any example of converting bitmap images to jpg or gif or png? i couldn't find any examples to learn from...

thanks
Forum: Programming 12-16-2010
10,134
Posted By JonhyM
i got no idea how to do it using any lib, u know...
i got no idea how to do it using any lib, u know how to?

---------- Post updated at 08:10 PM ---------- Previous update was at 02:34 PM ----------

i found this code


int
write_jpeg(FILE...
Forum: Programming 12-16-2010
10,134
Posted By JonhyM
Converting XImage to PNG
i was able to make a connection to X server and get a screen shot using XGetImage, now, im unable to save this XImage to any good format like PNG, i found a code that saves it to bitmap, but the...
Forum: Programming 12-15-2010
5,699
Posted By JonhyM
man, u didnt even read my post. my program is...
man, u didnt even read my post. my program is doing nothing, it has some buttons, i click one of them and it executes the sequence of commands STORED inside my program for this specific command.
and...
Forum: Programming 12-15-2010
5,699
Posted By JonhyM
thanks for ur help but my application never...
thanks for ur help
but my application never runs in xterm, its clicked and a gui is shown, all it does is that it saves me alot of typing in the terminal, all those flags and stuff, for example :...
Forum: Programming 12-15-2010
5,699
Posted By JonhyM
my application is totally something not related...
my application is totally something not related to xterm, it has a gui and everything, but im not good with coding yet as u can see, so im gonna execute terminal commands insted of coding them for...
Forum: Programming 12-15-2010
5,699
Posted By JonhyM
cause i needed to execute commands FROM my...
cause i needed to execute commands FROM my application and get the output, and executing commands one by one is very silly, and also i thought it would be a nice thing to learn from, and i was hoping...
Forum: Programming 12-13-2010
5,699
Posted By JonhyM
thars back to point zero, i already made that and...
thars back to point zero, i already made that and it even worked with fopen
i hope this code shows what im trying to do

#include <stdio.h>
#include <stdlib.h>
#include <string.h>

int...
Forum: Programming 12-13-2010
5,699
Posted By JonhyM
i still cant get it to work, can u be a bit more...
i still cant get it to work, can u be a bit more clear?
im too n00b for these lines
Forum: Programming 12-13-2010
5,699
Posted By JonhyM
#include <stdio.h> /* These are useful to...
#include <stdio.h>

/* These are useful to keep the source readable */
#ifndef STDIN_FILENO
# define STDIN_FILENO 0
#endif
#ifndef STDOUT_FILENO
# define STDOUT_FILENO 1
#endif
#ifndef...
Forum: Programming 12-12-2010
5,699
Posted By JonhyM
Redirecting Terminal to Local Application!
i wanted to execute some terminal commands on local linux, parse their output and display it to the user, i checked netcat source code but i couldnt understance it since im new to c (and linux at the...
Showing results 1 to 20 of 20

 
All times are GMT -4. The time now is 10:44 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy