Hello,
I am trying to monitor child processes by means of the waitpid() system call (on Sun Solaris).
JNIEXPORT jint JNICALL
Java_blablabla_NativeInterface_waitForDyingProcess
( JNIEnv *pJNIEnv,
jobject jobjectCaller
)
{
pid_t pid = waitpid (0, 0, WNOHANG);
if (pid...
Hello,
It seems that the GetOleDBSchemaTable() is the method I was looking for.
Indeed, digging deep in the Class Library is what I need to do more often...
Thanks to both of you
Luc
"Generally you just dig into the .NET Class Library Reference documentation" is what I tried, but with no luck so far...
And concerning the 'DataSet' : According to my first examinations, the main strategy is :
- connect
- create a command for a specific SQL statement
- create a...
Hello,
In an old MFC tool, I used following code to determine all tables in an ODBC connection.
// Get a list of the tables
CTables rs(&m_db);
rs.Open(NULL, NULL, NULL, "TABLE");
// Cycle through all the tables
CString strTableRef;
while (!rs.IsEOF())
{
}
How can I...
Hello,
I need to select some Database Upgrade Tool / Software, which allows us to improve our application upgrade strategy.
(synchronisation of databases, comparison of DDL's, replaction of changes etc...)
Change Manager from BMC software is a candidate. Does anybody know a link towards...
Hello,
My worst nightmare is coming true...
I work on a Compaq Alpha Server (4.0G)
By accident I removed many directories by means of a 'rm -r *' command in the wrong directory.
And now it seems the disk was not in the daily backup schedule. (Most recent backup 10 months ago)
Refactoring the...
Through another channel, I got this information.
It is only possible to generate a unique name (PID / timestamp) in AIX 5L.
This is documented in SG245765, AIX 5L Differences Guide.
Hello,
I have a first process that produces a core dump. Unfortunately other programs crash immediately and overwrite the initial core dump.
On Sun Solaris and Compaq TRU 64, one has the possibility to configure the kernel to produce core files like :
core.process1.1
core.process2.1...
Hello,
My communication server program is socket-based. This server listens to a number of sockets simultaneously, and when one socket indicates that a message is available, it uses the read() system call to fetch the data.
So :
---> poll() indicates the socket on which a read is available...
Hello,
I am using the IBM IDEBUG debugger to debug some kind of scheduler. Upon each fork() system call the debugger asks me whether I want to follow the parent or the child process.
Is there a possibility to indicate that I am only interested in the parent process ? (The compaq ladebug...
Hello,
I really went through the documentation I could find. What I am eventually looking for is a migration guide for the ld/cc commands between AIX and HP-UX , or OSF1 and HP-UX, or Sun-Solaris and HP-UX.
Thanks
Luc
Hello,
I have 2 modules (actually I have more of them, but 2 are giving me headaches) : 'error' and 'time'. Now I need to create 2 shared libraries 'error' and 'time', but what happens ?
'error' uses 'time' and 'time' uses 'error'.
ld -o liberror.sl error.o -ltime
ld -o libtime.sl time.o...
Hello,
I am developing on a IBM RS/6000 AIX server.
I have a C-process with many shared libraries attached (+/- 250).
At some point a Java VM is being created with the call :
JNI_CreateJavaVM( &( gpJavaEnvironment->pJavaVM ),
(void**)&( pJNIEnv )...
Hello,
I am running a process with many shared libraries attached (+/- 250).
At some point a Java VM is being created with the call :
JNI_CreateJavaVM( &( gpJavaEnvironment->pJavaVM ),
(void**)&( pJNIEnv )...
Hello,
I am having problems connecting to my RS6K by means of Reflection : it is around 10 times slower than to the other servers.
I opened a new thread for that question (X connectivity problems); i don't know whether these 2 are related.
Regards
Luc
Hello,
I have a Compax TRU64 server, a Sun , and a HP-UX server. From my desktop I connect with these server through Reflection X software.
Now a RS/6000 has been added. Connecting to it by means of Reflection is around 10 times slower than to the other servers.
In order to have Visual Age...
Hello,
I am using generic scripts to port our software to various UNIX platforms (Solaris / HP-UX / OSF / AIX). It seems AIX will lead me to some problems.
The dos2unix tool (sometimes called flip) is missing. Is there another tool? I might implement it with a 'one-liner' sed script, but I...
We have a problem linking shared libraries on a Compaq Alpha Server running on UNIX 4.0G.
This shared library consists of 1 C-module, of which we only want to export 1 function. The variables that were declared globally should not be exported.
By means of the -exported_symbol linker option...
Hello,
I try to use the Visual Age C++ Compiler on a RS/6000 - AIX host.
When I launch the application from the console, it runs smoothly, but when I use my own desktop, a blank splash screen pops up, and the application hangs.
I use Reflection X 8.00 software to connect to the host.
Does...
Hello,
Here is some more information. It seems that the FILE * structure as defined by Solaris 8 only allows for 255 files to be opened (they use 8 bits of memory)
This means that when a process is using more files, functions like fprintf() fopen, fseek() etc can no longer be used !!!!
Is...
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.