
Originally Posted by
MichaelB
Just wanted to let you know that Lib builds with 0 errors
"Demo" compiles with 34 errors. The first one is:
Error 5 error C2491: 'TTextValue::s_TextButtonEditor' : definition of dllimport static data member not allowed vb.3.2.4.snapshot.20071125\src\addons\iisTextValue .cpp 31
VS2005, qt4.3.0
That's a msvc issue. It does not allow constructs like this:
DLL_EXPORT class Foo
{
static int bar, baz;
};
DLL_EXPORT class Foo
{
static int bar, baz;
};
To copy to clipboard, switch view to plain text mode
You must explicitely declare the static vars line by line.
Bookmarks