B
bike
i am going to add Button in Toolbar.
in addin.h
#import "C:\Program Files\Microsoft Office\OFFICE11\EXCEL.EXE"
rename_namespace("MSExcel"), rename("ExitWindows","ExcelExitWindows"),
raw_interfaces_only, named_guids
using namespace MSExcel;
in stdafx.h
#import "C:\Program Files\Common Files\Microsoft Shared\OFFICE11\mso.dll"
rename_namespace("Office"), named_guids
using namespace Office;
#import "C:\\Program Files\\Common Files\\Microsoft
Shared\\VBA\\VBA6\\VBE6EXT.olb" rename_namespace("VBE6"), named_guids
using namespace VBE6;
<------ and compile...
--------------------Configuration: ExcelTest - Win32 Unicode
Debug--------------------
Compiling...
Addin.cpp
e:\addin\exceltest\debugu\excel.tlh(7886) : warning C4003: not enough actual
parameters for macro 'DialogBoxW'
e:\addin\exceltest\debugu\excel.tlh(7886) : error C2059: syntax error : ','
e:\addin\exceltest\debugu\excel.tlh(26703) : warning C4003: not enough
actual parameters for macro 'RGB'
e:\addin\exceltest\debugu\excel.tlh(26703) : error C2059: syntax error : '('
e:\addin\exceltest\debugu\excel.tlh(26703) : error C2238: unexpected
token(s) preceding ';'
ExcelTest.cpp
e:\addin\exceltest\debugu\excel.tlh(7886) : warning C4003: not enough actual
parameters for macro 'DialogBoxW'
e:\addin\exceltest\debugu\excel.tlh(7886) : error C2059: syntax error : ','
e:\addin\exceltest\debugu\excel.tlh(26703) : warning C4003: not enough
actual parameters for macro 'RGB'
e:\addin\exceltest\debugu\excel.tlh(26703) : error C2059: syntax error : '('
e:\addin\exceltest\debugu\excel.tlh(26703) : error C2238: unexpected
token(s) preceding ';'
Generating Code...
Error executing cl.exe.
ExcelPrint.dll - 6 error(s), 4 warning(s)
<------ happen error
could you tell me what can i do ?
please.......
in addin.h
#import "C:\Program Files\Microsoft Office\OFFICE11\EXCEL.EXE"
rename_namespace("MSExcel"), rename("ExitWindows","ExcelExitWindows"),
raw_interfaces_only, named_guids
using namespace MSExcel;
in stdafx.h
#import "C:\Program Files\Common Files\Microsoft Shared\OFFICE11\mso.dll"
rename_namespace("Office"), named_guids
using namespace Office;
#import "C:\\Program Files\\Common Files\\Microsoft
Shared\\VBA\\VBA6\\VBE6EXT.olb" rename_namespace("VBE6"), named_guids
using namespace VBE6;
<------ and compile...
--------------------Configuration: ExcelTest - Win32 Unicode
Debug--------------------
Compiling...
Addin.cpp
e:\addin\exceltest\debugu\excel.tlh(7886) : warning C4003: not enough actual
parameters for macro 'DialogBoxW'
e:\addin\exceltest\debugu\excel.tlh(7886) : error C2059: syntax error : ','
e:\addin\exceltest\debugu\excel.tlh(26703) : warning C4003: not enough
actual parameters for macro 'RGB'
e:\addin\exceltest\debugu\excel.tlh(26703) : error C2059: syntax error : '('
e:\addin\exceltest\debugu\excel.tlh(26703) : error C2238: unexpected
token(s) preceding ';'
ExcelTest.cpp
e:\addin\exceltest\debugu\excel.tlh(7886) : warning C4003: not enough actual
parameters for macro 'DialogBoxW'
e:\addin\exceltest\debugu\excel.tlh(7886) : error C2059: syntax error : ','
e:\addin\exceltest\debugu\excel.tlh(26703) : warning C4003: not enough
actual parameters for macro 'RGB'
e:\addin\exceltest\debugu\excel.tlh(26703) : error C2059: syntax error : '('
e:\addin\exceltest\debugu\excel.tlh(26703) : error C2238: unexpected
token(s) preceding ';'
Generating Code...
Error executing cl.exe.
ExcelPrint.dll - 6 error(s), 4 warning(s)
<------ happen error
could you tell me what can i do ?
please.......