Forum: C Feb 17th, 2006 |
| Replies: 12 Views: 6,694 Ok guys, first off thank you sooo much for all of the good advice. I have been able to track this down to the strtok having issues with incomplete lines. It was looking for a=b, c=d etc. But I was... |
Forum: C Feb 16th, 2006 |
| Replies: 12 Views: 6,694 I figured that out the hard way. I am thinkinig about doing a regex on each line but am not sure how to do it.
so the argv[i] is string literal? I could create a buffer and then replace "$"... |
Forum: C Feb 16th, 2006 |
| Replies: 12 Views: 6,694 I tried to escape it in the loop ( I do not have control of what gets put on argv) I will try and quote it. |
Forum: C Feb 16th, 2006 |
| Replies: 12 Views: 6,694 tibrvMsg_UpdateString is a call to an API.
char* subjectName = NULL;
tibrvMsg message;
tibrv_status status = TIBRV_NOT_INITIALIZED;
I have done... |
Forum: C Feb 16th, 2006 |
| Replies: 12 Views: 6,694 I am so new to all of this that I am not sure what or how to do a debug trace.. I just inserted printf statments until I found where it failed.
I am using a command line of "... |
Forum: C Feb 15th, 2006 |
| Replies: 12 Views: 6,694 I am using strtok to parse the argv. On windows it works just fine but on Solaris I get a fault. I have traced it down to the "$" character on the command line.
char *result = NULL;... |
Forum: C Feb 14th, 2006 |
| Replies: 2 Views: 1,481 Wonderful, you confirmed what I was working on. Thanks for the help. It works! |
Forum: C++ Feb 14th, 2006 |
| Replies: 4 Views: 14,341 Try to use tokens
result = strtok( line, "*" ); |
Forum: C Feb 14th, 2006 |
| Replies: 2 Views: 1,481 Hey, I am a newbie to all of this so please don't flame me for a stupid question.
I am trying to write a shared lib that will initialize a connection to a messaging deamon. Then the library... |