Click here to Skip to main content
15,892,537 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionTools for reverse engineering Pin
tom groezer25-Mar-10 0:58
tom groezer25-Mar-10 0:58 
AnswerRe: Tools for reverse engineering Pin
enhzflep25-Mar-10 3:07
enhzflep25-Mar-10 3:07 
Questionerror LNK2005...already defined in .... Pin
rupeshkp72825-Mar-10 0:26
rupeshkp72825-Mar-10 0:26 
AnswerRe: error LNK2005...already defined in .... Pin
Eugen Podsypalnikov25-Mar-10 0:53
Eugen Podsypalnikov25-Mar-10 0:53 
GeneralRe: error LNK2005...already defined in .... Pin
rupeshkp72825-Mar-10 1:07
rupeshkp72825-Mar-10 1:07 
GeneralRe: error LNK2005...already defined in .... Pin
Eugen Podsypalnikov25-Mar-10 1:17
Eugen Podsypalnikov25-Mar-10 1:17 
GeneralRe: error LNK2005...already defined in .... Pin
rupeshkp72825-Mar-10 1:33
rupeshkp72825-Mar-10 1:33 
GeneralRe: error LNK2005...already defined in .... Pin
Eugen Podsypalnikov25-Mar-10 2:12
Eugen Podsypalnikov25-Mar-10 2:12 
You are welcome ! Smile | :)

PS. you could also use:
#pragma once
...
// instead of
// #ifndef _HH_
// #define _HH_
// ...
// #endif

PPS. if you need an own instance in your *.cpp you could also use:
// CommonSettings.h
#pragma once
...
typedef struct s {
  int m_iVar1;
  int m_iVar2;
} myS;
typedef UCHAR myBuffer[16];
...

...and then Smile | :) :
// file1.cpp
...
#include "CommonSettings.h"
...
myBuffer ownBuffer; // an own instance of UCHAR[16] for this file
...

// file2.cpp
...
#include "CommonSettings.h"
...
myS ownS = {0}; // an own instance of the struct myS for this file

virtual void BeHappy() = 0;

GeneralRe: error LNK2005...already defined in .... Pin
rupeshkp72825-Mar-10 2:21
rupeshkp72825-Mar-10 2:21 
QuestionConnection with mysql an Crecordset Pin
Shivanand Gupta24-Mar-10 23:47
Shivanand Gupta24-Mar-10 23:47 
AnswerRe: Connection with mysql an Crecordset Pin
CPallini25-Mar-10 0:14
mveCPallini25-Mar-10 0:14 
GeneralRe: Connection with mysql an Crecordset Pin
Shivanand Gupta25-Mar-10 20:48
Shivanand Gupta25-Mar-10 20:48 
QuestionRe: Connection with mysql an Crecordset Pin
CPallini25-Mar-10 21:42
mveCPallini25-Mar-10 21:42 
QuestionData encryption Pin
Code-o-mat24-Mar-10 23:02
Code-o-mat24-Mar-10 23:02 
AnswerRe: Data encryption Pin
BIJU Manjeri24-Mar-10 23:26
BIJU Manjeri24-Mar-10 23:26 
GeneralRe: Data encryption Pin
Code-o-mat24-Mar-10 23:49
Code-o-mat24-Mar-10 23:49 
GeneralRe: Data encryption Pin
Covean25-Mar-10 22:13
Covean25-Mar-10 22:13 
GeneralRe: Data encryption Pin
Code-o-mat25-Mar-10 22:32
Code-o-mat25-Mar-10 22:32 
GeneralRe: Data encryption Pin
Covean25-Mar-10 23:05
Covean25-Mar-10 23:05 
GeneralRe: Data encryption Pin
Code-o-mat25-Mar-10 23:07
Code-o-mat25-Mar-10 23:07 
GeneralRe: Data encryption Pin
Covean25-Mar-10 23:13
Covean25-Mar-10 23:13 
Questionline thinkness Pin
arun_pk24-Mar-10 22:06
arun_pk24-Mar-10 22:06 
QuestionRe: line thinkness Pin
CPallini24-Mar-10 22:10
mveCPallini24-Mar-10 22:10 
AnswerRe: line thinkness Pin
arun_pk24-Mar-10 22:26
arun_pk24-Mar-10 22:26 
GeneralRe: line thinkness Pin
CPallini24-Mar-10 22:37
mveCPallini24-Mar-10 22:37 

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.