Difference between revisions of "Faq"

From reSIProcate
Jump to navigation Jump to search
 
(first attempt at a FAQ)
Line 1: Line 1:
# Why does dynamic_cast<MyContents*>(foo) return 0?
+
=== Nothing is happening, what's wrong? ===
 +
You must add transports.
 +
 
 +
=== Why does addTransport throw? ===
 +
Sorry, the answer is not in my notes.
 +
 
 +
=== Can I remove transports? ===
 +
No.
 +
 
 +
=== Why does dynamic_cast<MyContents*>(foo) return 0? ===
 +
You have to include the contents header file in the file that has the main library (for example, #include “SdpContents.hxx”) otherwise dynamic casts will fail. There will be a body, but it won't have contents.
 +
 
 +
=== buildFdSet, select, process ===
 +
Please rephrase as a question. Thanks.

Revision as of 14:16, 16 June 2005

Nothing is happening, what's wrong?

You must add transports.

Why does addTransport throw?

Sorry, the answer is not in my notes.

Can I remove transports?

No.

Why does dynamic_cast<MyContents*>(foo) return 0?

You have to include the contents header file in the file that has the main library (for example, #include “SdpContents.hxx”) otherwise dynamic casts will fail. There will be a body, but it won't have contents.

buildFdSet, select, process

Please rephrase as a question. Thanks.