Click here to Skip to main content
15,920,603 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralInstall which windows compoents before install Visual Studio 2003 Pin
akira3220-Feb-08 5:06
akira3220-Feb-08 5:06 
GeneralRe: Install which windows compoents before install Visual Studio 2003 Pin
Mark Salsbery20-Feb-08 5:41
Mark Salsbery20-Feb-08 5:41 
QuestionCannot get reference to Locked screen when the system is in RDP state Pin
Abdul_khaliq_20-Feb-08 4:42
Abdul_khaliq_20-Feb-08 4:42 
GeneralRe: Cannot get reference to Locked screen when the system is in RDP state Pin
James R. Twine20-Feb-08 7:21
James R. Twine20-Feb-08 7:21 
QuestionRe: Cannot get reference to Locked screen when the system is in RDP state Pin
Abdul_khaliq_20-Feb-08 19:49
Abdul_khaliq_20-Feb-08 19:49 
QuestionCompiles with VC6. Is this still available? Pin
Ylno20-Feb-08 4:14
Ylno20-Feb-08 4:14 
AnswerRe: Compiles with VC6. Is this still available? Pin
CPallini20-Feb-08 4:34
mveCPallini20-Feb-08 4:34 
GeneralRe: Compiles with VC6. Is this still available? Pin
Ylno20-Feb-08 5:14
Ylno20-Feb-08 5:14 
Hi Thanks for the help.
The project is set to compile to .dll. This is done with VC++ 9.0 Express

Here's some errors:
1>LibraryExample.cpp<br />
1>f:\copy of dmm\win32\include\gatantypes.h(403) : error C2906: 'Gatan::ScaleData<gatan::uint8,gatan::uint8>' : explicit specialization requires 'template <>'<br />
1>f:\copy of dmm\win32\include\gatantypes.h(404) : error C2906: 'Gatan::ScaleData<gatan::uint8,gatan::uint16>' : explicit specialization requires 'template <>'<br />
1>f:\copy of dmm\win32\include\gatantypes.h(405) : error C2906: 'Gatan::ScaleData<gatan::uint8,gatan::uint32>' : explicit specialization requires 'template <>'<br />
1>f:\copy of dmm\win32\include\gatantypes.h(407) : error C2906: 'Gatan::ScaleData<gatan::uint16,gatan::uint8>' : explicit specialization requires 'template <>'<br />
1>f:\copy of dmm\win32\include\gatantypes.h(408) : error C2906: 'Gatan::ScaleData<gatan::uint16,gatan::uint16>' : explicit specialization requires 'template <>'<br />
1>f:\copy of dmm\win32\include\gatantypes.h(409) : error C2906: 'Gatan::ScaleData<gatan::uint16,gatan::uint32>' : explicit specialization requires 'template <>'<br />
1>f:\copy of dmm\win32\include\gatantypes.h(411) : error C2906: 'Gatan::ScaleData<gatan::uint32,gatan::uint8>' : explicit specialization requires 'template <>'<br />
1>f:\copy of dmm\win32\include\gatantypes.h(412) : error C2906: 'Gatan::ScaleData<gatan::uint32,gatan::uint16>' : explicit specialization requires 'template <>'<br />
1>f:\copy of dmm\win32\include\gatantypes.h(413) : error C2906: 'Gatan::ScaleData<gatan::uint32,gatan::uint32>' : explicit specialization requires 'template <>'<br />
1>f:\copy of dmm\win32\include\gatantypes.h(415) : error C2906: 'Gatan::ScaleData<gatan::float64,gatan::float64>' : explicit specialization requires 'template <>'<br />
1>f:\copy of dmm\win32\include\gatantypes.h(416) : error C2906: 'Gatan::ScaleData<gatan::float64,gatan::float32>' : explicit specialization requires 'template <>'<br />
1>f:\copy of dmm\win32\include\gatantypes.h(417) : error C2906: 'Gatan::ScaleData<gatan::float32,gatan::float64>' : explicit specialization requires 'template <>'<br />
1>f:\copy of dmm\win32\include\gatantypes.h(419) : error C2906: 'Gatan::ScaleData<gatan::uint8,gatan::float64>' : explicit specialization requires 'template <>'<br />
1>f:\copy of dmm\win32\include\gatantypes.h(420) : error C2906: 'Gatan::ScaleData<gatan::uint16,gatan::float64>' : explicit specialization requires 'template <>'<br />
1>f:\copy of dmm\win32\include\gatantypes.h(421) : error C2906: 'Gatan::ScaleData<gatan::uint32,gatan::float64>' : explicit specialization requires 'template <>'<br />
1>f:\copy of dmm\win32\include\gatantypes.h(423) : error C2906: 'Gatan::ScaleData<gatan::float64,gatan::uint8>' : explicit specialization requires 'template <>'<br />
1>f:\copy of dmm\win32\include\gatantypes.h(424) : error C2906: 'Gatan::ScaleData<gatan::float64,gatan::uint16>' : explicit specialization requires 'template <>'<br />
1>f:\copy of dmm\win32\include\gatantypes.h(425) : error C2906: 'Gatan::ScaleData<gatan::float64,gatan::uint32>' : explicit specialization requires 'template <>'<br />
1>f:\copy of dmm\win32\include\dmpluginlibrarydefs.h(538) : error C2906: 'Gatan::StringProxy_STL_Base<char>' : explicit specialization requires 'template <>'<br />
1>f:\copy of dmm\win32\include\dmpluginlibrarydefs.h(539) : error C2906: 'Gatan::ConstStringProxy_STL_Base<char>' : explicit specialization requires 'template <>'<br />
1>f:\copy of dmm\win32\include\dmpluginlibrarydefs.h(540) : error C2906: 'Gatan::StringProxy_STL_Base<gatan::uint16>' : explicit specialization requires 'template <>'<br />
1>f:\copy of dmm\win32\include\dmpluginlibrarydefs.h(541) : error C2906: 'Gatan::ConstStringProxy_STL_Base<gatan::uint16>' : explicit specialization requires 'template <>'<br />
1>f:\copy of dmm\win32\include\dmpluginlibrarydefs.h(682) : warning C4346: 'To::ret_token_type' : dependent name is not a type<br />
1>        prefix with 'typename' to indicate a type<br />
1>        f:\copy of dmm\win32\include\dmpluginlibrarydefs.h(687) : see reference to class template instantiation 'Gatan::PlugIn::DM_DynamicCast<from,to>' being compiled<br />
1>f:\copy of dmm\win32\include\dmpluginlibrarydefs.h(682) : error C2143: syntax error : missing ';' before '('<br />
1>f:\copy of dmm\win32\include\dmpluginlibrarydefs.h(682) : warning C4346: 'From::token_type' : dependent name is not a type<br />
1>        prefix with 'typename' to indicate a type<br />
1>f:\copy of dmm\win32\include\dmpluginlibrarydefs.h(682) : error C2061: syntax error : identifier 'token_type'<br />
1>f:\copy of dmm\win32\include\dmpluginlibrarydefs.h(683) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int<br />
1>f:\copy of dmm\win32\include\dmpluginutility.h(467) : warning C4346: 'Gatan::PlugIn::DMScriptClassT<classdesc>::ref_type' : dependent name is not a type<br />
1>        prefix with 'typename' to indicate a type<br />
1>f:\copy of dmm\win32\include\dmpluginutility.h(467) : error C2143: syntax error : missing ';' before 'Gatan::PlugIn::DMScriptClassT<classdesc>::ReplaceImplementation'<br />
1>f:\copy of dmm\win32\include\dmpluginutility.h(467) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int<br />
1>f:\copy of dmm\win32\include\dmpluginutility.h(467) : error C2888: 'DMScriptClassT<classdesc>::ref_type ref_type' : symbol cannot be defined within namespace 'PlugIn'<br />
1>f:\copy of dmm\win32\include\dmpluginutility.h(467) : fatal error C1903: unable to recover from previous error(s); stopping compilation</classdesc></classdesc></classdesc></from,to></gatan::uint16></gatan::uint16></char></char></gatan::float64,gatan::uint32></gatan::float64,gatan::uint16></gatan::float64,gatan::uint8></gatan::uint32,gatan::float64></gatan::uint16,gatan::float64></gatan::uint8,gatan::float64></gatan::float32,gatan::float64></gatan::float64,gatan::float32></gatan::float64,gatan::float64></gatan::uint32,gatan::uint32></gatan::uint32,gatan::uint16></gatan::uint32,gatan::uint8></gatan::uint16,gatan::uint32></gatan::uint16,gatan::uint16></gatan::uint16,gatan::uint8></gatan::uint8,gatan::uint32></gatan::uint8,gatan::uint16></gatan::uint8,gatan::uint8>


