The problem with automating Excel in VC++2005 [modified]
-
Have some one tried to generate MFC wrapper classes for excel interfaces? I read step-by-step tutorials on Microsoft site. Doing the same things, I'm getting 100's of errors. The tutorials are here: http://support.microsoft.com/kb/308407 http://support.microsoft.com/kb/307473/EN-US/ Errors looks like this: Error 66 error C2011: 'Picture' : 'struct' type redefinition c:\documents and settings\администратор\мои документы\c++projects\excel12test\debug\excel.tlh 19474 Error 67 error C2146: syntax error : missing ';' before identifier 'Scripts' c:\documents and settings\администратор\мои документы\c++projects\excel12test\debug\excel.tlh 20463 Error 68 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\documents and settings\администратор\мои документы\c++projects\excel12test\debug\excel.tlh 20463 Error 69 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\documents and settings\администратор\мои документы\c++projects\excel12test\debug\excel.tlh 20463 Error 70 error C2146: syntax error : missing ';' before identifier 'MailEnvelope' c:\documents and settings\администратор\мои документы\c++projects\excel12test\debug\excel.tlh 20511 Error 71 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\documents and settings\администратор\мои документы\c++projects\excel12test\debug\excel.tlh 20511 I tried in Excel 9,10,11,12 and the thigs are same. Looks like compiler is working wrong, because there is nothing to code when generating a wraper, all code generating automatically. I don't know what to do. THE
-
Have some one tried to generate MFC wrapper classes for excel interfaces? I read step-by-step tutorials on Microsoft site. Doing the same things, I'm getting 100's of errors. The tutorials are here: http://support.microsoft.com/kb/308407 http://support.microsoft.com/kb/307473/EN-US/ Errors looks like this: Error 66 error C2011: 'Picture' : 'struct' type redefinition c:\documents and settings\администратор\мои документы\c++projects\excel12test\debug\excel.tlh 19474 Error 67 error C2146: syntax error : missing ';' before identifier 'Scripts' c:\documents and settings\администратор\мои документы\c++projects\excel12test\debug\excel.tlh 20463 Error 68 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\documents and settings\администратор\мои документы\c++projects\excel12test\debug\excel.tlh 20463 Error 69 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\documents and settings\администратор\мои документы\c++projects\excel12test\debug\excel.tlh 20463 Error 70 error C2146: syntax error : missing ';' before identifier 'MailEnvelope' c:\documents and settings\администратор\мои документы\c++projects\excel12test\debug\excel.tlh 20511 Error 71 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\documents and settings\администратор\мои документы\c++projects\excel12test\debug\excel.tlh 20511 I tried in Excel 9,10,11,12 and the thigs are same. Looks like compiler is working wrong, because there is nothing to code when generating a wraper, all code generating automatically. I don't know what to do. THE
hint, are you using the english tlh in a non english environment ?
-
hint, are you using the english tlh in a non english environment ?