Hi all
I found a very interesting article here on CP:
Really cool visual FX[
^]
The effects are stunning, and I would REALLY like to be able to use them in a C# application I'm doing (for the About form, I should think). Just for fun, really - and because I like the effects...
AFAIK, it's possible to compile C++ code to a dll and use it in a C# project, but I have never actually tried it.
I started out thinking: "What the hell, how different can C++ be from C#? Surely, it must be possible to find out how to do it without having to learn an entirely new (old) language..." - I WAS WRONG! C++ is so f***ing confusing, with all the diffent files and stuff. I'm way out of my league.
Can some C++ wiz please point me in the right direction? How do I compile the C++ code to a dll that can be used in a C# project?
I tried adding all the files to a Win32 project, and I managed to resolve a few simple issues myself (method overloading), but when I compile now, I only get:
"error LNK1169: one or more multiply defined symbols found c:\users\johnny\Documents\_Visual Studio Projects\VisualSfx\Debug\VisualSfx.dll 1 1 VisualSfx"
and
"error LNK2005: _DllMain@12 already defined in MSVCRTD.lib(dllmain.obj) c:\Users\Johnny\Documents\_Visual Studio Projects\VisualSfx\VisualSfx\mfcs120ud.lib(dllmodul.obj) VisualSfx"
How do I resolve that?