On Fri, 2006-03-24 at 09:07 +0800, Laurent R wrote:
> Yes, I compiled both parts of codes with the same compiler. But I did not 
> use extern "c" definition.

C and C++ link objects differently. By specifying 'extern "C"' you tell
the C++ compiler to use the C-style for the specified objects. C++ by
default will mangle the name to allow fancy things like overloading and
namespaces.

Corey

Attachment: signature.asc
Description: This is a digitally signed message part

/*
PLUG: http://plug.org, #utah on irc.freenode.net
Unsubscribe: http://plug.org/mailman/options/plug
Don't fear the penguin.
*/

Reply via email to