Interfacing between objective c and c++

Hi all,
I am new to cocoa and objective c/c++.
I have to develop an application in objective c/c++ for mac ipad.
I have the core graphics library already developed in c++, this code needs to interface with the gui which is supposed to be developed in objective c/c++. I cannot rename the .cpp files to any other extension.
Can someone please explain how  could I interface between c++ and objective c/c++  with an example?
Thanks.

Create Objective-C++ class (just name the implementation classes .mm) and freely use your c++ classes from Objective-C.  I have not tried the reverse, so cannot comment on that.  Stick to using pointers for your C++ classes to avoid issues related to deallocation of your C++ classes

Similar Messages

  • Diff between object based and ob. oriented

    diff between object based and ob. oriented

    Object-oriented requires at least three factors:
    1. Encapsulation: Combining data and the methods that manipulate the data into a self-contained unit called an "object" in which the data is hidden from the user and only the method interface is visible.
    2. Inheritance: Ability of a class to extend the features of another class by obtaining all the public features of the other class while adding its own specialized features (Example: Great Dane inherits from Dog)
    3. Polymorphism: The ability to perform "late binding" by invoke methods of a subclass on behalf of its superclass. (Polymorphism includes other things and it difficult to explain.
    If a language does not include all three, it is called "object-based." Visual Basic 6 is object-based, because it allows you to define classes that encapsulate, but doesn't support an inheritance hierarchy nor polymorphism.

  • BP change documents ( linking problem between Object id and Business Partner)

    Hi,
    We need to create a report for documents changed for a Business partner.
    This will be done in sap bw.
    on source side I have created the datasource with function module changedocument_read and I am getting most of the information
    which I want. Only missing part is Business Partner number.
    Can somebody suggest , how I would be able to link Object Id to business partner.
    I need to pull everything that is changed at BP level and the Object class selection around 30 in number.
    So I am looking for any standard function module which can provide me the link between Object id and Business partner.
    If I establish the rules to determine the Business partner from Object id , its getting bit difficult.
    Can somebody please help/suggest.
    I have gone through many documents and scn posts but unable to find anything on this.
    Thanks !

    Hi, looking at the change history header table CDHDR it seems that object ID simple equals the internal format of the business partner number.

  • ISA-95/B2MML centric interface between Oracle ERP and MES

    Hi :
    A customer wants to know if we have any ISA-95/B2MML centric interface between Oracle ERP and Microsoft Exchange Server. Specifically, they are interested in learning about compliance to OPC UA standards in such integration.
    Please reply if anybody has any information. Your help will be greatly appreciated!
    Thanks and Best Regards,
    Harris

    Hello,
    I guess this is not the right forum to address this query. Please post this question in some E-Business Suite related forum..
    Let me know.
    Rgds,Ramesh

  • IDOC type for interface between SAP ECC and SAP F&R

    Hi Experts,
    I need SAP standatd IDOC type for interfacing between SAP ECC and SAP F&R [SAP Forecasting and Replenishment] using message type u201CFRE_LOC_SITEu201D.
    Please help me in finding the idoc type?
    Regards,
    Krishan

    Hi Denish,
    You have 2 ways of loading data from R/3 to APO.
    1. R/3 to BW cube to APO-BW cube to APO planning area
    or
    2.  R/3 to APO-BW cube to APO planning area   
    BW can be a enterprise BW system ( independent) or you can use the BW inbuilt in APO also referred to as APO-BW.
    The only difference between the 2 BW systems is APO-BW can not take the load of reporting where as the enterprise BW can.
    Unless your company policy requires the enterprie BW system, I suggest using 2nd way.
    You can load the data from R/3 to APO-BW cube using extractors either generic or standard depending on your data. You need to have a RFC connection setup between APO-BW and R/3. ( This is not CIF).
    When you load the data into the APO-BW cube, you just have to load the data from the cube to APO planning area using the transaction /sapapo/tscube.
    Refer to [DP Data Mart|http://help.sap.com/saphelp_scm50/helpdata/en/13/5ada58309111d398250000e8a49608/frameset.htm] for more information about the data transfer between APO-BW and APO.

  • Can we have the interface between microsoft excel and adobe illustrator

    Can we have the interface between microsoft excel and adobe illustrator?

    Feature Request/Bug Report Form
    That aside, have you actually already explored variables or the graph tools?
    Mylenium

  • Interface between D&B and SAP using XI

    We need to set up following interfaces between
    - SAP CRM and Dun and Bradsteet through XI 3.0
    - SAP SRM and Dun and Bradsteet through XI 3.0
    Could anyone give me any feedback on such a kind of interface ?
    laurent pialot

    Hi,
    D&B offers their D&B Toolkit as AML services over HTTPS. (Not SOAP). With those services you can search for DUNS numbers, order reports etc.
    In our case we use SAP FSCM and the integrated outbound interface to external credit agencies to call Xi. In Xi we use a XSLT mapping to convert the request to the D&B toolkit schema and use the HTTP adapter to call D&B. The response is then mapped back to the SAP FSCM interface format and updates the business partner.
    You don't say anything on what kind of D&B data you want to request or what you want to do with it (reports, update BPs etc) therefore it is kind of hard give any further advice.
    rgds Johan

  • Analog interface between voice gateway and pbx system, please suggest too

    Hi
    I’m a fresh in telephony and voip technology. I didn’t find information about design analog interface between voice gateway and pbx system such as fxo-to-fxo, fxo-to-fxs, fxs-to-fxs, fxo-to-e&m, fxs-to-e&m, or e&m-to-e&m. Could you please suggest any resource for me?
    Ps. my networks have 1 HQ and 2 branch offices connect to the HQ.
    Thanks,
    Nitass

    Hello,
    you can find lots of info about analog voice interfaces here:
    http://www.cisco.com/en/US/tech/tk652/tk653/tk754/tech_protocol_home.html
    I've found this particular document very useful when trying to understand how telephone signaling works. This applies to any telephone system where interfacing to analog phones or the PSTN is involved.
    http://www.cisco.com/en/US/tech/tk652/tk653/technologies_tech_note09186a00800a6210.shtml
    Regards.

  • Changes in their scheduling interface between 6.4 and 7.0

    Can you share with me if there are any changes in the scheduling interface between 6.4 and 7.0 (NetWeaver 2004s)?  We have a job scheduling solution that this would effect.  Thank you

    When we upgraded from 8.4 to 8.9, we had to switch to use the new table structures. This was about 3 years ago, but I recall that the miscellaneous tables you are asking about were combined into the other tables (maybe the payment one). You will need to review the fields on each of the new tables to see where the freight and tax information is now stored. We didn't store that information for the vouchers we loaded via EDI in the past, so we didn't have to worry about it going forward.
    Good Luck! It wasn't fun converting this part of the system!
    Jennifer

  • XML interface between 8.05 and 8i

    Hi all,
    I am kinda new to the world of XML. So bear with me if my questions are too simplistic.I am planning to write an interface between Oracle HR(8.05) and a third party application that resides on 8i. Basically, the Employee data is selected from 8.05 tables and comapred to the tables in 8i. If any employee do not exist in 8i, they need to be "inserted". Else they are assumed to be candidates for "update". This is the logic and it can be very easily programmed using PL/SQL stored procedure. The question is how to do this using XML? I guess you can classify this question as XML 101.
    What is my starting point?
    What needs to be installed on 8.05? XSU?
    Is there a step by step installation instruction somewhere?
    Is XSU and other needed tools compatible w/ 8.05?
    Are there any sample XML codes for this type of interface?
    Your help will be greatly appreciated.
    null

    Do you check if the granted role of user X is activated when it starts a session.
    Check the view session_roles connected with X user.

  • Workflow Interface between Lightroom 2 and PSE7 - Resources?

    Hi, I'm a new member, and a new user of both PSE7 and Lightroom 2.3. I love the organising and raw processing capacity of LR, and need PSE7 for simple filters, layers etc. CS4 would be expensive overkill for my needs.
    I am looking for resources:- manuals/podcasts/articles/tutorials to instruct me how to use the two together - preferably in Windows speak.
    There's loads of wonderfully helpful info around about LR - which I'm soaking up - and there's similarly loads about PSE7, but when it comes to the work flow interface most sources focus on combining Photoshop CS3/4 and LR. Fundamentally the interfaces aren't hugely different, but there are differences and they are frustrating to bump up against.
    For example it's no longer possible to upgrade catalogs from PSE7 to LR2, whereas it was from PSE6 and is from CS. And in the Photo - "Edit In" dialogue in LR, CS4 is a default - to set up PSE7 I had to choose preferences specifying PSE7's editor.exe as I would for any 3rd party editor. (Am I right in thinking that earlier LR versions had Elements as a default external editor?)
    I almost feel as a user that I'm being steered away from combining PSE7 and Lightroom 2 (I do have slightly paranoid tendencies though)
    I am making headway, and extracting pieces of useful information from different places, but would find it extremely helpful to have something coherent that would take me through the process. (Maybe there's a slim volume there for someone.)

    I think you may have hit a nerve with this.  When I was trying to decide between the two, the Adobe Sales Person couldn't even explain the differences.  I now know that the Lightroom nondestructive editing and great organizing capabilities are what I want, but I also have both.  As you said, there are many books on each, and several on PS and LR2, but none on this combo.  I like the Photoshop.com program, and will like it more when they figure out that Friends should be able to see all your shared albums without using single email links for each album.  I hope you get an informed response, and I'll ride your coattails!

  • Interface between real instruments and macbook

    Hi all,
    I'm running a macbook and am keen to get recording in garageband. I have a guitar pedal, that I am unsure of whether or not I should connect to the macbook. ( Live thread: http://discussions.apple.com/thread.jspa?threadID=869286&tstart=0 ).
    I was wondering what sort of audio interface equipment you would advise for use to plug the guitar, pedal, mic etc into the macbook for recording. I don't want to spend the earth on a solution, however, I am keen to get a quality, noise-free solution etc.
    Cheers,
    Dan

    There is no problem plugging the output of the pedal into the line-in on your MacBook, the computer will not be damaged. Try that first and decide if what you record is what you desire, quality-wise.
    If you find you still want an interface (and if you want to use a Mic, you do need one), take a look here:
    http://www.bulletsandbones.com/GB/Interfaces.html

  • Interface between Microsoft Project and SAP Project Systems

    Hi,
    When we update SAP Project systems from Microsoft Project, our users want to swap values between project nodes id and description. Is this possible? Which BAPIs are used by OpenPs? I am trying to find a user-exit where I can swap these values.
    Thanks in advance.
    Regards
    Jitendra Pongurlekar

    Refer Note 579761. This can provide you some hint.
    Regards
    Sreenivas

  • Interface Between R12 GL and 11i GL

    Hi,
    We have a requirement as part of which we are moving few modules to R12 from 11i. We would still continue with the GL part in 11i. At the end of each period we want to consolidate GL data from R12 and send it to 11i and then do the reporting from there. As there are changes in the GL module between 11i and R12 can we do this by simply migrating the GL balances/transaction data from one database to another(i.e from R12 to 11i). Please share your experience/comments on this. Any pointers will be very helpful. I have very little knowledge on R12 as i have just started working on it.
    Regards
    AM

    Can we do this by simply migrating the GL balances/transaction data from one database to another(i.e from R12 to 11i). If you mean you will extract the table data from one instance and then insert into the other then absolutely not.
    That is not possible.
    You will have to extract the data from source, validate it, insert into gl_interface on destination, run GL import, and then post the batches.
    Alternatively, if all your business wants is updated totals (which is unlikely), you can simply extract period end balances, create journal entries for the differance (manually or programmatically depending on volume) and post them.
    Sandeep Gandhi

  • Relation between object US and object S

    Hi,
    when i affect a User (US object) to a Position (S object) i have the following line in HRP1001 (in brief) :
    OTYPE    RELATION     SCLAS
    S                A008             US
    Nice but i need also the following line :
    OTYPE    RELATION     SCLAS
    US                B008            S
    And the system don't create it, is it normal ?
    Thanks for help.
    Cheers.

    Thanks to answer.
    "It's better to link a Person to a Position btw, and the User to that Person (Infotype 0105)"
    I agree with that but my customer don't have the HR PA module so i don't have Person.
    I can use the user object but with one condition : in the system i must have ONLY one user connected to Position. I tried to do this in SPRO but without success

Maybe you are looking for