Converting plug-in of CS2 into CS(About Scripting)

Hi,all.
About Converting pulg-in of CS2 into CS,
I have a problem in scripting process.
In CS2 pulg-in, I overrode
RepresentScriptProvider::AppendNthObject() and
RepresentScriptProvider::GetNumObjects().
But in CS, the arguments of the method of above are different from CS2,
and there is an error that says "cannot instantiate abstract class"
due to AppendNthObject() and GetNumObjects() were not found
when I compile the pug-in in CS.
Can someone tell me how I should handle these two functions?
BsetRegrade.
Miya.

Hi, Dirk.
I checked my source, but I couldn't find where is wrong.
My scripting process is very near to PersistentList sample in CS2.
For converting to CS, I changed .fr file and MyScriptProvider.cpp file.
In .fr file, I changed the following source.
Class
kMyListDataBoss,
kInvalidClass,
IID_IMYLISTDATA, kMyListDataPersistImpl,
IID_ISUBJECT, kCSubjectImpl,
IID_IPMPERSIST, kPMPersistImpl
IID_ISCRIPT, kMyScriptImpl,
IID_IAUTOMATIONREFCOUNT, kAutomationRefCountImpl,
#if kMajorVersionNumber >= 4
IID_IDOMELEMENT, kScriptDOMElementImpl,
IID_IXMLFRAGMENT, kINXNoContentFragmentImpl,
#else
IID_IDOMELEMENT, kDOMElementImpl,
IID_IXMLFRAGMENT, kXMLDocumentContentFragmentImpl,
#endif
#if kMajorVersionNumber >= 4
resource VersionedScriptElementInfo(1)
// Contexts
kFiredrakeScriptVersion, kCoreScriptManagerBoss,
kWildFS, k_Wild,
#else
resource ScriptElementInfo(1)
kCoreScriptManagerBoss, kWildFS, k_Wild,
#endif
//Elements
Suite
Object
kMyListDataObjectScriptElement,
c_MyListDataItem,
"My List data item",
"My List data item",
kMyListDataItem_CLSID,
c_MyListDataItems,
"My List data items",
"My List data items",
kMyListDataItems_CLSID,
kUniqueIDBasedObjectScriptElement,
kMySuiteScriptElement,
#if kMajorVersionNumber == 3
NoSampleScripts,
#endif
In MyScriptProvider.cpp, I changed the following methods declaration.
#if kMajorVersionNumber >= 4
int32 MyScriptProvider::GetNumObjects(IScriptEventData* data,
IScript* parent)
ErrorCode MyScriptProvider::AppendNthObject
IScriptEventData* data,
IScript* parent, int32 n,
ScriptList& objectList
#else
int32 MyScriptProvider::GetNumObjects(IScript* parent,
ScriptID objectType)
ErrorCode MyScriptProvider::AppendNthObject
IScript* parent,
ScriptID objectType, int32 n,
ScriptList& objectList
#endif
Are there any wrong with these codes?
Or Should I have to add another method?
BestRegard.
Miya.

