Region Monitoring iOS 7 : didEnterRegion method is not calling when app is killed by user or by OS in iOS 7 only. It is working fine when it is in background. and the same code is working fine with iOS 6 for both app in suspended mode and background mode.

Region Monitoring iOS 7 : didEnterRegion method is not calling when app is killed by user or by OS in iOS 7 only. It is working fine when it is in background. and the same code is working fine with iOS 6 for both app in suspended mode and background mode. What changes I have to made to work great in iOS 7 also.

I rewrote code for debugging purpose and tried to catch error using GetLastError();  method,
but it only printed 0. Below is code snippet; I think Create() throw an exception
and code goes to catch block. 
LONG ConnectTS(CString strIP, UINT n_Port)
try{
          ErrorLog(0,0,"ConnectTS is calling Create [is going to call]","");
          if(!Create())
// Exception Line
n_Err = GetLastError();
return NET_INIT;
catch(...)
                   DWORD errorCode = GetLastError();
                   CString errorMessage
                   errorMessage.Format("%lu",errorCode);
                   ErrorLog (0, 0, "Image
System", (LPTSTR)(LPCTSTR)errorMessage);
                   return  IS_ERR_WINDOWS;
Output: -
ConnectTS is calling Create [is going to call]
Image System
0

Similar Messages

  • HT5621 I have changed my apple id recently and the changes have been reflected on my iPad for both the apps store and the iCloud, however, my iphone still insist on using my old apple id for the iCloud while the app store is fine. how can i correct the pr

    I have changed my apple id recently and the changes have been reflected on my iPad for both the apps store and the iCloud, however, my iphone still insist on using my old apple id for the iCloud while the app store is fine. how can i correct the problem?
    Thanks

    Hi Baem_leeds
    Welcome to the Support Communities!
    If you change your Apple ID you will need to sign in with the new information or password the next time you use an Apple service or feature that uses Apple ID. If you have multiple devices that use features and services that require an Apple ID, you will need to sign in again on each device.
    The links below will provide additional information:
    Where can I use my Apple ID?
    http://support.apple.com/kb/HT5616
    Using your Apple ID for Apple services
    http://support.apple.com/kb/HT4895
    iOS: Changing the signed-in iTunes Store Apple ID account
    http://support.apple.com/kb/HT1311
    Cheers,
    Judy

  • I have an Airport Express and the pass code I used some time ago for my IPad won't work for my new IPhone 5S?

    I have an Airport Express and the pass code I used some time ago for my IPad won't work for my new IPhone 5S?

    If you are sure that you are entering the correct password, then this sounds like an iPhone issue, so your best bet will be to post in the iPhone Support Community so that the experts over there can help.
    Using iPhone
    The best that we can do here is suggest that you start with the iOS support document Troubleshooting Wi-Fi Networks and Connections.
    Resetting the iPhone took care of an issue like this with my wife's iPhone.
    http://support.apple.com/kb/TS1398

  • In outlook 2013 Add-In, Adding dynamic menu to splitButton idMso="DialMenu" is working and the same code is not working in outlook 2010 Add-In.

    In outlook 2013 Add-In, Adding dynamic menu to <splitButton idMso="DialMenu"> is working and the same code is not working in outlook
    2010 Add-In. please let me know, if i am missing something. Below is the xml and screen shot
    <contextMenu idMso="ContextMenuFlaggedContactItem">
     <splitButton idMso="DialMenu">
              <menu>
                <dynamicMenu id="CallContactwithFreedomvoice
    " label="CallContactwithFreedomvoice" 
                            getContent="OnGetContenttest"                           insertAfterMso="Call"/> 
            </menu>       </splitButton>    </contextMenu> 

    Hi Narasimha prasad2,
    Based on the description, the context menu for the flagged contact doen't work in Outlook. I am tring to rerpoduce this issue however failed.
    I suggest that you check the state of the add-in first to see wether the add-in was loaded successfully.
    Regards & Fei
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to make the same code that works only?

    how to make the same code that works only?
    code:
    Form2.Close = Me.Enabled = true
    effect such as this code

    I have this code:
    Public Class Form1
    Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button4.Click
    Form2.Show()
    Me.Enabled = False
    End Sub
    Private Sub Button5_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button5.Click
    Form3.Show()
    Me.Enabled = False
    End Sub
    End Class
    he wants to after closing Form2 and Form3 unblocked the whole form1
    it means that:
    when I click the button, displays the himself form2 and blocks himself form1" and after closing Form2 , unlocks himself Form1"
    the same with Form3

  • How can i view excel on my iPhone 5s, with my ipad4 and the same ios7 viewing works without  3rd party App

    How can i view excel on my iPhone 5s ?
    with my ipad4 and the same ios7, viewing works without  3rd party App

    Dude or hot-spur,
    Not fishy at all!!!! You really think I would have taken any more of my time to post a bogus rant? We'll no, it is unfortunately all true. I want to hear from anyone who is experiencing such problems not anyone else that wants to put there two cents in. I really don't need anymore hate or negativity. Just people's experiences because I feel like I am the only one having so many problems. Thank you
    Yes, I have had some unfortunate bad luck to have so many problems at the same time, but some of them are just things you cannot do on the new OS.
    Thank you again

  • My apple tv will not authenticate my nba league pass login--I am in the United States and the same login/pw works for my iPad, but not for apple tv.

    My NBA League Pass login cannot be authenticated -- I am in the United States and the same league pass name and password are working for my iPad, but not for my apple tv.

    I have this same issue and am becoming quite upset. NBA has absolutely no contact information to call and resolve this issue. I just spent $139.99 and cannot connect to Apple TV, while the same login works just fine on my iMac and iPad. When I signed up, the information provided indicated that I could view live games on Apple TV. What the ****?

  • I am having trouble with iTunes for both my computers windows xp and 7.

    Both accounts are able to be logged in but I can't view anything on the itunes store. I have used the itunes loaded on xp before. The windows 7 itunes 'progress line' stops half way. On one occasion I saw a html text version of the itunes store but it wasn't functional. Any suggestions?

    Try this,
    Close your iTunes,
    Go to command Prompt -
    (Win 7/Vista) - START/ALL PROGRAMS/ACCESSORIES, right mouse click "Command Prompt", choose "Run as Administrator".
    (Win XP SP2 & above) - START/ALL PROGRAMS/ACCESSORIES/Command Prompt
    In the "Command Prompt" screen, type in
    netsh winsock reset
    Hit "ENTER" key
    Restart your computer.
    Now launch your iTunes and see if it is working now.

  • My Telus wireless only works with WEP, but if I switch to WEP the wireless goes down on the other Windows computer being used in the same house.  Is there a way for both of us to get wireless internet or do one of us have to be connected by the ethernet?

    My Telus wireless only works with WEP, but if I switch to WEP, the wireless on the other computers in the house (which is Windows and WPA) stops working. My computer works with the ethernet cord but I want to be wireless too!  Do one of us have to sacrifice our wireless?

    For assistance in getting your MacBook to connect to a WEP-protected wireless network, please check out this Apple Support article: AirPort: Joining an encrypted WEP or WPA Wi-Fi network

  • HT2240 I purchase my QuickTime 7 Pro registration key via a friend in USA as it was not available to residents in South Africa. I now have a new iMac and the registration code doesn't want to activate PRO. It works fine on my MacBook Pro.

    I purchase my QuickTime 7 Pro registration key via a friend in USA as it was not available to residents in South Africa. I now have a new iMac and the registration code doesn't want to activate PRO. It works fine on my MacBook Pro. Do I have to buy a new registration code for my newiMac?

    i'm in SA and it say Apple Support not available at the moment or something like that.
    Just got the new iMac.
    Still using MacBook Pro.
    Files are on a external drive shared between these 2 mac platforms and I need to be able to
    edit in QT 7 Pro on both as well.
    The code was bought in August 2011.

  • HT4972 I have an iphone 4 , but it still has the ios 4 , and i want to upgrade it to a newer version , but when I try to do it via  Itunes it says there's a problem with the internet (and the internet it's working fine) and it won't work ,how can i upgrad

    I have an iphone 4 , but it still has the ios 4 , and i want to upgrade it to a newer version , but when I try to do it via  Itunes it says there's a problem with the internet (and the internet it's working fine) and it won't work ,how can i upgrade?

    try rebooting your computer.

  • I bought an app for my iphone version 3.1.3 and it is written in the requirements that it is compatible with IOS 3 or later and after installing it doesn't work.i bought it from the apple store.

    i bought an app for my iphone version 3.1.3 and it is written in the requirements that it is compatible with IOS 3 or later and after installing it doesn't work.i bought it from the apple store

    You could try reporting the problem to iTunes store support here: http://support.apple.com/kb/HT1933.

  • HT4623 Now that iOS is consistently being updated.  Will the 1st Generation IPad be stuck with IOS 5?  Eventually my IPad will be good for nothing as Apps start requiring the updated software.

    Now that iOS is consistently being updated.  Will the 1st Generation IPad be stuck with IOS 5?  Eventually my IPad will be good for nothing as Apps start requiring the updated software.

    The iPad 1 can only be updated to iOS 5.1.1. This is unlikely to change.
    The apps you have will continue to work and there are still many apps which run on iOS 5 (or even earlier iOS levels).

  • I have programmed my Iphone to automatically connect to confcalls (dialing the nbr, pausing, dialing the PIN code). Works fine from the Iphone as such. When I connect my Iphone in Bluetooth to my car, only the phone

    I have programmed my Iphone to automatically connect to confcalls (dialing the nbr, pausing, dialing the PIN code).
    Works fine from the Iphone as such.
    When I connect my Iphone in Bluetooth to the voice-driven system in my car (Mercedes C), only the phone number appears to be transmitted. Entering a conference call number via the Iphone while driving is not a good idea.
    How can I fix this ?

    That *****.  I sell electronics on ebay.  Before listing them, i have to test and clean them. I have worked with microsoft Zune, you could sync via wireless through the network to your host computer. 
    i was hoping Apple would add that feature or the ability to connect to my computer via WiFi or Bluetooth and sync it wirelessly...   It would be sweet to have the bluetooth and wireless opened up so you can do more than just  connect to headphones or a headset... 
    I upgraded to the iPhone 4 this past december, i am on replacement # 2 or my 3rd iPhone 4...  I was hoping for some upgrades in quality.  Also being left handed, it seemed to drop many calls and give me very poor reception.  i added a Griffin Elan Form Graphie case that covers all but the front, top button, bottom speakers and volume control buttons and the call and reception quality has improved.  But I sure would have loved to see some improvements in the quality and function of the phone...
    Thanks for your input, i really appreciate your replies... 

  • How do I get past the pass code on iPad running on Ios7.1 because j have forgotten it and I don not own a computer so it has to be with our a computer

    How do I get past the pass code on iPad running on Ios7.1 because j have forgotten it and I don not own a computer so it has to be with out
    a computer

    Use a friend's computer. Your iPad will be erased.
    How can I unlock my iPad if I forgot the passcode?
    http://www.everymac.com/systems/apple/ipad/ipad-troubleshooting-repair-faq/ipad- how-to-unlock-open-forgot-code-passcode-password-login.html
    iOS: Device disabled after entering wrong passcode
    http://support.apple.com/kb/ht1212
    How can I unlock my iPad if I forgot the passcode?
    http://tinyurl.com/7ndy8tb
    How to Reset a Forgotten Password for an iOS Device
    http://www.wikihow.com/Reset-a-Forgotten-Password-for-an-iOS-Device
    Using iPhone/iPad Recovery Mode
    http://ipod.about.com/od/iphonetroubleshooting/a/Iphone-Recovery-Mode.htm
    You may have to do this several times.
    Saw this solution on another post about an iPad in a school environment. Might work on your iPad so you won't lose everything.
    ~~~~~~~~~~~~~
    ‘iPad is disabled’ fix without resetting using iTunes
    Today I met my match with an iPad that had a passcode entered too many times, resulting in it displaying the message ‘iPad is disabled – Connect to iTunes’. This was a student iPad and since they use Notability for most of their work there was a chance that her files were not all backed up to the cloud. I really wanted to just re-activate the iPad instead of totally resetting it back to our default image.
    I reached out to my PLN on Twitter and had some help from a few people through retweets and a couple of clarification tweets. I love that so many are willing to help out so quickly. Through this I also learned that I look like Lt. Riker from Star Trek (thanks @FillineMachine).
    Through some trial and error (and a little sheer luck), I was able to reactivate the iPad without loosing any data. Note, this will only work on the computer it last synced with. Here’s how:
    1. Configurator is useless in reactivating a locked iPad. You will only be able to completely reformat the iPad using Configurator. If that’s ok with you, go for it – otherwise don’t waste your time trying to figure it out.
    2. Open iTunes with the iPad disconnected.
    3. Connect the iPad to the computer and wait for it to show up in the devices section in iTunes.
    4. Click on the iPad name when it appears and you will be given the option to restore a backup or setup as a new iPad (since it is locked).
    5. Click ‘Setup as new iPad’ and then click restore.
    6. The iPad will start backing up before it does the full restore and sync. CANCEL THE BACKUP IMMEDIATELY. You do this by clicking the small x in the status window in iTunes.
    7. When the backup cancels, it immediately starts syncing – cancel this as well using the same small x in the iTunes status window.
    8. The first stage in the restore process unlocks the iPad, you are basically just canceling out the restore process as soon as it reactivates the iPad.
    If done correctly, you will experience no data loss and the result will be a reactivated iPad. I have now tried this with about 5 iPads that were locked identically by students and each time it worked like a charm.
    ~~~~~~~~~~~~~
    Try it and good luck. You have nothing more to lose if it doesn't work for you.
     Cheers, Tom

Maybe you are looking for