Hello,

Does anyone know a good way to find out the name of a exported method on C++

I am trying to link to C++ from Symbian OS. The method is declared like this:

class User : public UserHeap
   {
public:
.........
   IMPORT_C static TInt InfoPrint(const TDesC& aDes);

Normally I would guess it´s:

_ZN4User2InfoPrintEc

Or something similar. But it doesn´t work.

Any other ideas? I tryed to open the .lib file with a HEX editor to
search for _ZN, or other strings that would reveal the mangled name,
but it was futile.

thanks a lot,

Felipe

PS: My God, it´s a headache to link to c++
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to