Hi everyone.
I learned C++ when I was in college but we switched to C# after the 2nd year. I pretty much remember how to code, that's not the issue.
I'm trying to code again with Visual C++ and I'm just TOTALLY going NUTS.
Trust me, the nice men with the butterfly nets are staring through the window. They brought me clothes... The kind with really long sleeves...
I wanna keep my old good practice of always creating a library project teamed up with a windows form which uses the library project. I like coding like this and makes everything reusable and clean.
But it just not working in c++.
First problem :
When compiling the dll project (Dynamic Library), no dll is created. I have a bunch of logs and obj files but no dll, no lib. I googled, found nice posts written 10 years ago but it still doesn't work.
In VB.NET or C#, all you had to is build and voila! Seems like VC doesn't work like that.
Second problem :
How to I reference my dll project in my winform project?
In VB.NET or C#, all you had to is rightclick on the project->Add Reference->Project and voila! Happiness.
There seems to be something similar in VC. I am able to add the dll project as a reference but it doesn't seem to find it. I have no build errors but if I try to use the namespaces or classes found in my dll project, I do.
Anyone can help me avoid to have to spend the rest of my life in the corner of a white room talking to Elvis?
Solution 1 : That was a stupid one >.> Instead of being in the solutionname\projectname\debug\ folder, they were in the solutionname\debug folder... Doh!