Community
DWF
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Problem building DWFTK.SLN with Visual Studio 2003

2 REPLIES 2
Reply
Message 1 of 3
Anonymous
372 Views, 2 Replies

Problem building DWFTK.SLN with Visual Studio 2003

Can anyone help me with how to lose the error? :-
error C2552: 'DWFXmlBuilder::_handlerEntries': non-aggregates cannot be initialized with initializer list. XMLBuilder.cpp - line 44.

Using Visual Studio 2003 Pro. I am better suited to VB.NET/C#.
2 REPLIES 2
Message 2 of 3
Anonymous
in reply to: Anonymous

The posted Dwf toolkit was built for use with VC 7,
not VC 7.1.  Until we post the updated toolkit, you can simply remove the
curly braces from line 44:

 

OLD:

{ BUILDER_HANDLER_MAP_ENTRY(typeid(XmlBuilder),
(PFNBuilderHandlerMethod)0) }

 

NEW:

BUILDER_HANDLER_MAP_ENTRY(typeid(XmlBuilder),
(PFNBuilderHandlerMethod)0)

 


style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
Can
anyone help me with how to lose the error? :-
error C2552:
'DWFXmlBuilder::_handlerEntries': non-aggregates cannot be initialized with
initializer list. XMLBuilder.cpp - line 44.

Using Visual Studio 2003 Pro. I am better suited to
VB.NET/C#.

Message 3 of 3
Anonymous
in reply to: Anonymous

That worked fine - Thank you

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

”Boost

 

”Tips

 

”Services