Olá pessoal,
Olá,
Estou tentando compilar o exemplo para rmchart. Peguei o exemplo deste link
http://www.fivewin.com.br/exibedicas.asp?id=751 e ao compilar o arquivo
atl.cpp me gera os erros:
xHarbour Compiler build 1.0.0 (SimpLex)
Copyright 1999-2007,
http://www.xharbour.org http://www.harbour-project.org/
Generating object output to 'CActiveX.obj'...
Type: C
>>>xcc.exe -Fo"atl.obj" -Ot -I"C:\xhb\include" -I"C:\xhb\c_include" -I"C:\xhb\c_include\win"
-I"C:\xhb\c_include\msvc" "atl.cpp"<<<
atl.cpp(35): warning: [ISO] No newline at end of file.
atl.cpp(8): error: Initializer must be constant.
atl.cpp(9): error: Initializer must be constant.
atl.cpp(10): error: Initializer must be constant.
atl.cpp(11): error: Initializer must be constant.
atl.cpp(14): warning: Missing type specifier.
atl.cpp(14): error: Empty declaration.
atl.cpp(14): error: Syntax error; found "C" expecting ';'.
atl.cpp(14): error: Unrecognized declaration.
atl.cpp(19): warning: Missing type specifier.
atl.cpp(19): error: Empty declaration.
atl.cpp(19): error: Syntax error; found "C" expecting ';'.
atl.cpp(19): error: Unrecognized declaration.
atl.cpp(26): warning: Missing type specifier.
atl.cpp(26): error: Empty declaration.
atl.cpp(26): error: Syntax error; found "C" expecting ';'.
atl.cpp(26): error: Unrecognized declaration.
atl.cpp(28): error: Unknown field 'QueryInterface' of 'struct IUnknown'.
atl.cpp(28): error: Found 'int' expected a function.
atl.cpp(33): warning: Missing type specifier.
atl.cpp(33): error: Empty declaration.
atl.cpp(33): error: Syntax error; found "C" expecting ';'.
atl.cpp(33): error: Unrecognized declaration.
Type: C >>>Couldn't build: atl.obj<<<
Como o atl.cpp ficaria para xharbour comercial ???
...ou alguém já tem o rmchart funcionando com o xharbour comercial e
poderia me enviar um exemplo funcional ?
Obrigado,
Rossine.