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 creating XLL addin files for use on multiple platforms

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
Query multiple database platforms from Excel [email protected] Excel Programming 4 December 10th 07 11:25 PM
Creating a series from multiple columns and (multiple) files Badrinath Excel Programming 0 July 18th 07 05:58 PM
Need a count of #of times a result occurred on multiple platforms pkl Excel Worksheet Functions 3 May 31st 06 05:45 PM
Problems Creating html files with excel sheet Bigredno8 Excel Discussion (Misc queries) 1 July 5th 05 11:28 PM
Problems creating a dll in Excel 2003 using addin designer Tammy[_5_] Excel Programming 1 October 22nd 04 05:20 AM


All times are GMT +1. The time now is 05:54 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"