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:
etc.LIBS => '"-L/D:\Documents and Settings\M1009280\My Documents\Visual St +udio 2005\Projects\Test\Test -lTest.lib"',
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.
|
|---|
| 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 | |
by BrowserUk (Patriarch) on Mar 13, 2009 at 07:16 UTC |