Re: Using C++ Windows DLLs in Cocoa/Objective-C app
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.