Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Problems created XLL addins for use on multiple operating systems

I am using Visual Studio 2008 on Vista 64 to create XLL Addins for Office
2007. The original code was developed in Visual Studio 6 and therefore does
not support .NET. Currently the code compiles and produces a viable *.xll
file for Excel on my development machine. As soon as I load it onto another
machine running Office 2007 on windows XP, Excel produces an error message
saying the file is either corrupt or not in the expected format. I have been
tinkering with the project settings for sometime but have come up empty
handed. To the best of knowledge, I have set up the build identical to my
Visual Studio 6 one and insured that I am compiling Win32 compatible. I also
experience this problem when I compile the example files provided in the
latest SDK and attempt to run them on other machines. Moving over to a .Net
framework is not an option as performance is very important. Any ideas as to
what would cause these *.xll files to run fine on my vista 64 machine but not
the windows XP machine running identical versions of office? I have included
the build below.

/O2 /Ob1 /I "C:\Users\****\Documents\Programs\ModelFunctions\s rc" /I
"C:\Users\***\Documents\Programs\ModelFunctions\li b" /I
"C:\Users\***\Documents\Programs\ModelFunctions\in clude" /D "WIN32" /D
"NDEBUG" /D "_WINDOWS" /D "_USRDLL" /D "_VC80_UPGRADE=0x0600" /D "_WINDLL" /D
"_AFXDLL" /D "_MBCS" /GF /FD /EHsc /MD /Zp8 /Gy /Yc"stdafx.h"
/Fp".\Release/ModelFunctions.pch" /Fo".\Release/" /Fd".\Release/"
/FR".\Release\\" /W3 /nologo /c /Gd /TP /errorReport:prompt

/OUT:".\Release\ModelFunctions.xll" /INCREMENTAL:NO /NOLOGO
/LIBPATH:"C:\Users\***\Documents\Programs\ModelFunc tions\lib" /DLL /MANIFEST
/MANIFESTFILE:".\Release\ModelFunctions.xll.interme diate.manifest"
/MANIFESTUAC:"level='asInvoker' uiAccess='false'" /DEF:".\ModelFunctions.def"
/PDB:".\Release/ModelFunctions.pdb" /SUBSYSTEM:WINDOWS /DYNAMICBASE:NO
/IMPLIB:".\Release/ModelFunctions.lib" /MACHINE:X86 /ERRORREPORT:PROMPT
XLCALL32.lib frmwrk32.lib

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems in macros after chaning Operating system to Windows XP Vijay Kotian Excel Programming 0 September 16th 08 02:11 PM
Problems with Macros created in PC run in Mac Nam Excel Programming 1 June 11th 08 06:41 PM
Problems with file to be used on different systems. Joseph Fletcher[_2_] Excel Programming 4 May 31st 07 03:58 PM
PC-created files used on a Mac - Problems JEFF Excel Discussion (Misc queries) 4 July 29th 05 09:26 PM
Addins causing problems Andrew- Excel Programming 6 June 30th 05 07:25 PM


All times are GMT +1. The time now is 03:39 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"