Click here to Skip to main content
15,917,538 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: IP Address Pin
boxban18-Nov-03 16:18
boxban18-Nov-03 16:18 
GeneralRe: IP Address Pin
Member 57135818-Nov-03 19:11
Member 57135818-Nov-03 19:11 
GeneralRe: IP Address Pin
Member 57135820-Nov-03 6:14
Member 57135820-Nov-03 6:14 
Generalerror LNK2005 Pin
Ares218-Nov-03 6:39
Ares218-Nov-03 6:39 
GeneralRe: error LNK2005 Pin
David Crow18-Nov-03 6:51
David Crow18-Nov-03 6:51 
GeneralRe: error LNK2005 Pin
Ares218-Nov-03 6:57
Ares218-Nov-03 6:57 
GeneralRe: error LNK2005 Pin
David Crow18-Nov-03 6:59
David Crow18-Nov-03 6:59 
GeneralRe: error LNK2005 Pin
Ares218-Nov-03 7:24
Ares218-Nov-03 7:24 
i moved line:
VLCtab TMNMVtab0[] = { {1,1}, {2,2}, {3,3} };
to tmp2.cpp file.
everything goes fine THANKS!!

Now i also added to tmp2.cpp file such line in main()
l[0].len = TMNMVtab0[0].len

...now structure is not visible for functions in tmp1.cpp some errors were displayed that he doesn't know what is it TMNVtab

i can add to tmp1.cpp file one more line:
extern VLCtab TMNMVtab0[];

but this is what i wanted to avoid.

i tried to manage such thing that after including eg. tmp1.h in several files, each file will see typedefs and declared variables. Is it possible somehow?
initialisation of these structures could be done in one of files that include it.
GeneralRe: error LNK2005 Pin
Ares218-Nov-03 7:36
Ares218-Nov-03 7:36 
GeneralRe: error LNK2005 Pin
David Crow18-Nov-03 7:42
David Crow18-Nov-03 7:42 
GeneralStretchDIBits problem with 16-bit (65536) colours Pin
tchu18-Nov-03 5:40
tchu18-Nov-03 5:40 
GeneralCPU usage meter in win98 Pin
Max Rudensky18-Nov-03 5:30
sussMax Rudensky18-Nov-03 5:30 
GeneralRe: CPU usage meter in win98 Pin
alex.barylski18-Nov-03 5:45
alex.barylski18-Nov-03 5:45 
GeneralRe: CPU usage meter in win98 Pin
Max Rudensky19-Nov-03 0:12
sussMax Rudensky19-Nov-03 0:12 
QuestionHow to control many events? Pin
Azury18-Nov-03 5:28
Azury18-Nov-03 5:28 
AnswerRe: How to control many events? Pin
David Crow18-Nov-03 5:47
David Crow18-Nov-03 5:47 
GeneralActiveX with modeless Dialog Pin
AnTri18-Nov-03 5:12
AnTri18-Nov-03 5:12 
GeneralRe: ActiveX with modeless Dialog Pin
Peter Molnar18-Nov-03 13:45
Peter Molnar18-Nov-03 13:45 
GeneralRe: ActiveX with modeless Dialog Pin
AnTri18-Nov-03 23:05
AnTri18-Nov-03 23:05 
GeneralRe: ActiveX with modeless Dialog Pin
Peter Molnar19-Nov-03 4:26
Peter Molnar19-Nov-03 4:26 
Generalemail + attachement Pin
doctorpi18-Nov-03 4:47
doctorpi18-Nov-03 4:47 
GeneralRe: email + attachement Pin
David Crow18-Nov-03 5:51
David Crow18-Nov-03 5:51 
GeneralRe: email + attachement Pin
Peter Molnar18-Nov-03 14:05
Peter Molnar18-Nov-03 14:05 
GeneralRe: deleting pointers and STL. Pin
berndg18-Nov-03 4:10
berndg18-Nov-03 4:10 
GeneralRe: deleting pointers and STL. Pin
TFrancis18-Nov-03 4:11
TFrancis18-Nov-03 4:11 

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.