Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: how to use .dylib with typelibs under Excel mac - how to build under Xcode ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to use .dylib with typelibs under Excel mac - how to build under Xcode ?




On Jun 28, 2005, at 7:37 AM, email@hidden wrote:

I have set up some tool in C++ under Windows that I have ported to Mac OS
X.

I have problems to use the code under Excel 11.1.1 .

Under windows I created xxx.dll and xxx.tlb. I used the reference menu to
integrate these type libraries into vba.

Under Mac I created libxxx.dylib files and tried to reuse the xxx.tlb
compiled under windows.

The compile is OK, but when I run the vba, the error xxx.dll not found is
raised.

What should I do?

I tried rename libxxx.dylib to xxx.dll under Mac.

Is there a mktyplib.exe for Mac ?

Thanks in advance for your help

.dll and .exe file types are not supported in Mac OS X and cannot be built with Xcode.  You probably cannot reuse executable files from a different operating system (.tlb) on Mac OS X.  Changing the suffix of a .dll file to be .dylib does not change its contents or internal format; it's like taking a text file written in French and claiming it's now Russian.  It doesn't translate it.

Depending on what you are trying to do, you probably need to start with the Microsoft developer documentation for creating Excel/VBA plugins for Mac OS X.

Chris
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >how to use .dylib with typelibs under Excel mac - how to build under Xcode ? (From: email@hidden)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.