-
1. Re: Plugin with "NO VERSION"
Noel Carboni Apr 10, 2011 2:41 PM (in response to wleng)For filter plug-ins one implements code to handle the filterSelectorAbout selector.
I think it's the same for an automation plug-in... Have you handled the kSPInterfaceAboutSelector selector?
-Noel
-
2. Re: Plugin with "NO VERSION"
Chris Cox Apr 10, 2011 3:01 PM (in response to wleng)The version from System Info is the normal OS version numbering you would supply with an application (a resource with the version string).
-
3. Re: Plugin with "NO VERSION"
wleng Apr 11, 2011 9:48 AM (in response to Noel Carboni)Hi Noel,
Yes, and that part is working now. My problem is a different issue. When you select "Help | System Info", a dialog comes up listing all plug-ins. For each plug-in, there is a version but my plug-in shows "NO VERSION".
Thanks
Bill
-
4. Re: Plugin with "NO VERSION"
wleng Apr 11, 2011 9:53 AM (in response to Chris Cox)Where should I set this string. In my *.r file, there is an entry like
Version {(latestActionsPlugInVersion << 16) | latestActionsPlugInSubVersion},
Is it the place to set the version? If you could point me to a piece of sample code in the SDK's samplecode directory, that would be very helpful.
Thanks
Bill
-
5. Re: Plugin with "NO VERSION"
Noel Carboni Apr 11, 2011 9:52 PM (in response to wleng)Ah, sorry, I misread your question. Are you developing on Mac or PC?
If on PC, the version information is set in the VS_VERSION_INFO resource, which is in the .rc file.
For example,
///////////////////////////////////////////////////////////////////////////// // // Version // VS_VERSION_INFO VERSIONINFO FILEVERSION 2,1,0,0 PRODUCTVERSION 2,1,0,0 FILEFLAGSMASK 0x17L #ifdef _DEBUG FILEFLAGS 0x1L #else FILEFLAGS 0x0L #endif FILEOS 0x4L FILETYPE 0x2L FILESUBTYPE 0x0L BEGIN BLOCK "StringFileInfo" BEGIN BLOCK "040904b0" BEGIN VALUE "CompanyName", "Your company name here" VALUE "FileDescription", "Your plug-in name here" VALUE "FileVersion", "2, 1, 0, 0" VALUE "InternalName", "Your internal name here" VALUE "LegalCopyright", "Copyright (C) 2010 - 2011" VALUE "OriginalFilename", "YourPlugInName.8bf" VALUE "ProductName", "Your product name here" VALUE "ProductVersion", "2, 1, 0, 0" END END BLOCK "VarFileInfo" BEGIN VALUE "Translation", 0x409, 1200 END END
-Noel