All the errors about using 'template<>' i can solve by editing the header as advised in the error message.

I don't really know how to follow this error:

1>f:\copy of dmm\win32\include\dmpluginlibrarydefs.h(682) : error C2143: syntax error : missing ';' before '('<br />
1>f:\copy of dmm\win32\include\dmpluginlibrarydefs.h(682) : warning C4346: 'From::token_type' : dependent name is not a type<br />
1>        prefix with 'typename' to indicate a type<br />
1>f:\copy of dmm\win32\include\dmpluginlibrarydefs.h(682) : error C2061: syntax error : identifier 'token_type'

which realte to this part of the header:

To::ret_token_type operator()(  _GATAN_COMPILER_TYPENAME From::token_type tok )<br />
				{ return reinterpret_cast<to::ret_token_type>( dm_env->convert_object( reinterpret_cast<dm_objecttoken>(tok), from_desc, to_desc ) ); }</dm_objecttoken></to::ret_token_type>


I did put 'token_type' and 'typename' in somewhere yesterday and solved them but i don't remember how.

Anyway once I got past these errors I ran in to linker errors.

Thanks
QuestionRe: Compiles with VC6. Is this still available? Pin
CPallini20-Feb-08 7:32
mveCPallini20-Feb-08 7:32 
GeneralRe: Compiles with VC6. Is this still available? Pin
Ylno20-Feb-08 8:54
Ylno20-Feb-08 8:54 
GeneralRe: Compiles with VC6. Is this still available? Pin
CPallini20-Feb-08 9:49
mveCPallini20-Feb-08 9:49 
GeneralRe: Compiles with VC6. Is this still available? Pin
Ylno20-Feb-08 10:51
Ylno20-Feb-08 10:51 
AnswerRe: Compiles with VC6. Is this still available? Pin
David Crow20-Feb-08 5:35
David Crow20-Feb-08 5:35 
GeneralRe: Compiles with VC6. Is this still available? Pin
Ylno20-Feb-08 5:49
Ylno20-Feb-08 5:49 
AnswerRe: Compiles with VC6. Is this still available? Pin
Chris Losinger20-Feb-08 9:04
professionalChris Losinger20-Feb-08 9:04 
Question[Message Deleted] Pin
1dayprogrammer20-Feb-08 4:08
1dayprogrammer20-Feb-08 4:08 
QuestionRe: code error..., in writing code to a file?? Pin
David Crow20-Feb-08 5:38
David Crow20-Feb-08 5:38 
GeneralRe: code error..., in writing code to a file?? Pin
1dayprogrammer20-Feb-08 7:14
1dayprogrammer20-Feb-08 7:14 
QuestionRe: code error..., in writing code to a file?? Pin
David Crow20-Feb-08 7:35
David Crow20-Feb-08 7:35 
GeneralRe: code error..., in writing code to a file?? Pin
1dayprogrammer21-Feb-08 9:17
1dayprogrammer21-Feb-08 9:17 
GeneralRe: code error..., in writing code to a file?? Pin
David Crow21-Feb-08 10:35
David Crow21-Feb-08 10:35 
GeneralRe: code error..., in writing code to a file?? Pin
1dayprogrammer21-Feb-08 11:22
1dayprogrammer21-Feb-08 11:22 
GeneralRe: code error..., in writing code to a file?? Pin
David Crow22-Feb-08 2:57
David Crow22-Feb-08 2:57 
GeneralRe: code error..., in writing code to a file?? Pin
1dayprogrammer20-Feb-08 7:15
1dayprogrammer20-Feb-08 7:15 
GeneralRe: code error..., in writing colour gradient code to a file?? Pin
Dexterus21-Feb-08 2:39
Dexterus21-Feb-08 2:39 

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.