When is it correct to create a CGLContextObj during application initialization

I am creating a realtime opengl application using a cocoa NSview but creating theCGLContextObj with c++.
I have been struggling to understand when I can create the CGLContext. At first the creating was initiated in the applicationDidFinishLaunching callback but then later when I was setting the cglcontext and the NSview to the NSOpenGLContext, nothing would render without any errors.
To solve this I moved the call that create the CGLContextObj to the awakeFromNib of my NsView and then it started to work.
why? What is needed to happen before the creation of the first CGLContextObj? My guess is that there is an initialization in the cocoa framework that need to happen before, but which one?

Not easily... This would require developing a custom plugin, which is quite complicated. There are simpler ways to achieve something like this, though. For example, you can create a set of customized stamps and use those. A script can also be used to add or edit existing comments, but it depends on what type of comments you're using and how you want to edit them, exactly.

Similar Messages

  • Error while create/change configuration an application

    Hi,
    while doing the configuration application.
    when i am trying to create/change configuration an application.
    i am getting following error.
    Error:
    Service cannot be reached
    What has happened?
    URL http://os1gvzg.gemsconsult.com:8000/sap/bc/webdynpro/sap/configure_application call was terminated because the corresponding service is not available.
    Note
    The termination occurred in system RT1 with error code 403 and for the reason Forbidden.
    The selected virtual host was 0 .
    What can I do?
    Please select a valid URL.
    If you do not yet have a user ID, contact your system administrator.
    ErrorCode:ICF-NF-http-c:000-u:SAPSYS-l:E-i:os1gvzg_RT1_00-v:0-s:403-r:Forbidden
    HTTP 403 - Forbidden
    Your SAP Internet Communication Framework Team
    can anybody help me out.
    thanks in advance,
    Kiran.

    Hi,
    please check [documentation|http://help.sap.com/saphelp_nw2004s/helpdata/en/77/3545415ea6f523e10000000a155106/frameset.htm]
    grtz,
    Koen

  • Business Rules error when creating new classic planning application in 9.3.

    Im trying to create a new planning application using classis planning application wizard in Workspace. everything seems alright untill i gets an error saying "Business rules cant connect to Planning"
    other than this Business rules working fine and i can open business rules in other applications and i can access business rules repository in EAS.
    Any thoughts on this ?

    Further invesitgation bears this problem out.
    Oracle support recommend wrapping the SimpleType in a ComplexType. This does work, but now I have an extra wrapper element to deal with. I either have to use the wrapped type in my other complex, composed Types and/or add an external wrapping element when trying to create Business Services in BPM to call the BusinessRules I've created.
    This is a bit messy.
    To be clear, this does not seem to be an issue with Business Rules; the BR editor and generation of Facts (including simple restricted types -> JAXB 2.0/Java Enumerations) seems to work correctly. There seems to be an issue exposing DFs as Services. The code which generated the WSDL and its supporting types seems to choke on restricted SimpleTypes.
    As a side note, it seems that HumanTasks have a similar limitation
    Edited by: wylderbeast on May 31, 2011 3:27 PM

  • My email isn't working on iOS 7, saying that my password is wrong when it is correct, I now can't send any emails but I can receive them and when I do I get three lots of them

    My email isn't working on iOS 7, it is saying that my password is wrong when it is correct, I retype it in settings and try again it still says it is wrong, although I can revive emails but when I do I get three of the same thing and I can't send any emails, this all started when I downloaded iOS 7.

    Hello,
    Actually i also had changed my gmail password like to the above. Andyour recommendation seems to be the same to rebooting iPod touch, which didn't work for me when i had the same gmail problem with the incorrect password error in the continuous manner. However the problem has gone when i removed the gmail account so as to create the same one.
    Thanks
    YH Kwon

  • When is the ear file created , is it on deploy or when the project is built

    When is the ear file created , is it on deploy or when the project is built
    in which case whats the path on the file system??

    Hi Saket,
       The ear file is created when you do the following. DC Build of the project, Deploy and Run application, Deploy when there are changes made after last deployment, When you deploy for the first time, Create Archive option etc.
       A sample path of the ear file is as follows
    Workspace\CE711SP1.jdi\LocalDevelopment\DCs\demo.sap.com\actionvalidationtest\_comp\gen\default\deploy
    @Siva Thanks for pointing out the mistake. A Webdynpro build or rebuild will not create the ear file. But a DC build will create the ear file though. I have corrected my post.
    Hope this helps,
    Sanyev
    Edited by: Sanyev Babu on Feb 15, 2009 10:25 PM

  • How to create an automatic email when a new announcement is created

    Hi,
    In Sharepoint 2013, how can I configure it to automatically send an email to all users when a new announcement is created?
    Regards,
    Stephen.

    You have 2 options
    #1 You can set Alerts at the announcement list level as shown below. In the send alerts to users you can add your user emails or distribution list email and choose email as delivery method. You can choose to
    send Announcements on various actions that are there on the form. This is simple way. This send email the out of the box style. You cannot change that.
    #2 The other option is to use SharePoint Designer and set a workflow on changes and send mail. You can customize the look and feel of it there.
    Srini Sistla Twitter: @srinisistla Blog: http://blog.srinisistla.com

  • TS1474 I have had to restore my pc to a place back in time when it worked correctly, this meant thad iTunes was deleted. I have downloaded the latest version if iTunes but my Ipad wont sync. I get a message saying this Ipad is sycned with another iTunes l

    I have had to restore my pc to a place back in time when it worked correctly. This meant that iTunes was deleted. I have now downloaded the latest version of iTunes but I cant sync my iPad with it. I get the message that this iPad is synced with another iTunes Library and cant sync to this one.  Thankfully all my music library is on iPad. I would be grateful for some help on this issue

    Its solved I just restored it to that point

  • How can i add a special user to the "site collection administrators" of the personal site on sharepoint online when the personal site is creating ?

    when a new personal site is created on the sharepoint online 2013, then the administrator of this personal site will be himself. we can add another person to the "site collection administrators", then this person have full control of this personal
    site.
    but my request is : add this personal to the personal site when the personal site is creating, but not after the personal site has created ?
    Is anybody know how to do that?

    Hi,
    According to your post, my understanding is that you want to add a special user to the "site collection administrators" of the personal site on sharepoint online when the personal site is creating.
    Per my knowledge,
    there is no out of the box way to accomplish this with SharePoint.
    This is a forum which is supported for SharePoint On-Premise.
    Regarding SharePoint Online, for quick and accurate answers to your questions, it is recommended that you initial a new thread in Office 365 forum.
    Office 365 forum
    http://community.office365.com/en-us/forums/default.aspx
    Thanks,
    Linda Li                
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Linda Li
    TechNet Community Support

  • SRM PO- BBP_DOC_CHANGE_BADI - Code not effective when the SRM PO is created

    Hi Experts,
    We are using SRM 5.0 Classic and Extended classic scenario and the SRM local PO(Extended classic scenario) is created for special cateogries only. The SRM Local PO is created automatically after the SC is completely approved.
    The SC(one line item) with these special cateogies(chosen from catalogs) do and can have the currency different from the Org stucture currency and hence based on user selection the currency on the Item level(Currency selected in catalog) can be  different from the Item Overview total.
    Now we need to have the SC item level currency at the SRM PO header level which is created from this SC automatically. The code has been written in the BBP_DOC_CHANGE_BADI implementation of method BBP_PO_CHANGE
    With the code implementation, the currency is PO currency is not changed to SC item level currency when the PO is initially created from the SC automatically. However if the same SRM PO is changed and ordered again, the currency gets changed to the SC item level currency in the SRM PO, i.e. executes the BADI code as desired.
    Can anybody guide how can the currency be changed when the PO is first created automatically from the SC ?
    Many thanks in advance.
    Best Regards,
    Khaja.
    Edited by: Moulail Shaik on Dec 28, 2011 3:59 PM

    Soumyaprakash Mishra wrote:
    i thought doc_change would have worked... but anyways, did you try doc_save badi?
    Hi Soumyaprakash,
    Thanks for the reply.
    In the doc_save BADI there are no export parameters which can be modified.
    Neverthless, please suggest if there is an way to change/influence the PO data using the doc_save badi in your view ?
    Many thanks in advance.
    Best Regards,
    Khaja.

  • Creating a PO when a sales order is created

    Hi,
    Can anyone guide how this requirement can be achieved. For  both scenarios there should be no manual intervention.
    This is not a third party scenario.
    When a sales order is created then a purchase order should be created in same server and                                                                               
    in different server.
    1) For different server scenario i think idoc can be used.  what should be my outbound and inbound message types and idoc types. because both po and so have same idoc types(ORDERS) and message types(ORDERS05). so when a sales order is created in 1 system how system knows that it needs to  convert to PO in other system. And there should be no Purchase Requisition created..
    2) Best way creating  PO in same server with sales order with out creating Purchase Requisition.
    please share your valuable suggestions.
    Edited by: abilash n on Jun 13, 2011 7:12 AM

    you need two output types for two scenarios, and there are different ways to do it from there,
    for PO creation in same server I would use a Output with Transmission Medium as 8 - special function and used BAPI to create the PO, this way you dont have to keep track of idocs but the once the order is created functin will get triggerd and PO will be generated.
    Check with the SD Consultant on how to create the Output type with TM 8(tcode NACE -> V1 - sales -> output types -> ).
    for the different server I believe you alredy have the RFC/ connecetions set up. You'll have to use an IDOC for this.
    Partner profiles and process codes in destination systems will determine the PO creation.
    regards,
    nipuna

  • When i scan the document created is a pdf/A and i am unable to edit it with XPro

    I am running an HP T3500 scanner that when scans a document it creates a pdf on my network. When i open the document in XPro is gives me the following statement "This file claims compliance with the PDF/A standard and has been opened read-only to prevent modification". In Adobe X i it gives me the option with the use of a button in the same bar as this statement to "Enable editing" but in X Pro i do not have this option and I cannot find anywhere where i can enable editing. I need to be able to do this in X Pro. we have multiple computers in the office which most run Pro and only 1 that runs i. Can someone please help?

    The first thing i tried when this happened was "save as". Nothing changes. Where do you find "clear scan" OCR i don't see that anywhere. The term "edit" best describes what i am trying to do. I cannot rotate the image, i cannot add a text block anywhere , i cannot draw lines on the image, i simply can't do anything with the scanned document. all of these things are important because these are 100 year old surveyors maps that when scanned are very tough to read.
    Why is there no phone number with customer support on adobes website?

  • How can i setup pages to automatically open when double clicked.  Currently when I double click it creates cpgz file and does not open.  The only way to open pages doc is to manually ask to open with pages.

    Currently when I double click it creates cpgz file and does not open.  The only way to open pages doc is to manually ask to open with pages.

    Hi Karen,
    Sounds like OS X has lost the association between Pages and its files.
    Start by quitting Pages, then going to Finder.
    In Finder, locate a .pages file. Click on it (once), then press command-I (eye, not one) to Get Info.
    In the Info window that opens, expand the Open With section.
    In this section, click on the pop-up menu and choose Pages (even if Pages is already shown).
    Click the Change All button to associate all files with the .pages extension with Pages.
    Close the info window.
    Double click any .pages file to check that Pages will now launch and open the file.
    Regards,
    Barry

  • WHEN TO USE LOGGER IN CREATE INDEX?

    HI ALL,
    WHEN TO USE LOGGER IN CREATE INDEX STATEMENT? AND WHEN TO USE NOLOGGING?
    HOW IS INDEX PHYSICALLY STORED IN DATABASE?
    THANKS IN ADVANCE.
    SANDESH

    NOLOGGING means that information is not written into the redo logs (relatively faster than LOGGING). However, this also means that if you need to recover your database, the index cannot be recovered (since the info cannot be found in the redo logs).
    Use NOLOGGING if you need the speed (big indexes) and/or you don't care about being able to recover the index (i.e. if it is acceptable if you recreate it manually after possible database recovery). Alternatively, create the index with NOLOGGING, alter the index to LOGGING and backup the database. Only after the successfull backup will the index be recoverable (with that backup, not an older one).
    Typically you should use LOGGING rather than NOLOGGING because the overhead of creating the backup/recovery and insecurity on being able to recover (and pressure that goes along with it) is to great. This option will be handy only in rare cases (e.g. when creating staging area tables/indexes in a datawarehouse. They don't need recovery and will therefore speed up when using NOLOGGING).
    Hope this helps,
    Lennert

  • When oraInst.loc file is created during installation on  linux ?

    * QUES during installation :*
    Is this  really true  ?
    When executing  orainstRoot.sh , It creates the inventory pointer file (/etc/oraInst.loc).
    In my case , " the file was created before executing orainstRoot.sh "
    + As far as I know , end of the installation only we are running orainstRoot.sh script .+
    + before running that the orainstRoot.sh script , i checked here ..+
    +[root@localhost oraInventory]# id+
    uid=0(root) gid=0(root) groups=0(root),1(bin),2(daemon),3(sys),4(adm),6(disk),10(wheel)
    vi  .oraInst.loc
    inventory_loc=/u01/app/oracle/oraInventory
    inst_group=oinstall
    * NOTE : orainst.loc file created before running orainstRoot.sh*
    Prouuct 10g r2 on redhat 5

    Given link says orainventory_location is the location of the oraInventory directory:
    but directory not found.
    *$ pwd*
    +/u01/app/oracle/oraInventory+
    *[oracle@localhost oraInventory]$ ls -al*
    t+otal 48+
    drwxrwx---  7 oracle oinstall 4096 Feb  1 04:35 .
    drwxr-xr-x  7 oracle oinstall 4096 Feb  5 04:52 ..
    drwxrwx---  2 oracle oinstall 4096 Feb 11 00:12 Contents
    drwxrwx---  2 oracle oinstall 4096 Feb 11 00:11 ContentsXML
    -rwxrwx---  1 oracle oinstall   37 Jan 31 11:10 install.platform
    drwxrwx---  2 oracle oinstall 4096 Feb  5 04:33 locks
    drwxr-x---  3 oracle oinstall 4096 Feb  1 04:16 logs
    -rwxrwx---  1 oracle oinstall  307 Feb  1 04:16 oraInstaller.properties
    -rwxrwx---  1 oracle oinstall   63 Jan 31 11:10 oraInst.loc
    -rwxrwx---  1 oracle oinstall 1192 Jan 31 11:10 orainstRoot.sh
    drwxrwx---  2 oracle oinstall 4096 Feb  1 04:35 oui
    -rwxrwx---  1 oracle oinstall 3337 Jan 31 11:07 sessionContext.ser
    *$ cd /orainventory_location/logs*
    bash: cd: /orainventory_location/logs: No such file or directory
    *$ find / -name orainventory_location>/dev/null*
    find: /usr/share/ssl/CA: Permission denied
    find: /usr/share/Pegasus/scripts: Permission denied
    find: /boot/lostfound: Permission denied+
    find: /tmp/keyring-kUl6ry: Permission denied
    find: /tmp/keyring-W9rMuT: Permission denied
    find: /tmp/vmware-root: Permission denied
    find: /tmp/gconfd-root: Permission denied
    find: /tmp/keyring-sErBRg: Permission denied
    find: /tmp/lostfound: Permission denied+
    find: /lostfound: Permission denied+
    find: /home/sandyagupta: Permission denied
    find: /home/sandya: Permission denied
    find: /proc/tty/driver: Permission denied
    find: /proc/1/task/1/fd: Permission denied
    find: /proc/2/task/2/fd: Permission denied
    find: /proc/3/task/3/fd: Permission denied
    find: /proc/4/task/4/fd: Permission denied
    find: /proc/5/task/5/fd: Permission denied
    find: /proc/6/task/6/fd: Permission denied
    find: /proc/86/task/86/fd: Permission denied
    find: /proc/104/task/104/fd: Permission denied
    find: /proc/105/task/105/fd: Permission denied
    find: /proc/107/task/107/fd: Permission denied
    find: /proc/87/task/87/fd: Permission denied
    find: /proc/106/task/106/fd: Permission denied
    find: /proc/253/task/253/fd: Permission denied
    find: /proc/373/task/373/fd: Permission denied
    find: /proc/399/task/399/fd: Permission denied
    find: /proc/1608/task/1608/fd: Permission denied
    find: /proc/1647/task/1647/fd: Permission denied
    find: /proc/1967/task/1967/fd: Permission denied
    find: /proc/2132/task/2132/fd: Permission denied
    find: /proc/2151/task/2151/fd: Permission denied
    find: /proc/2152/task/2152/fd: Permission denied
    find: /proc/2370/task/2370/fd: Permission denied
    find: /proc/2485/task/2485/fd: Permission denied
    find: /proc/2537/task/2537/fd: Permission denied
    find: /proc/2912/task/2912/fd: Permission denied
    find: /proc/2916/task/2916/fd: Permission denied
    find: /proc/2938/task/2938/fd: Permission denied
    find: /proc/2958/task/2958/fd: Permission denied
    find: /proc/2987/task/2987/fd: Permission denied
    find: /proc/3075/task/3075/fd: Permission denied
    find: /proc/3085/task/3085/fd: Permission denied
    find: /proc/3100/task/3100/fd: Permission denied
    find: /proc/3119/task/3119/fd: Permission denied
    find: /proc/3127/task/3127/fd: Permission denied
    find: /proc/3138/task/3138/fd: Permission denied
    find: /proc/3148/task/3148/fd: Permission denied
    find: /proc/3172/task/3172/fd: Permission denied
    find: /proc/3191/task/3191/fd: Permission denied
    find: /proc/3210/task/3210/fd: Permission denied
    find: /proc/3223/task/3223/fd: Permission denied
    find: /proc/3234/task/3234/fd: Permission denied
    find: /proc/3244/task/3244/fd: Permission denied
    find: /proc/3323/task/3323/fd: Permission denied
    find: /proc/3375/task/3375/fd: Permission denied
    find: /proc/3431/task/3431/fd: Permission denied
    find: /proc/3480/task/3480/fd: Permission denied
    find: /proc/3483/task/3483/fd: Permission denied
    find: /proc/3750/task/3750/fd: Permission denied
    find: /proc/3980/task/3980/fd: Permission denied
    find: /proc/4013/task/4013/fd: Permission denied
    find: /proc/4308/task: No such file or directory
    find: /proc/4345/task/4345/fd: Permission denied
    find: /proc/4414/task/4414/fd: Permission denied
    find: /proc/4440/task/4440/fd: Permission denied
    find: /proc/5075/task/5075/fd: Permission denied
    find: /proc/5078/task/5078/fd: Permission denied
    find: /etc/cups/certs: Permission denied
    find: /etc/racoon/certs: Permission denied
    find: /etc/Pegasus: Permission denied
    find: /root: Permission denied
    find: /var/spool/clientmqueue: Permission denied
    find: /var/spool/cups: Permission denied
    find: /var/spool/cron: Permission denied
    find: /var/spool/mqueue: Permission denied
    find: /var/spool/at: Permission denied
    find: /var/lock/lvm: Permission denied
    find: /var/lib/dhcpv6: Permission denied
    find: /var/lib/Pegasus: Permission denied
    find: /var/lib/slocate: Permission denied
    find: /var/lib/nfs/statd: Permission denied
    find: /var/cache/alchemist/printconf.local/wm: Permission denied
    find: /var/cache/alchemist/printconf.rpm/wm: Permission denied
    find: /var/cache/samba/winbindd_privileged: Permission denied
    find: /var/log/audit: Permission denied
    find: /var/log/samba: Permission denied
    find: /var/log/ppp: Permission denied
    find: /var/empty/sshd: Permission denied
    find: /var/run/mdadm: Permission denied
    find: /var/run/usb: Permission denied
    find: /var/run/sudo: Permission denied
    find: /var/run/mdmpd: Permission denied
    find: /var/run/tog-pegasus: Permission denied
    find: /var/gdm: Permission denied
    Could you please help me to find ?

  • When i am trying to create BI Universe on InfoCube I am getting this Error

    Hi All,
    I am using BOE 3.1
    When i am trying to create BI Universe on InfoCube I am getting this Error
    DBD: A runtime exception has Occured. (Error Getting list of Cubes of catalog $INFOCUBE: Unknown error)
    Same  when i am connecting to BexQuery Im not getting any error i am able to create the OLAPUniverse on BI Query.
    My question is why i am getting this error when i click on the Infocube in the Designer. Did i am missing any thing in the Universe designer.
    Regards,
    Ravi

    HI,
    Please go through by below link.
    DBD: A runtime exception in Universe Designer
    Thanks,
    Amit

Maybe you are looking for