RE: Fw: apr_shm_create

2005-04-01 Thread Frédéric Bor
I'm using apr shm facilities in my module and it's working fine (on linux/win32/solaris). For Nedelcho's problem, you can use a named shared memory segment with apr_shm_create but if you kill server process or if server crash, you have to remove the segment from the kernel (see commands like ipcs

RE: using apxs

2005-02-25 Thread Frédéric Bor
Hi, You're using C++ classes in C code. That's not possible and you can fix this either by rewriting your C++ code in C, or either by doing C wrappers (look for usage of extern C). Good luck. -Message d'origine- De : news [mailto:[EMAIL PROTECTED] De la part de Laszlo Envoyé : vendredi

RE: using apxs

2005-02-25 Thread Frédéric Bor
In the idea, you have to do something like this: C1_wrappers.h: #ifdef __cplusplus extern C { #endif typedef void * C1_OBJECT; C1_OBJECT C1_create(); void C1_destroy(C1_OBJECT p); int C1_func_call(C1_OBJECT p, int param1, const char * param2); #ifdef __cplusplus } #endif C1_wrappers.cpp: