Click here to Skip to main content
15,892,005 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
GeneralRe: Either that or... Pin
Richard MacCutchan8-Oct-09 4:13
mveRichard MacCutchan8-Oct-09 4:13 
GeneralRe: Either that or... Pin
Fenix28-Oct-09 16:24
Fenix28-Oct-09 16:24 
GeneralRe: Either that or... Pin
Fenix28-Oct-09 16:32
Fenix28-Oct-09 16:32 
GeneralRe: Either that or... Pin
Richard MacCutchan8-Oct-09 22:11
mveRichard MacCutchan8-Oct-09 22:11 
GeneralRe: Either that or... Pin
N a v a n e e t h8-Oct-09 16:54
N a v a n e e t h8-Oct-09 16:54 
GeneralRe: Either that or... Pin
Fenix29-Oct-09 14:17
Fenix29-Oct-09 14:17 
GeneralRe: Either that or... Pin
Richard MacCutchan9-Oct-09 23:24
mveRichard MacCutchan9-Oct-09 23:24 
QuestionGetting "LINK : Fetal error LNK1561 : entry point must be defined" while creating managed C++ dll in VS2005 Pin
Cracked-Down7-Oct-09 21:27
Cracked-Down7-Oct-09 21:27 
HI all,
I am getting this error since morning, I am clue less as I am working first time on it (I am c# developer).

the code file are as follows and i compied using Commnad prompt
command cl /clr:oldSyntax DemoCPP.cpp

DemoCPP.cpp class
#include "DemoHeader.h"

DemoCPP::DemoCPP()
	: Length(0.00), Height(0.00)
{
}

DemoCPP::DemoCPP(double L, double H)
	: Length(L), Height(H)
{
}

DemoCPP::~DemoCPP()
{
}

double DemoCPP::getLength()
{
	return Length;
}

void DemoCPP::setLength(double L)
{
	Length = L;
}

double DemoCPP::getHeight()
{
	return Height;
}

void DemoCPP::setHeight(double H)
{
	Height = H;
}

void DemoCPP::setDimensions(double L, double H)
{
	setLength(L);
	setHeight(H);
}

double DemoCPP::Perimeter()
{
	return 2 * (Length + Height);
}

double DemoCPP::Area()
{
	return Length * Height;
}

header file DemoHeader.h

#pragma once
#using <mscorlib.dll>

__gc class DemoCPP
{
public:
	DemoCPP();
	DemoCPP(double L, double H);
	~DemoCPP();
	double getLength();
	void setLength(double L);
	double getHeight();
	void setHeight(double H);
	void setDimensions(double L, double H);
	double Perimeter();
	double Area();
private:
	double Length;
	double Height;
};



any body have any idea how to resolve this problem?


thanks in advance!
AnswerRe: Getting "LINK : Fetal error LNK1561 : entry point must be defined" while creating managed C++ dll in VS2005 Pin
KarstenK7-Oct-09 22:21
mveKarstenK7-Oct-09 22:21 
AnswerRe: Getting "LINK : Fetal error LNK1561 : entry point must be defined" while creating managed C++ dll in VS2005 Pin
N a v a n e e t h7-Oct-09 22:31
N a v a n e e t h7-Oct-09 22:31 
GeneralRe: Getting "LINK : Fetal error LNK1561 : entry point must be defined" while creating managed C++ dll in VS2005 Pin
Cracked-Down7-Oct-09 22:39
Cracked-Down7-Oct-09 22:39 
GeneralRe: Getting "LINK : Fetal error LNK1561 : entry point must be defined" while creating managed C++ dll in VS2005 Pin
N a v a n e e t h7-Oct-09 22:52
N a v a n e e t h7-Oct-09 22:52 
GeneralRe: Getting "LINK : Fetal error LNK1561 : entry point must be defined" while creating managed C++ dll in VS2005 Pin
Cracked-Down7-Oct-09 23:24
Cracked-Down7-Oct-09 23:24 
GeneralRe: Getting "LINK : Fetal error LNK1561 : entry point must be defined" while creating managed C++ dll in VS2005 Pin
N a v a n e e t h7-Oct-09 23:41
N a v a n e e t h7-Oct-09 23:41 
AnswerRe: Getting "LINK : Fetal error LNK1561 : entry point must be defined" while creating managed C++ dll in VS2005 Pin
Cracked-Down7-Oct-09 23:19
Cracked-Down7-Oct-09 23:19 
QuestionHow do I get Image_click to work more than once? Pin
Fenix26-Oct-09 16:27
Fenix26-Oct-09 16:27 
AnswerRe: How do I get Image_click to work more than once? Pin
N a v a n e e t h6-Oct-09 17:17
N a v a n e e t h6-Oct-09 17:17 
GeneralRe: How do I get Image_click to work more than once? Pin
Fenix27-Oct-09 1:42
Fenix27-Oct-09 1:42 
GeneralRe: How do I get Image_click to work more than once? Pin
Richard MacCutchan7-Oct-09 4:17
mveRichard MacCutchan7-Oct-09 4:17 
GeneralRe: How do I get Image_click to work more than once? Pin
N a v a n e e t h7-Oct-09 5:06
N a v a n e e t h7-Oct-09 5:06 
GeneralRe: How do I get Image_click to work more than once? Pin
Richard MacCutchan7-Oct-09 6:57
mveRichard MacCutchan7-Oct-09 6:57 
AnswerRe: How do I get Image_click to work more than once? Pin
Luc Pattyn7-Oct-09 8:34
sitebuilderLuc Pattyn7-Oct-09 8:34 
GeneralRe: How do I get Image_click to work more than once? Pin
Fenix27-Oct-09 14:44
Fenix27-Oct-09 14:44 
GeneralRe: How do I get Image_click to work more than once? Pin
Luc Pattyn7-Oct-09 14:47
sitebuilderLuc Pattyn7-Oct-09 14:47 
GeneralRe: How do I get Image_click to work more than once? Pin
Fenix27-Oct-09 15:28
Fenix27-Oct-09 15:28 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.