in reply to Re^8: How do I call C++ Dll's class Function in perl using Win32::API
in thread How do I call C++ Dll's class Function in perl using Win32::API

I've never used INline::CPP (I hate C++ with a vengence!), but it seems fairly obvious from the errors you've posted that the first thing you need to do is quote any paths that contain spaces.

Eg,

LIBS => ' -L/D:\Documents and Settings\M1009280\My Documents\Visual St +udio 2005\Projects\Test\Test -lTest.lib',

Should be:

LIBS => '"-L/D:\Documents and Settings\M1009280\My Documents\Visual St +udio 2005\Projects\Test\Test -lTest.lib"',
etc.

NOTE: the "s embedded inside 's.

I'm not saying that will fix everything, but it might move you along a little. If you're lucky, someone who has used Inline::CPP will chime in about now.


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
"Too many [] have been sedated by an oppressive environment of political correctness and risk aversion."

Replies are listed 'Best First'.
Re^10: How do I call C++ Dll's class Function in perl using Win32::API
by anupama (Novice) on Mar 13, 2009 at 07:12 UTC
    Hi No major changes seen even after changing the quotes ""
    I would be really thankfull to u if u can tell me how do i handle "Name Mangling" in perl shile calling the C++ Class.