• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

samples in CS5 SDK with UI working on 32/64 bit Windows/MAC

New Here ,
Dec 09, 2010 Dec 09, 2010

Copy link to clipboard

Copied

Are there any plug-in samples in CS5 SDK with GUI really working on 32/64 bit Windows/MAC?

I'm also looking for plugin sample with QT GUI.

Cheers

TOPICS
SDK

Views

1.7K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Participant , Dec 13, 2010 Dec 13, 2010

Ah sorry, forgot to answer that. No, it's not a POSIX file pointer. It's a Macintosh file handle, so you need to use the Macintosh routines.

I think Adobe provides some abstractions over that to help x-platform file i/o. I wrote my own x-platform libraries years ago so I just use these.

Votes

Translate

Translate
Adobe
Participant ,
Dec 13, 2010 Dec 13, 2010

Copy link to clipboard

Copied

Source code for  plugins with working UI on Win32/64, Carbon 32 bit, and Cocoa 64 bit is on my site, http://telegraphics.com.au/sw/ ; Subversion links are on the page. e.g.: icoformat, webpformat

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 13, 2010 Dec 13, 2010

Copy link to clipboard

Copied

Thank you.

Do you have any minimalistic plugins with About dialog and that's it? Any xcode based projects?

Cheers

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Dec 13, 2010 Dec 13, 2010

Copy link to clipboard

Copied

Just delete everything but the About box, and bingo!

No Xcode. The Makefile is just so much more convenient and powerful.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 13, 2010 Dec 13, 2010

Copy link to clipboard

Copied

how do you debug it on mac?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Dec 13, 2010 Dec 13, 2010

Copy link to clipboard

Copied

Never needed a symbolic debugger.

...but an Xcode project wouldn't be too hard to derive. Just follow what the Makefile does, or copy Adobe's project.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 13, 2010 Dec 13, 2010

Copy link to clipboard

Copied

Hi,

So Mac minimum without even About in case of webpformat are:

Makefele

main.c

entry.h

PiPL.r

PiPL*.r

info.plist.tmpl

exports.exp

Am I correct?

One more question, what pb-dataFork supposed to be on Mac? Pointer  to FILE object?

BTW do we really need exports.def for windows?

Cheers

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Dec 13, 2010 Dec 13, 2010

Copy link to clipboard

Copied

Looks like you also need world.h, but dbg.h and str.h can be commented out in that.

You're right, exports.def isn't used by a native NMAKE build. It is referenced in the Makefile used by other environments, like MinGW Win32 cross-build from Linux or OS X. I think CodeWarrior may have used it too.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 13, 2010 Dec 13, 2010

Copy link to clipboard

Copied

One more question, what pb->dataFork on Mac? Pointer  to FILE object which i can simple use in fwrite?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Dec 13, 2010 Dec 13, 2010

Copy link to clipboard

Copied

Ah sorry, forgot to answer that. No, it's not a POSIX file pointer. It's a Macintosh file handle, so you need to use the Macintosh routines.

I think Adobe provides some abstractions over that to help x-platform file i/o. I wrote my own x-platform libraries years ago so I just use these.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 14, 2010 Dec 14, 2010

Copy link to clipboard

Copied

Thank you, I really appreciate your help.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 14, 2010 Dec 14, 2010

Copy link to clipboard

Copied

Hi,

One moe... How do you create ui_mac.r file? Do you convert it somehow from WebPEncodeQuality.nib? How?

Cheers

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Dec 14, 2010 Dec 14, 2010

Copy link to clipboard

Copied

LATEST

The Rez sources are written by hand, but you can use ResEdit (on Classic/10.4 only!) to lay them out visually and decompile with DeRez (comes with OS X Developer tools).

Or, you can also use Interface Builder to create Carbon nib files (I haven't done this yet, but plan to try, as it promises to make Carbon support easier and more consistent with Cocoa).

Message was edited by: qu1j0t3

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines