Atozed Forums

Full Version: Bootstrap compile error
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

i just tried the bootstrap example from Loren and it's running with Delphi XE6.

But if i try to create a simple bootstrap project with just a region and a button i receive the following error:

[bcc32 Error] IWBSCustomControl.hpp(143): E2303 typname expected
  complete Parser-Context
    Unit1.cpp(6): #include Unit1.h
    Unit1.h(23): #include C:\IntraWeb 15\LibD10_2W32\IWBSButton.hpp
    IWBSButton.hpp(25): #include C:\IntraWeb 15\LibD10_2W32\IWBSCustomControl.hpp
    IWBSCustomControl.hpp(42): namespace Iwbscustomcontrol
    IWBSCustomControl.hpp(47): class TIWBSCustomControl
    
    __property OnHTMLtag;
   
I'm using:

    C++Builder 10.2.3
    IW 15.0.12

Thanks for any help
JuergenS
Howdy Juergen,

I had same problem as I always do on some C++ Builder created packages from Delphi sources.

Just comment it out and rebuild.

All the best,

Shane
Hi Shane,
thanks for your help.
Juergen
Please change this:

OnHTMLtag

into this:

OnHTMLTag

in IWBSCustomControl.hpp file

note the uppercase T in the second line.

This is a typo in IWBS source code which doesn't make any difference in Delphi but certainly doesn't work in C++ Builder.
Hi Alexandre,
thanks for your response
Juergen