Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Adding Unmanaged C++ code classes into Managed C++ Clases

Posted on 2005-03-30
2
Medium Priority
?
189 Views
Last Modified: 2013-12-03
Hello. For the purposes of visualizaton; I have a Windows Forms application right now. I want this Windows Forms application to be able to use some classes I made, however I made these classes in unmanaged C++ code. I thought that if I added #include "stdafx.h" into the .cpp files of my classes that it would solve the problem (I'm a novice) however that gave me an error about the operators for my classes. I was just wondering if there was a way to integrate my unmanaged C++ code into my Windows Forms Application. Thanks a lot.

By the way, I am using Microsoft Visual Studio .NET for my Windows Forms Application
0
Comment
Question by:pcxboy
2 Comments
 
LVL 48

Accepted Solution

by:
AlexFM earned 375 total points
ID: 13669959
Please show your code and error messages.
0
 

Author Comment

by:pcxboy
ID: 13788538
It was actually just a simple include file, but thank you very much
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The following diagram presents a diamond class hierarchy: As depicted, diamond inheritance denotes when two classes (e.g., CDerived1 and CDerived2), separately extending a common base class (e.g., CBase), are sub classed simultaneously by a fourt…
Ever visit a website where you spotted a really cool looking Font, yet couldn't figure out which font family it belonged to, or how to get a copy of it for your own use? This article explains the process of doing exactly that, as well as showing how…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Suggested Courses

580 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question