• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Using C++ Windows DLLs in Cocoa/Objective-C app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using C++ Windows DLLs in Cocoa/Objective-C app


  • Subject: Re: Using C++ Windows DLLs in Cocoa/Objective-C app
  • From: John Lombardo <email@hidden>
  • Date: Tue, 4 May 2004 02:05:08 +0800

I haven't had a use for this yet, but I recently read an article at Mac Dev Center explaining how Windows COM files will work on Mac OS X.
http://www.macdevcenter.com/pub/a/mac/2004/04/16/com_osx.html

On 04/05/2004, at 12:08 AM, Pandaa wrote:

2004-05-03 kl. 16.38 skrev ()ukasz Kuczborski:

Is it possible? If so I would be greatful for any tips/articles/tutorials/sample code. Thanks a bunch!

If you mean from code for one of the steps running on a windows system, there should be no problem.

If you mean from Cocoa code running on MacOSX, PowerPC, you would need to translate the x86 machine code into semantically equivalent PPC machine code and provide the expected environment for the code in the DLL. In the general case this is an intricate and complex task. If you're a wizard at compiler technology and have a few years free to undertake the task, by all means do but if not forget about it. It would probably be much less work to rewrite the functionality you want to access from scratch.

Unless, of course, you either have the source code and it's not dependent on any non portable APIs or you want to access only static data and no code.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >Using C++ Windows DLLs in Cocoa/Objective-C app (From: Łukasz Kuczborski <email@hidden>)
 >Re: Using C++ Windows DLLs in Cocoa/Objective-C app (From: Pandaa <email@hidden>)

  • Prev by Date: [Q] Getting edited cell data before enter key pressed
  • Next by Date: Find Panel in TextView
  • Previous by thread: Re: Using C++ Windows DLLs in Cocoa/Objective-C app
  • Next by thread: Obj-C in a dylib
  • Index(es):
    • Date
    • Thread