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

Managed C++/CLI

 
AnswerRe: How to achieve 'True' transparency with pictureBox?? Pin
Christian Graus17-Aug-05 12:02
protectorChristian Graus17-Aug-05 12:02 
GeneralRe: How to achieve 'True' transparency with pictureBox?? Pin
richiemac18-Aug-05 3:36
richiemac18-Aug-05 3:36 
GeneralRe: How to achieve 'True' transparency with pictureBox?? Pin
Christian Graus18-Aug-05 14:55
protectorChristian Graus18-Aug-05 14:55 
GeneralRe: How to achieve 'True' transparency with pictureBox?? Pin
richiemac18-Aug-05 23:28
richiemac18-Aug-05 23:28 
GeneralRe: How to achieve 'True' transparency with pictureBox?? Pin
Christian Graus21-Aug-05 13:26
protectorChristian Graus21-Aug-05 13:26 
GeneralRe: How to achieve 'True' transparency with pictureBox?? Pin
richiemac21-Aug-05 23:25
richiemac21-Aug-05 23:25 
GeneralRe: How to achieve 'True' transparency with pictureBox?? Pin
Christian Graus22-Aug-05 11:38
protectorChristian Graus22-Aug-05 11:38 
Generaltemplate problems Pin
17-Aug-05 3:49
suss17-Aug-05 3:49 
Hi all, I've run into some problems with a template I'm trying to do.

First of all I declared a class and its members in a header file.

eg:
class SomeClass
{
public:
SomeClass(void);
~SomeClass(void);

int SomeFunction(int &, int &);
private:
int someVars;
};

and then defined the class and its members in a source file.

This all worked fine, and run as expected.

but because it's for a library I'm writting, I need it to handle multiple datatypes, so naturally I turned the relivent parts into templates.

The problem is, the template only works if the whole class is declared and defined in the header file. If I try to put the definitions into a source file, I get undefined errors popping up everywhere.

Is there a way and could someone explain how I can declare a template in a header file and define it in a source file. It just keeps things somewhat tidy.

Regards
GeneralRe: template problems Pin
Huzza17-Aug-05 5:34
Huzza17-Aug-05 5:34 
GeneralRe: template problems Pin
Saksida Bojan17-Aug-05 20:47
Saksida Bojan17-Aug-05 20:47 
QuestionHow to parse an XML file as a test case to a CPPUNIT Pin
foucalt16-Aug-05 22:00
foucalt16-Aug-05 22:00 
AnswerRe: How to parse an XML file as a test case to a CPPUNIT Pin
ursus zeta20-Aug-05 8:44
ursus zeta20-Aug-05 8:44 
QuestionHow to communicate with a USB-232 converter? Pin
asinro115-Aug-05 18:40
asinro115-Aug-05 18:40 
AnswerRe: How to communicate with a USB-232 converter? Pin
Christian Graus15-Aug-05 18:54
protectorChristian Graus15-Aug-05 18:54 
Questionchar[8000] to String* ? Pin
quarry_0615-Aug-05 14:38
quarry_0615-Aug-05 14:38 
AnswerRe: char[8000] to String* ? Pin
Christian Graus15-Aug-05 15:27
protectorChristian Graus15-Aug-05 15:27 
GeneralRe: char[8000] to String* ? Pin
quarry_0616-Aug-05 8:14
quarry_0616-Aug-05 8:14 
GeneralRe: char[8000] to String* ? Pin
Saksida Bojan16-Aug-05 8:45
Saksida Bojan16-Aug-05 8:45 
GeneralString to char* problem (varargs related?) Pin
EssOEss15-Aug-05 10:25
EssOEss15-Aug-05 10:25 
GeneralRe: String to char* problem (varargs related?) Pin
S. Senthil Kumar17-Aug-05 0:50
S. Senthil Kumar17-Aug-05 0:50 
GeneralRe: String to char* problem (varargs related?) Pin
Tim Zorn21-Aug-05 5:54
Tim Zorn21-Aug-05 5:54 
GeneralWarning C4005 with Warning lvl=3 Pin
Bill S15-Aug-05 9:45
professionalBill S15-Aug-05 9:45 
Generalillegal call of non-static member function Pin
Saksida Bojan15-Aug-05 4:25
Saksida Bojan15-Aug-05 4:25 
GeneralRe: illegal call of non-static member function Pin
Christian Graus15-Aug-05 13:24
protectorChristian Graus15-Aug-05 13:24 
GeneralRe: illegal call of non-static member function Pin
Saksida Bojan15-Aug-05 21:42
Saksida Bojan15-Aug-05 21:42 

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.