Freeframe / vc9 / c++

anyone successful in compiling a plugin using msvc ?
( i’m sort of fedup with installing the 3rd gnu/ide thing
on my system )

i succeeded setting up a c++ proj and compiing it,
but my plugin does not show up in vvvv.

think the fault is in the c++ name-mangling of the ‘plugMain’ entry

if i take a look at trautner.dll in the dependency walker,
i see TWO versions of plugMain exported:

plugMain @1
plugMain@12 @2

this seems to be due to the .def file they are using, which
says, strangely

exports:
plugMain = plugMain@12 @1 ???
plugMain@12 @2

this won’t compile in vc, since plugMain@12 is unknown.

any help welcome !

helo p4³,

i am not familiar with msvc, but you should be right that the .def file is the crucial part. it’s been quite some time, but i remeber that with the code::blocks IDE the .def file was needed as provided. else it would compile, but the resulting .dll not open in vvvv.

what if you compile without the .def file?

the official freeframe sdk comes with msvc project files iirc…so you could try creating a working template from those…

thanks, jorek!

but i remeber that with the code::blocks IDE the .def file was
needed as provided. else it would compile, but the resulting .dll >not open in vvvv.
what if you compile without the .def file?

same thing in msvc, the thing does not show up in vvvvv.

… the official freeframe sdk

that’s where i started from.

i am just annoyed about the TWO exports and the strange redirection
where i would expect something simple, like:

EXPORTS:
plugMain

(this works for my other dlls.)

in the meantime i gave in, tried codebloxx/mingW.
build a little motion-detector, see attached zip.
works straight ‘from the box’, though i can’t link to my
favourite .lib files…

eis.zip (373.1 kB)