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

C / C++ / MFC

 
QuestionVC++ 2008 Undeclared Identifier Pin
Doktor12-Jan-09 10:21
Doktor12-Jan-09 10:21 
QuestionRe: VC++ 2008 Undeclared Identifier Pin
Mark Salsbery12-Jan-09 10:39
Mark Salsbery12-Jan-09 10:39 
AnswerRe: VC++ 2008 Undeclared Identifier Pin
Doktor12-Jan-09 10:45
Doktor12-Jan-09 10:45 
GeneralRe: VC++ 2008 Undeclared Identifier Pin
Mark Salsbery12-Jan-09 10:49
Mark Salsbery12-Jan-09 10:49 
GeneralRe: VC++ 2008 Undeclared Identifier Pin
Doktor12-Jan-09 10:51
Doktor12-Jan-09 10:51 
GeneralRe: VC++ 2008 Undeclared Identifier Pin
Mark Salsbery12-Jan-09 10:56
Mark Salsbery12-Jan-09 10:56 
GeneralRe: VC++ 2008 Undeclared Identifier Pin
Doktor12-Jan-09 11:01
Doktor12-Jan-09 11:01 
GeneralRe: VC++ 2008 Undeclared Identifier Pin
Mark Salsbery12-Jan-09 11:08
Mark Salsbery12-Jan-09 11:08 
Doktor wrote:
I tried that already. The same error plus additionally syntax error: identifier 'Polaczenie'.


I'm not entirely clear on the structure of your code and what is in which file,
but the compiler cannot possibly know what a Polaczenie is unless the declaration of
Polaczenie is visible "above" the code that tries to use it. If the declaration is in a
separate file, you can use something like #include "headerthatdeclaresPolaczenie.h".


Doktor wrote:
When I changed the the class to a managed class with ref (I didn't know it is called like this), I had additionally an error with many of the variables of my Polaczenie class.


That's a whole new thing in a different language - C++/CLI. To do that you
need a firm understanding of .NET classes and data types, along with knowing
the C++/CLI language.

Mark Salsbery
Microsoft MVP - Visual C++

Java | [Coffee]

GeneralRe: VC++ 2008 Undeclared Identifier Pin
Doktor13-Jan-09 8:54
Doktor13-Jan-09 8:54 
AnswerRe: VC++ 2008 Undeclared Identifier Pin
ThatsAlok12-Jan-09 19:38
ThatsAlok12-Jan-09 19:38 
QuestionCheck size, Save to backup, Change Name Pin
firelife291112-Jan-09 9:04
firelife291112-Jan-09 9:04 
AnswerRe: Check size, Save to backup, Change Name Pin
Rajasekharan Vengalil12-Jan-09 9:18
Rajasekharan Vengalil12-Jan-09 9:18 
QuestionWill you someone recommend books on C and C++? Pin
php11112-Jan-09 7:44
php11112-Jan-09 7:44 
AnswerRe: Will you someone recommend books on C and C++? Pin
Hamid_RT12-Jan-09 7:56
Hamid_RT12-Jan-09 7:56 
GeneralRe: Will you someone recommend books on C and C++? Pin
php11112-Jan-09 7:58
php11112-Jan-09 7:58 
GeneralRe: Will you someone recommend books on C and C++? Pin
Sarath C12-Jan-09 8:16
Sarath C12-Jan-09 8:16 
GeneralRe: Will you someone recommend books on C and C++? Pin
Sarath C12-Jan-09 8:15
Sarath C12-Jan-09 8:15 
GeneralRe: Will you someone recommend books on C and C++? Pin
php11112-Jan-09 9:52
php11112-Jan-09 9:52 
GeneralRe: Will you someone recommend books on C and C++? Pin
Sarath C12-Jan-09 16:27
Sarath C12-Jan-09 16:27 
GeneralRe: Will you someone recommend books on C and C++? Pin
Luc Pattyn12-Jan-09 8:12
sitebuilderLuc Pattyn12-Jan-09 8:12 
AnswerRe: Will you someone recommend books on C and C++? Pin
Jijo.Raj12-Jan-09 10:49
Jijo.Raj12-Jan-09 10:49 
AnswerRe: Will you someone recommend books on C and C++? Pin
Loreia13-Jan-09 8:19
Loreia13-Jan-09 8:19 
QuestionRegistryKeys in MFC Pin
Software200712-Jan-09 7:40
Software200712-Jan-09 7:40 
AnswerRe: RegistryKeys in MFC Pin
Mark Salsbery12-Jan-09 8:13
Mark Salsbery12-Jan-09 8:13 
AnswerRe: RegistryKeys in MFC Pin
Iain Clarke, Warrior Programmer12-Jan-09 8:15
Iain Clarke, Warrior Programmer12-Jan-09 8:15 

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.