Search Results

Search: Posts Made By: Jess83
3,267
Posted By Jess83
Come on lol, there's got to be someone in here...
Come on lol, there's got to be someone in here with a clue??? please...
3,267
Posted By Jess83
Redirect command prompt in C WinAPI
Anyone has a clue how to redirect the commands sent to cmd via a C WinAPI program?

What I'm doing is a C WinAPI GUI program the FORM have a richtextbox that'll be read-only and some test options...
Forum: Programming 02-26-2010
7,684
Posted By Jess83
Odd segmentation fault on Ubuntu only
Anyone as a clue why my program returns a segmentation fault on Ubuntu but not on Gentoo? I dumped the core and check the output through gdb.

The whole program run fine all the way down and does...
Forum: Programming 01-23-2010
15,835
Posted By Jess83
Yeah, I knew it could be done with thread I felt...
Yeah, I knew it could be done with thread I felt a bit lazy I wondered if there was a "quick and dirty" way without having to rewrite too much of my codes. Also I need to port it to Windows after im...
Forum: Programming 01-23-2010
15,835
Posted By Jess83
Sorry I should of explained myself better. I...
Sorry I should of explained myself better.

I anticipated that the commands would take some time to completed and store the command outputs in the arrays so I put the menu after and made some dummy...
Forum: Programming 01-22-2010
15,835
Posted By Jess83
popen hangs program during cmd execution
How can I get around this? when my program reaches the following popen job it halts the program until the ping/netstat/ipconfig/traceroute is completed then resume to the rest of the program...
...
Forum: Programming 01-21-2010
29,711
Posted By Jess83
Sorry I should of been clearer, I "currently"...
Sorry I should of been clearer, I "currently" running the codes on a gentoo machine... I wanted to translate the bzero() bcopy() before attempting to port it to windows. Now I am on a Gentoo machine...
Forum: Programming 01-21-2010
29,711
Posted By Jess83
Yeah got <string.h> here's my entire code I know...
Yeah got <string.h> here's my entire code I know its sloppy but its doing what i want so far on gentoo. Its just a draft so far i'll put some order in it as im going and im fixing things and learning...
Forum: Programming 01-21-2010
29,711
Posted By Jess83
C bzero() to memset() issue
Hi guys,

my tool works fine in gentoo, ubuntu now im trying to port it to windows but bzero/bcopy I read aren't working on windows and for better portability I should of use memset() so im trying...
Forum: Programming 01-20-2010
5,482
Posted By Jess83
Thanks Pludi, attention error... I noticed the...
Thanks Pludi, attention error... I noticed the memory allocated for the command i was trying to run was way not enough... Another part of the problem I was getting was with the buffer size I had...
Forum: Programming 01-20-2010
5,482
Posted By Jess83
Yeah i got it to work with popen the following...
Yeah i got it to work with popen the following way

FILE *in;
extern FILE *popen();
char buff[512];
char newline[100];
char nstat[512];

strcpy(newline, "\r\n");



if...
Forum: Programming 01-19-2010
5,482
Posted By Jess83
C system() how to send the output to an array??
Hi, im in need if wisdom here guys...

How could I store the output of commands like ping integrally directly into a array??? I'll be using system() to run the commands but how can I send the...
Forum: Programming 01-09-2010
9,515
Posted By Jess83
Oh sorry that's already fixed but I was lazy and...
Oh sorry that's already fixed but I was lazy and cut n' paste from the forum previous posts and forgot to change it after i cut n' pasted :) I had notice it right away when gautamdheeraj posted it......
Forum: Programming 01-08-2010
9,515
Posted By Jess83
Tried the \n and \r\n didnt work same thing... ...
Tried the \n and \r\n didnt work same thing...

strcpy(buffer, "MAIL FROM: test@primustel.ca)";

Yeah i had noticed, i fixed it prior to try to compile but I dont think it would of neither :)
...
Forum: Programming 01-08-2010
9,515
Posted By Jess83
Alright good to know, I tried as you said and it...
Alright good to know, I tried as you said and it seems to work like the program pass the commands to the SMTP however it returns an error 501 (invalid characters or command) so im assuming its...
Forum: Programming 01-08-2010
9,515
Posted By Jess83
C socket issue with SMTP
Hey guys, im trying to write a program that'll create a report then email the report... my problem is when it comes to the socket trying to send the second command after EHLO smtp,*.*

When the...
Forum: Programming 12-19-2009
3,278
Posted By Jess83
Thanks Tony, sadly no I can't afford assuming...
Thanks Tony, sadly no I can't afford assuming sendmail/mutt or anything is pre-configured already... Alot of these customers are using our web-interface based email client therefor most aren't...
Forum: Programming 12-18-2009
3,278
Posted By Jess83
Sending emails in C program for multiple machines on Linux/OSX
Hey guys, i am creating a tool that'll run a couple network test, generate a report then email the report. Now i a bit stuck with the email sending part... I tried at first a script which worked on...
Forum: Programming 12-17-2009
6,712
Posted By Jess83
Yeah thats what I figured with the html option,...
Yeah thats what I figured with the html option, it would of been useful because it provided me a way to accomplish the task without relying on a MTA for the email to be sent. I'll try scripting...
Forum: Programming 12-15-2009
6,712
Posted By Jess83
Thanks Corona688, good stuff to know. We only...
Thanks Corona688, good stuff to know. We only support OSX and up nothing less... Lucky though cuz i never thought bout the powerpc/x86 architechture issue when i started this side project lol. I did...
Forum: Programming 12-12-2009
6,712
Posted By Jess83
Yes well I work as a tech support, and one very...
Yes well I work as a tech support, and one very time consumming issue is having customer that just bought MAC machines or PC with Ubuntu on. That are very clueless about the OS so we have to guide...
Forum: Programming 12-12-2009
6,712
Posted By Jess83
C progress bar issues
-First-

Hi guys im trying to create a small C app that'll run PING/NETSTAT and such and generate a report... I want to create a progress bar so I figure since I was gonna use multiple commands I...
Showing results 1 to 22 of 22

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