Isn't it just that you have not set your LD_LIBRARY_PATH in the new environment?
i.e. setenv LD_LIBRARY_PATH <path to apache/lib>:${LD_LIBRARY_PATH}
========================================
hmm - should I concentrate on C# or Java next?....
========================================
Anyone ever seen a process fork but then the child hangs so never gets to the exec line? fork returns a valid pid and the process does get created since our app has a timeout and it catches the hung subproc at shutdown.
There is nothing relevant in /var/adm/messages.
There is a cout in the...
Or looking at the whole thing another way,
b = new B;
creates a "B" and points to it using "b". Later you need to free that "B" before changing the pointer to point to a different object. This is what "delete b;" does.
... some code to use the first B...
This template converts anything to a string as long as it has a stream operator defined for it (apologies if there are any typos we have an ancient Sun 4.3 C++ compiler which does not have stringstream so our version uses ostrstream)
template <class T> string mlToString(T thing)
{...
Hi,
The standard C library (and hence std c++ lib) provide <time.h> which has "struct tm" and time_t types and a number of associated functions which should allow you all the manipulation you require.
I haven't tried the following but it should work ok:
// Time(0) returns the...
ok - hackey way to get at the info. This works on solaris and should work on HPUX too.
use "dis -C <exe name>" to get a disassembly of the executable. "dis" is the disassember, the -C option outputs C++ calls in a de-mangled format (otherwise you get them in a mangled C...
You probably have solved this by now, but the following all get the user name I believe on solaris
getlogin // this is a posix function too
cuserid
anyway, copy this into a string as you suggest then compare it to the entered value. You probably don't need the following code but anyway this...
aha - I just re-read this and think I know what you are after. I think you want a think called a static analyzer. This will process your code and show you a function/class call tree
fnA--+fnB
|
+fnC--+fnD
etc. I don't know of any off the top of my head but if you are prepared to pay...
This might not even be necessary. Do the dlls really need to be dynamically loaded? Are there multiple instances of the program running at once or are the libraries used by many different executables at once?
Even if they are, is the executable image really that big that they need to be shared...
1) Have you initialised you mutex varible correctly?
2) Are you sure you are using the same instance of the Mutex varible in both functions.
3) If your GUI does not have to update at exactly 30 second intervals, you could just
mutex_lock
update GUI
mutex_unlock
sleep(30); // lock may block so...
I have done something similar myself in the past in a very large C++ program suite.
You define a class which logs function entry on creation and function exit in the destructor. NOTE: you don't really want it to log to stdout since it will get all mixed up with your own output. Best to make it...
As others have said, apart from ceil() and floor() these are not ANSI functions - that is why you can't find them! The following URL explains which are standard.
http://www.cplusplus.com/ref/cstdlib/
Have you tried "man fcvt ltoa" etc to see if they are supported in some special...
Sorry the following is all very muddled but should get you started.
We use the "xerces" freeware XML parser from apache www.apache.org. We are using version 5 which is quite old now as they are on at least version 7 but 5 works just fine for us.
It is not a simple piece of software...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.