Click here to Skip to main content
15,914,444 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to extract Exported functions from a DLL Pin
Nibu babu thomas13-Feb-08 0:15
Nibu babu thomas13-Feb-08 0:15 
GeneralRe: How to extract Exported functions from a DLL Pin
poda13-Feb-08 23:23
poda13-Feb-08 23:23 
GeneralRe: How to extract Exported functions from a DLL Pin
David Crow13-Feb-08 3:16
David Crow13-Feb-08 3:16 
AnswerRe: How to extract Exported functions from a DLL Pin
Stephen Hewitt12-Feb-08 21:09
Stephen Hewitt12-Feb-08 21:09 
GeneralRe: How to extract Exported functions from a DLL Pin
poda12-Feb-08 21:30
poda12-Feb-08 21:30 
GeneralRe: How to extract Exported functions from a DLL Pin
poda12-Feb-08 21:49
poda12-Feb-08 21:49 
GeneralRe: How to extract Exported functions from a DLL Pin
Stephen Hewitt13-Feb-08 0:30
Stephen Hewitt13-Feb-08 0:30 
GeneralInterface default constructor Error Pin
half-life12-Feb-08 20:08
half-life12-Feb-08 20:08 
HI,
i'm trying to derive from an Interface that looks like this (the iport.h):
<br />
<br />
#ifndef _PORT_<br />
#define _PORT_<br />
#pragma once<br />
<br />
class IPort<br />
{<br />
public:<br />
	IPort(int pi): portId(pi) {}<br />
	~IPort(void) {}<br />
<br />
	virtual int Send(const void * data , int len, int cNum = 0 , short mId = 0 )=0;<br />
	virtual int InitPort(void) = 0;<br />
	virtual int ClosePort(void) = 0;<br />
	virtual int BindAndConnect(void) = 0;<br />
<br />
	int GetPortId(void)<br />
	{<br />
		return portId ;<br />
	}<br />
<br />
protected:<br />
<br />
	int portId;<br />
};<br />
#endif<br />


my class is as sipmale as can get(the *.h) :
<br />
#pragma once<br />
#include "iport.h"<br />
<br />
class _COM :<br />
	public IPort<br />
{<br />
public:<br />
	_COM(void);<br />
	_COM(int port, int rt);<br />
public:<br />
	~_COM(void);<br />
<br />
private:<br />
	int portNumber;<br />
	int RT_Number;<br />
};<br />


But It Keeps thorwing my the TITLE error
for the .cpp file:
#include "_COM.h"<br />
<br />
_COM::_COM(void)<br />
{<br />
}<br />
<br />
_COM::_COM(int port, int rt):portNumber(port),RT_Number(rt)<br />
{<br />
<br />
}<br />
<br />
_COM::~_COM(void)<br />
{<br />
}


What am i'm missing?
THANKS

Have Fun
Never forget it

GeneralRe: Interface default constructor Error Pin
Cedric Moonen12-Feb-08 20:21
Cedric Moonen12-Feb-08 20:21 
GeneralRe: Interface default constructor Error Pin
half-life12-Feb-08 20:39
half-life12-Feb-08 20:39 
GeneralRe: Interface default constructor Error Pin
jhwurmbach13-Feb-08 0:52
jhwurmbach13-Feb-08 0:52 
GeneralDebug Assertion Error Occurs while making the Static Linked Dll Pin
nitin_pro12-Feb-08 20:03
nitin_pro12-Feb-08 20:03 
QuestionRelease Mode not running Pin
vethathiri12-Feb-08 19:57
vethathiri12-Feb-08 19:57 
GeneralRe: Release Mode not running Pin
Rajesh R Subramanian12-Feb-08 20:22
professionalRajesh R Subramanian12-Feb-08 20:22 
GeneralRe: Release Mode not running Pin
Iain Clarke, Warrior Programmer13-Feb-08 0:14
Iain Clarke, Warrior Programmer13-Feb-08 0:14 
QuestionRe: Release Mode not running Pin
David Crow13-Feb-08 3:25
David Crow13-Feb-08 3:25 
Generalwhile debugging not able see the source code [modified] Pin
VC_RYK12-Feb-08 19:55
VC_RYK12-Feb-08 19:55 
GeneralRe: while debugging not able see the source code Pin
Cedric Moonen12-Feb-08 20:24
Cedric Moonen12-Feb-08 20:24 
QuestionHow to create 3D vector? Pin
TooShy2Talk12-Feb-08 19:52
TooShy2Talk12-Feb-08 19:52 
GeneralRe: How to create 3D vector? Pin
BadKarma12-Feb-08 20:50
BadKarma12-Feb-08 20:50 
Generalhide and unhide panes created by CSplitterWnd class Pin
preeti sharma12-Feb-08 19:17
preeti sharma12-Feb-08 19:17 
GeneralRe: hide and unhide panes created by CSplitterWnd class Pin
Iain Clarke, Warrior Programmer13-Feb-08 4:05
Iain Clarke, Warrior Programmer13-Feb-08 4:05 
GeneralGet a string from char pointer Pin
CodingLover12-Feb-08 19:10
CodingLover12-Feb-08 19:10 
GeneralRe: Get a string from char pointer Pin
ShilpiP12-Feb-08 19:42
ShilpiP12-Feb-08 19:42 
GeneralRe: Get a string from char pointer Pin
CodingLover12-Feb-08 19:47
CodingLover12-Feb-08 19:47 

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.