I don’t have QNX RTP but i read some documentations
about neutrino and IPC functionalities.
I would like to know if neutrino APIs could be
compile with C++ code. I’m very interesting
in messaging architecture between different
processes but all my code is in C++.
Thx for your help.
Regards,
Kub.
p.s. Do you think it’s crazy to see QNX RTP as
an OS for game consoles ?
I don’t have QNX RTP but i read some documentations
about neutrino and IPC functionalities.
I would like to know if neutrino APIs could be
compile with C++ code.
Absolutely. In general, any C API/library can be called
from C++ – one just has to make sure the function definitions
are encapsulated with:
extern “C” {
/* all the C prototypes etc */
};
Usually this is done in headers with:
#ifdef __cplusplus
extern “C” { #endif
at the start
and
#ifdef __cplusplus
}; #endif
at the end.
Our headers should have that – if they don’t, let us know and we’ll
update the header, and you can work around it in your own code
with
extern “C” { #include
};
Kub.
p.s. Do you think it’s crazy to see QNX RTP as
an OS for game consoles ?
Not at all. I think it would be a great use for QNX RTP.
I don’t have QNX RTP but i read some documentations
about neutrino and IPC functionalities.
I would like to know if neutrino APIs could be
compile with C++ code. I’m very interesting
in messaging architecture between different
processes but all my code is in C++.
Thx for your help.
There is no problem with using C++ with neutrino, just remember
that you can’t pass Objects with the IPC functions unless your objects
have a way of transforming themself into a serial byte stream.
I don’t have QNX RTP but i read some documentations
about neutrino and IPC functionalities.
I would like to know if neutrino APIs could be
compile with C++ code. I’m very interesting
in messaging architecture between different
processes but all my code is in C++.
Thx for your help.
There is no problem with using C++ with neutrino, just remember
that you can’t pass Objects with the IPC functions unless your objects
have a way of transforming themself into a serial byte stream.