DWF

Reply
Active Contributor
tech-22
Posts: 31
Registered: ‎11-24-2003
Message 1 of 3 (113 Views)

Problem building DWFTK.SLN with Visual Studio 2003

113 Views, 2 Replies
10-13-2003 10:05 PM
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#.
*Autodesk\
Message 2 of 3 (113 Views)

Re: Problem building DWFTK.SLN with Visual Studio 2003

10-14-2003 02:27 AM in reply to: tech-22
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#.

Active Contributor
tech-22
Posts: 31
Registered: ‎11-24-2003
Message 3 of 3 (113 Views)

Re:

10-14-2003 04:22 PM in reply to: tech-22
That worked fine - Thank you
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Are You Going To Be @ AU 2014? Feel free to drop by our AU topic post and share your plans, plug a class that you're teaching, or simply check out who else from the community might be in attendance. Ohh and don't forgot to stop by the Autodesk Help | Learn | Collaborate booths in the Exhibit Hall and meet our community team if you get a chance!