C# Programming
08-22-2009, 08:01 PM
hi, i would like to have some help with the following.
i made a c++ class library and added this to my c# project.
i would like to store some data in this class and retrieve this data when needed.
this class compiles and i can find it in the c# bin folder of my project.
i have done a litle reading on the subject, but it's not very clear to me.
http://support.microsoft.com/kb/828736[^ (http://support.microsoft.com/kb/828736)]
http://msdn.microsoft.com/en-us/library/ms235591.aspx[^ (http://msdn.microsoft.com/en-us/library/ms235591.aspx)]
as non universitary professional coder.
i have made some MFC experience in the visual studio 2003 era, but ....
: )
but i stil would like to know how it's done.
can any show me how it's done?
i have the following files in the c++ project.
Header Files
- authentication.h
- resource.h
- Stdafx.h
Source Files
- AssemblyInfo.cpp
- authentication.cpp
- Stdafx.cpp
containing of the authentication.C file
// This is the main DLL file.
#include "stdafx.h"
#include "authentication.h"
please show how to store/set from c# a value in that c++ dll and retrieve it back to c#.
kind regards and thank you for your time
Bad = knowing 2 much
i made a c++ class library and added this to my c# project.
i would like to store some data in this class and retrieve this data when needed.
this class compiles and i can find it in the c# bin folder of my project.
i have done a litle reading on the subject, but it's not very clear to me.
http://support.microsoft.com/kb/828736[^ (http://support.microsoft.com/kb/828736)]
http://msdn.microsoft.com/en-us/library/ms235591.aspx[^ (http://msdn.microsoft.com/en-us/library/ms235591.aspx)]
as non universitary professional coder.
i have made some MFC experience in the visual studio 2003 era, but ....
: )
but i stil would like to know how it's done.
can any show me how it's done?
i have the following files in the c++ project.
Header Files
- authentication.h
- resource.h
- Stdafx.h
Source Files
- AssemblyInfo.cpp
- authentication.cpp
- Stdafx.cpp
containing of the authentication.C file
// This is the main DLL file.
#include "stdafx.h"
#include "authentication.h"
please show how to store/set from c# a value in that c++ dll and retrieve it back to c#.
kind regards and thank you for your time
Bad = knowing 2 much