Re: does Inline::CPP recognize #import ?

[email protected] ("Sisyphus")
Newsgroups perl.inline
Message-ID <0B1DB85BA37140EC80E785E90F7582C2@desktop2>
----- Original Message ----- 
From: "Xiao Yafeng"

> To me,
> There seems be 2 ways to do:
>
> 1. compile a dll then call it from a Inline::C/CPP script

If you want to call functions in the dll from your Inline::C/CPP script then 
you'll also need to have an import lib for the dll.
Then you link to that import lib in the Inline config section with:

LIBS => '-LC:/location -lmylib',

(There may be other ways to do it, but that would be the simplest afaik.)

> 2. below is messages in buildlog of VS, maybe I can find something useful?

I don't know.

Cheers,
Rob
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.