Similar Messages

  • I plugged my ipad 2 into the computer for the first time and all the music from the itunes converted on however now it wont delete it comes up with 'ping' next to the song

    i plugged my ipad 2 into the computer for the first time and all the music from the itunes converted on however now it wont delete it comes up with 'ping' next to the song

    Have you carefully worked through each and every single suggestion in this Apple support document?
    iPod not recognized in 'My Computer' and in iTunes for Windows
    B-rock

  • To whom it may concern I would like to inform you about an error occurred when I upgraded my firmware to IOS 6 When I plug a headphone/earphone into my, then unplug it, the volume turned out to be unadjustable I have attached 2 screenshots of the error, p

    To whom it may concern
    I would like to inform you about an error occurred when I upgraded my firmware to IOS 6
    When I plug a headphone/earphone into my, then unplug it, the volume turned out to be unadjustable
    I have attached 2 screenshots of the error, pls help?
    Thanks.

    Try a rest: Simultaneously hold down the Home and On buttons until the iPad shuts down. Ignore the off slider if it appears. Once shut down is complete, turn the iPad back on using the On button. In some cases it also helps to double click the Home button and close all apps from the tray before doing the reset.

  • Converting VHS and other Analog into Final Cut Pro

    Hello,
    I've taken it upon myself to archive some old home videos of a deceased young cousin of mine. The video is on VHS and getting old and I want to put it on DVD for her parents, and then "Print to Video" on DV for a new master hard copy I can use for my personal archive.
    I bought a Canopus 300 converter, plugged it into my PowerMac G5 via FireWire, and I can now see the footage on my Mac.
    What I can't do, is seem to find it in my "Log and Capture" window for Final Cut Pro.
    Does anyone have any suggestions?
    I also thought about looping it to a DV camera and dubbing it, then having this footage with a new TimeCode and then capture it into Final Cut Pro.
    My first priority is getting this video preserved in the best quality video possible (it's already not so good to begin with).

    What I can't do, is seem to find it in my "Log and Capture" window for Final Cut Pro.Does anyone have any suggestions?
    You must set your capture settings to Non controllable device in order to capture from the converter and use Capture Now.
    I also thought about looping it to a DV camera and dubbing it, then having this footage with a new TimeCode and then capture it into Final Cut Pro.
    If your camera hace analog inputs you can do that. This way you'll have a safe copy of your footage. Using the first option, you can make some basics edits and corrections before transfering to the DV, what means cutting some "floo and sky" shoots !
    Hope that helps !
      Alberto

  • Error : while converting a WD ABAP object into SAP Transaction

    Hi,
    I am trying to converting a WD ABAP object into SAP Transaction but i am getting the following error while executing the transaction :
    Network Access Message: The page cannot be displayed
    Technical Information (for Support personnel)
    Error Code: 502 Proxy Error. The specified Secure Sockets Layer (SSL) port is not allowed. ISA Server is not configured to allow SSL requests from this port. Most Web browsers use port 443 for SSL requests. (12204)
    IP Address: 10.114.6.144
    Date: 4/7/2011 10:41:
    Please help.

    > ISA Server is not configured to allow SSL requests from this port. Most Web browsers use port 443 for SSL requests. (12204)
    This seems to be your specific network configuration.  It seems that your corporate network is blocking HTTPS requests which don't use port 443. Your ABAP system is configured to use a port other than 443. Either talk to your basis admins about changing your ABAP system configuration to use port 443 or talk to your network administrators to allow whichever port the ABAP system is running on.

  • How do i convert a portion of day into a time?

    How do i convert a portion of day into a time, without dividing and modding the number myself?
    For example, i calculated solar noon UTC to be .733409047. Adding that to the date gives the correct answer:
    SQL> SELECT TO_DATE('1/1/2012', 'DD/MM/YYYY') + .733409047 FROM Dual;
    TO_DATE('1/1/2012',
    01/01/2012 17:36:07
    A few questions, to actually understand this.
    Is .733409047 implicitly converted? If so, to what datatype?
    If i want HH:MM:SS does it need to be converted to a date, and then TO_CHAR? Or can the decimal be directly converted?
    I'm currently trying to understand INTERVAL.
    SQL> select interval '.5' day from dual;
    select interval '.5' day from dual
    ERROR at line 1:
    ORA-01867: the interval is invalid
    So, i'm obviously misunderstanding it. Can it be used here?

    Hi,
    Brian Tkatch wrote:
    How do i convert a portion of day into a time, without dividing and modding the number myself?
    For example, i calculated solar noon UTC to be .733409047. Adding that to the date gives the correct answer:
    SQL> SELECT TO_DATE('1/1/2012', 'DD/MM/YYYY') + .733409047 FROM Dual;
    TO_DATE('1/1/2012',
    01/01/2012 17:36:07
    A few questions, to actually understand this.
    Is .733409047 implicitly converted? If so, to what datatype?No, there is no conversion going on here, just Date Arithmetic .
    In Oracle, if d is a DATE and n is a NUMBER (not necessarily an integer, and not necessarily positive), d+n is the DATE that is n days later than d.
    If i want HH:MM:SS does it need to be converted to a date, and then TO_CHAR? Or can the decimal be directly converted?Sorry, I don't understand. Are you saying that you want to do something like date arithmetic, but instead of using a number like .733409047 (meaning about .73 of a day), you want to pass a string like '17:36:07' (meaning 17 hours, 36 minutes and 7 seconds)? If so, INTERVAL DAY TO SECOND is probably your best bet. (It looks like you're already thinking along these lines.)
    I'm currently trying to understand INTERVAL.
    SQL> select interval '.5' day from dual;
    select interval '.5' day from dual
    ERROR at line 1:
    ORA-01867: the interval is invalid
    So, i'm obviously misunderstanding it. Can it be used here?You can only use integers like that. If you want to use any number, then use date arithmetic to add to (or subtract from) a DATE, or use NUMTIDSINTERVAL to produce an INTERVAL DAY TO SECOND:
    SELECT     NUMTODSINTERVAL (.733409047, 'DAY')     AS intrvl
    FROM     dual;Output:
    INTRVL
    +000000000 17:36:06.541660800 
    I hope this answers your question.
    If not, post a little sample data (CREATE TABLE and INSERT statements), maybe about 5 rows, and also post the results you want from that data.
    Explain, using specific examples, how you get those results from that data.
    Always say which version of Oracle you're using.

  • How can I convert a PDF/A file into a PDF file with Acrobat Pro X?

    How can I convert a PDF/A file into a PDF file with Acrobat Pro X? I'd like to modifiy the file which I have only as a PDF/A.

    There's two answers if you want to modify the file:
    You can temporarily turn off PDF/A Mode in your preferences, so they don't open as read-only. The problem would be if you do something to the file that violated the PDF/A standard, so you should always run a Preflight check afterwards to make sure.
    If you want to remove the PDF/A header tag, use Preflight again - it's on the Print Production Panel in Acrobat X Pro (which may be hidden, use the options menu on the Tools Pane to show it). There's a profile called "Remove PDF/A information" - choose this and press Analyze and Fix. Nothing else about the file will be altered but when you save and reopen it all the editing tools will become active.

  • I want to convert a series of names into a table (in either numbers or pages). The list I have has a name and then an email address in brackets, followed by a 'yes' or a 'no'. I would like to separate the list into three columns

    I want to convert a series of names into a table (in either numbers or pages). The list I have has a name and then an email address in brackets, followed by a 'yes' or a 'no'. I would like to separate the list into three columns - the first containing the name, the second containing the email address and the third containing the 'yes' or 'no'.
    Can you help me ?

    The question that needs to be answered is what is separating the columns? Is it a single tab, one or more tabs, spaces, or what?  Or is it the brackets that makes the separation between the three pieces of data?
    If it is always a single tab, that makes it really easy.  All you have to do is find/replace the brackets with nothing (as Wayne said)
    If it might be multiple tabs, you can find/replace tab-tab with a single tab and repeat that a few times until no more double-tabs are found.
    If it is one or multiple spaces, that might be difficult. I'll think about this one if this is what you have. I'll ignore this possiblility for now.
    If it is the brackets separating the three pieces of data, you would Find/Replace the left bracket with a tab then do the same with the right bracket.

  • Converting OBIEE Answers / Interactive Dashboards into .pdf or .xls files

    Hi all;
    I’m a freshie here as well as in Business Intelligence industry. Right now, without prior knowledge about this tool, I’m working in OBIEE answer.
    Is it possible for us to convert OBIEE answer report/dashboard into .pdf or .xls files? Other tools like Cognos and Business Object have their own utilities to convert the tool’s reports into those formats. I believe OBIEE also have that essential, but untill now, i couldn’t find it.

    You can download Reports on Dashboard to PDF and HTML from:
    Click Printer Friendly icon placed at bottom left corner and PDF or HTML.
    You can download individual reports on Dashboard:
    Page Options ==> Edit ==> Report Properties ==> Report Links. Check the options you want to see below the report.

  • Help - Can I Convert/import a PDF back into an InDesign doc?

    Long story short: This is a document I originally created and the original was lost. The client now wants to make changes and re print. I would like avoid having to build the entire doc from scratch. I have the original Hi-res PDF that I retrieved from the printer.
    Question:
    1) Is there any way to convert/import this doc back into an editable Indesign Document?
    Steve

    Sorry Kids- was just having a bad day! To Kath: you are absolutely right -didn't even think about it, & checked it in MS Word with that word in wrong usage, just flew through! To Jongware: Sorry Bud, but plenty of help out there to solve that issue! To Scott: great link, had fun reading that one! Just got my second & third AAS degrees from local community college (Print & Graphic Design(updated to digital) at 53. And I was appalled at how many of our HS grads are not only receiving their diplomas but getting into college and cannot read at all! So I guess there will be much need for good proofreaders for the immediate future at least, Damn, must still be having that Bad Day relapse!! Have a great day all & sorry again for anyone I might have insulted, not my intention, if I were perfect, I wouldn't need to be here now would I? Les G

  • Converting a string of numbers into an array of booleans

    For a homework assignment, I need to convert a string of numbers into an array of booleans.  The string is a bunch of random numbers (0-9) in sequence, with no spaces.  It looks something like this: 0123452348949230740329817438120947392147809231419.  I need to make it so that each even number represents a "True" boolean and so that each odd number represents a "False" boolean.  I think that I first need to convert each element of the string into a number, and then use a case structure (or something) to say, for each element of the array, "If even, then true.  If odd, then false," but I could be wrong.  Any suggestions?

    billko wrote:
    Hooovahh wrote:
    billko wrote:
    Sounds reasonable.  Think about the definition of "odd" and "even" and it will make life a lot easier. 
    I know you are trying to be vague but I'd like to give a key hint.  Use the Quotient and Remainder function.
    LOL maybe that was one of the objectives of the homework. 
    To be fair it sounds like there is more work that is needed.  A new user of LabVIEW will have a hard time figuring out how to process each character one at a time when it isn't in an array.  
    It's just that most people (me at least) stopped thinking about division with quotient and remainder after basic algebra.  I then of course changed my way of thinking when I used LabVIEW.  Still most of the time when you use division you want to know the fractional part as a decimal.  Thinking this way makes the problem more difficult then it needs to be.
    Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
    If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.

  • How do I plug an electric guitar into my imace to use garage band

    I'm a beginner. What do I need to buy and or download to plug my electric guitar into the imac?

    Most online reviews give just about any apogee product a good name. Especially the jam and duet lines. Before you buy product make sure you evaluate exactly what you will need out of it. Will you always be recording just guitar tracks, or eventually want to record more than 2 tracks simultaneously? If you stick to purely 2-track most people say apogee sound is one of the best.
    I personally own a different interface (FTU by Maudio) but mostly because I wanted up to 4 tracks at same time for live and studio recordings. It's an ok product but probably falls short of the apogee quality. Think about exactly what you want from your setup and price range. It's all a delicate balance of compromise from there...

  • Which converter plug do I need to buy to use my MacBookPro in Italy?

    I have a set of two converter plugs I used for my last trip to italy for my Blackberry, but I wonder about the Mac?
    Any thoughts, suggestions or to-buy links would be VERY MUCH APPRECIATED!!!

    So, basically this item would be fine?
    http://www.amazon.com/Universal-Italian-Travel-Adapter-Adaptor/dp/B002FPLE3U/ref =lh_di_t_dup

  • Headphone / headset jack converter plug

    I have a tape cassette player in my car (don't laugh) which is actually a blessing because I have a tape-sized adapter thing that looks like a cassette tape but has a wire coming out of it and ends in a regular small headphone jack. (Small, but bigger than the Nokia E51 jack)
    1. I'd like to use my phone as the music source for my car stereo, so I would need to source a converter plug. Are those widely available?
    2. Can I also use other head-phones with my E51 with that converter plug? The head-set jack of course is slightly different because it includes the microphone as well, but will it work with a normal stereo jack of the same size?
    3. Finally I'd like another converter plug to go from Nokia's head-set plug into TWO jacks so I can use the same head-set with my laptop for Skype calls there. Guess those converter plugs would be harder to find, so that would involve befriending someone who owns a soldering iron?

    This can solve your problem (partially):
    http://www.pixmania.be/be/fr/516939/art/hama/adaptateur-1-jack-stereo.html

  • 2mm 2.5mm converter plug

    i have just purchased a bluetube headset to reduce radiation but it is 2.5mm and does not fit my phone which is 2mm. does nokia sell a converter plug to these sizes, in australia? if so, where can i purchase one?

    I have the same problem - albeit with different headphones. I've found that generic converters I have purchased do not fit properly into the phone. I assume that unless there is a problem with the phone jack I also need a Nokia converter plug. So my question is the same - are there such products available to purchase in Australia?

Maybe you are looking for

  • Is there a way I can download my DVD movie to my laptop DVD-RW and then be able to play it on my TV

    Is there a way I can download my DVD movie to my laptop DVD-RW drive and then be able to play the disk thru my DVD player on my TV

  • My Mac keeps losing it's internet connection

    My iMac regularly loses internet connection. Every few minutes a window pops up saying that safari cannot access a site as the computer is not connected to the internet. If I then do nothing, connection is restored after about ten seconds and the sit

  • Customer Recon Change(FX impact) @ the time of F101.

    Hi Gurus, I had a query regarding change of Customer's recon account and the impact of FX . After checking few threads i found that through  Tcode:- F101 the amount from old recon account will be reclassed to a new GL account(Adjustment GL) and after

  • Ageing Analysis for ARE Documents - Clarification

    HI, 1.What is the Purpose if ageing analysis for ARE ? and when it will be helpful ? 2. When i click on the Document system is showing is ARE Status numbers, each one have its own purpose can any one guide me 3. how it is helful to the Enduser ? beca

  • Stuck on "Starting Windows" screen

    Hello, For some reason, my laptop graphics display shut down earlier today. So, I tried the shut down my laptop (thinking that it was just overheating from work) and let it cool down. I tried to start it up a bit later and it would not start up. It j