I am having the memory error -12 when try use GetCtrlBitmap from a canvas

I am using a canvas that is 759w x 15000h to draw some data, but when try to save that bitmap to a file, some times all is ok, but other i get the memory error -12. Always I´m discarding the id bitmap objet. What is happening, I not find any solution to this, any suggestion please will be welcome to help me in this application. (any leak of memory, my application in a while slow)
some of code:
   error=GetCtrlBitmap (idPanelGrafHijo, GRAFICAS_CANVAS, 0, &idImage);
   if(error==0)
      SaveBitmapToJPEGFile (idImage, NombreArchivoGraficoLocal, 0, 80);
      DiscardBitmap (idImage);    
   else
    MessagePopup ("", "Error de memoria, no se guardo el archivo");

Hola Alberto,
Una disculpa por el retraso en la respuesta, de acuerdo al fragmento de código que nos proporcionas creo que no es posible percibir el problema, te voy a pedir que nos mandes tu proyecto para poder analizar que es lo que sucede, también sería de bastante ayuda que nos proporcionaras mas información, por ejemplo, ¿has probado este programa en otra computadora?¿Con un ejmplo sobre canvas obtienes el mismo resultado?
Por ultimo te pido que nos comentes si estas programando en CVI, Visual C con Measurement Studio, etc. Recuerda que entre más información nos proporciones es más fácil ayudarte.
Saludos,
Trujillo
NI
Mensaje editado por ltrujill

Similar Messages

  • I keep getting the following error message when I try to update my itunes, "There is a problem with this windows installer package. Aprogram run as part of the set up did not finish as expected.  Contact your support personnel or package vendor."

    I keep getting the following error message when I try to update my itunes, "There is a problem with this windows installer package. Aprogram run as part of the set up did not finish as expected.  Contact your support personnel or package vendor."

    Yes, I had found a similar solution also.  I'm running XP Pro, SP3.  I went Control Panels/ Add-Remove programmes/apple software update/ change/ repair.  Then run the 10.5 exe.
    While the programme updated from version 8 of iTunes, my new iTunes is now a mess.  Not all of my music was in the same folder previously but it all showed up on iTunes.  Now many albums have been left out, some have only a few tracks and some have two copies of some tracks as well as having other tracks missing.  I haven't begun to work on that.

  • I'm getting the following error message when ever I try to start cs6 and the program gets close. "Adobe Photoshop CS6 has stopped working. A problem caused the program to stop working correctly."

    Hi,
    I’m getting the following error message when ever I try to start cs6 and the program gets close.
    “Adobe Photoshop CS6 has stopped working. A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available”
    Please advise what is the problem? and How to sort this out?
    OS Name
    Microsoft Windows 8.1 Pro
    Version
    6.3.9600 Build 9600
    Other OS Description
    Not Available
    OS Manufacturer
    Microsoft Corporation
    System Name
    JARVIS
    System Manufacturer
    Dell Inc.
    System Model
    Inspiron N5110
    System Type
    x64-based PC
    System SKU
    To be filled by O.E.M.
    Processor
    Intel(R) Core(TM) i5-2450M CPU @ 2.50GHz, 2501 Mhz, 2 Core(s), 4 Logical Processor(s)
    BIOS Version/Date
    Dell Inc. A11, 8/3/2012
    SMBIOS Version
    2.6
    Embedded Controller Version
    1.01
    BIOS Mode
    Legacy
    BaseBoard Manufacturer
    Dell Inc.
    BaseBoard Model
    Not Available
    BaseBoard Name
    Base Board
    Platform Role
    Mobile
    Secure Boot State
    Unsupported
    PCR7 Configuration
    Binding Not Possible
    Windows Directory
    C:\Windows
    System Directory
    C:\Windows\system32
    Boot Device
    \Device\HarddiskVolume2
    Locale
    United States
    Hardware Abstraction Layer
    Version = "6.3.9600.17196"
    User Name
    Jarvis\JARVIS\Abhishek
    Time Zone
    India Standard Time
    Installed Physical Memory (RAM)
    4.00 GB
    Total Physical Memory
    3.16 GB
    Available Physical Memory
    1.21 GB
    Total Virtual Memory
    3.72 GB
    Available Virtual Memory
    1.55 GB
    Page File Space
    576 MB
    Page File
    C:\pagefile.sys
    Hyper-V - VM Monitor Mode Extensions
    Yes
    Hyper-V - Second Level Address Translation Extensions
    Yes
    Hyper-V - Virtualization Enabled in Firmware
    Yes
    Hyper-V - Data Execution Protection
    Yes
    Display adapters:
      and NVIDIA GeForce GT 525M.

    Without the actual crash logs nobody can say, but chances are that your graphics hardware is to blame, so update the driver...
    Mylenium

  • "Error check activation" is the message I get when pulling a book from the library. My computer is authorized (per the ADE screen) I have tried un-authorrzing and re-authorizing but nothing works. Please help

    "Error check activation" is the message I get when pulling a book from the library. My computer is authorized (per the ADE screen) I have tried un-authorrzing and re-authorizing but nothing works. Please help

    I am having the same problem, and my computer is authorized through my Adobe ID and I cannot open any books.  I tried downloading a book from the university library, using my ID, the book is in ACSM format, and I cannot open the book because it keeps telling me
    "error check activation"   I am including screen shots to show my computer is authorized. 

  • There is problem loading the outline into the memory, error # 1,250,005

    Hello,
    I am getting error message when opening ASO outline on edit mode in EAS 7.1.5 version. EAS server using weblogic and MYSql.
    Error Message:
    There is problem loading the outline into the memory, error # 1,250,005.
    Please let me know if any have experienced same issue or any suggestions.
    Regards,
    DS

    That error is documented as:
    ##1250005 Error [%s] Creating Environment For Outline Paging File: %s
    It sounds like it may be an issue with your temp directories (disk space?) as I believe it is going to copy the outline to a temp directory locally before opening it. That is where I would start looking..
    Tim Tow
    Applied OLAP, Inc

  • I receive the follwing error message when trying to open my ipod touch/itunes "the itunes libary.itlfile is lockedon  a lockdisk or you do not have write permission on this file. How do I resolve this problem?

    I receive the follwing error message when trying to open my ipod touch/itunes "the itunes libary.itlfile is lockedon  a lockdisk or you do not have write permission on this file. How do I resolve this problem?

    Repair iTunes Security Permissions
    Right-click on your main iTunes folder and click Properties, then go to the Securitytab and click Advanced. Use the Change Permissions... button grant to your account (or the Users group) and SYSTEM full control of this folder, subfolders and files, then tick the option to Replace permissions entries... which will repair permissions throughout the library. When complete switch to the General tab, click in the Read-only check box to clear it, then click Apply.
    If you don't have the option to change the permissions then use the Owner tab and Edit... button to take ownership from an account with administrator privileges. Tick the option to Replace owner on subcontainers and objects.
    Repeat with the media folder if it isn't stored inside the main iTunes folder.
    If you've brought over the library from another computer you may also want to remove any "mystery" identities (S<string of dashes & digts>) that have come over from the old computer...
    The images above are from Windows 7. Hopefully the system isn't too different in Windows 8.
    tt2

  • Just recently I am getting the following error message when trying to access web sites. I get a pop up window stating "Exc in ev handl: TypeError: c.location is null" then I have to click ok. It is an issue with some plug-in?

    Just recently I am getting the following error message when trying to access web sites. I am using Firefox browser version 10.0.2. I get a pop up window stating "Exc in ev handl: TypeError: c.location is null" as the web site page is being displayed in browser winder. Then I have to click ok. It doesn't matter what web link/site I go to it happens. It is an issue with some plug-in?

    I have advised McAfee's product team of the problem and this thread, and they're looking into it now.

  • I am getting the following error message when I try to import photos into iPhoto from my camera: "/private/var/folders/GB/GBl4wh8-ELqUVMI5dO-ryU   TI/-Tmp-/iPhoto/DSCF2033.JPG".  Have already tried removing and reinstalling iPhoto to no avail.

    I am getting the following error message when I try to import photos into iPhoto from my camera: "/private/var/folders/GB/GBl4wh8-ELqUVMI5dO-ryU   TI/-Tmp-/iPhoto/DSCF2033.JPG".  Have already tried removing and reinstalling iPhoto to no avail.

    Does this happen if you try to Import to Library within iPhoto, or is it when you connect your camera (and which is set to automatically use iPhoto) that this error message occurs?
    If you open Image Capture > Preferences is iPhoto selected as the choice when a camera is connected?

  • HT3275 Since updating OS to Mountain Lion from leopard, I get the following error message when trying to backup with time machine on external drive.  Could not complete backup to media share.  The network backup disk does not support the required AFP feat

    Since updating OS to Mountain Lion from leopard, I get the following error message when trying to backup with time machine on external drive.  "Could not complete backup to media share.  The network backup disk does not support the required AFP features."  What are AFP features and how do I get Time Machine to backup to my current external backup?

    This means that your NAS does not support the required encryption. Update your NAS to the latest firmware or ditch it and buy a Time Capsule (they are the most reliable when using TM).

  • I bought a iphone 4 from a guy on craigslist, I knew about ios 7.0 having the lock thing, but when I met him, his simcard was in the phone, I tested the phone with his simcard in from of him. The phone looked great with no problems and I even got the box

    I bought a iphone 4 from a guy on craigslist, I knew about ios 7.0 having the lock thing, but when I met him, his simcard was in the phone, I tested the phone with his simcard in from of him. The phone looked great with no problems and I even got the box with the accesories, so I knew it was his... I then did the reset on the phone (erase all data... from settings) and it went through and activated and everything was good... I used the phone for about a month with no problems at all, even had my apple ID in the icloud and everything... well ios 7.0.6 came out and I used my computer to restore the phone, because I feel that the cord and computer gives it a better restore, it did great no problems, and when it went to the part where I went to activate the phone, I get a enter your apple id and password to complete activation... Wait... why is this up i thought, I thought I did everything like I suppose to to succesfully switch it to me, the new owner... but now its asking for some C******@yahoo.com.... I only have @gmail.com emails and none start with a C... The guy sold me the phone because he was switching to Verizon, and I tried to call him, and now the number is disconnected... I guess he switched to Verizon with a new number... Now im stuck with a paperweight that costed me $200.00... What can I do at this point... Please help me... I restored it to give it to my Step Son as I just got me the iphone 5... Thank you for ANY HELP in advance... Thank you again.

    I bought a iphone 4 from a guy on craigslist, I knew about ios 7.0 having the lock thing, but when I met him, his simcard was in the phone, I tested the phone with his simcard in from of him. The phone looked great with no problems and I even got the box with the accesories, so I knew it was his... I then did the reset on the phone (erase all data... from settings) and it went through and activated and everything was good... I used the phone for about a month with no problems at all, even had my apple ID in the icloud and everything... well ios 7.0.6 came out and I used my computer to restore the phone, because I feel that the cord and computer gives it a better restore, it did great no problems, and when it went to the part where I went to activate the phone, I get a enter your apple id and password to complete activation... Wait... why is this up i thought, I thought I did everything like I suppose to to succesfully switch it to me, the new owner... but now its asking for some C******@yahoo.com.... I only have @gmail.com emails and none start with a C... The guy sold me the phone because he was switching to Verizon, and I tried to call him, and now the number is disconnected... I guess he switched to Verizon with a new number... Now im stuck with a paperweight that costed me $200.00... What can I do at this point... Please help me... I restored it to give it to my Step Son as I just got me the iphone 5... Thank you for ANY HELP in advance... Thank you again.

  • I am trying to update my iTunes to 10.5.1 so that I can upgrade my 3GS phone but am getting the following error message when trying to install the itunes:Install step failed: Run pre upgrade script for apple mobile device support. Contact software manufac

    I am trying to update my iTunes to 10.5.1 so that I can upgrade my 3GS phone but am getting the following error message when trying to install the itunes: Install step failed: Run pre upgrade script for apple mobile device support. Contact software manufacturer for assistance. I am on a MacBook pro running 10.5.8 OS. Has anyone seen this before and how can I get it resolved.
    Thanks for your help in advance....

    Did you ever figure out the problem? "Contact Software Manufacturer"?? That sounds ominous... I've got the same issue and I'm pretty durn aggravated right about now....
    Thanks!

  • I receive the following error message when trying to install QuickTime for Windows "Error writing to file C:/Program Files/QuickTime/QTSystems/QuickTimeCheck.ocx. Verify that you have access to that directory."

    I recieve the following error message when trying to install Quicktime for Windows "Error writing to file C:/Program Files/QuickTime/QTSystems/QuickTimeCheck.ocx. Verify that you have access to that directory."  I just trying to get the latest version of iTunes.  Thanks

    "Error writing to file C:/Program Files/QuickTime/QTSystems/QuickTimeCheck.ocx. Verify that you have access to that directory."
    That one's consistent with disk/file damage. The first thing I'd try with that is running a disk check (chkdsk) over your C drive.
    XP instructions in the following document: How to perform disk error checking in Windows XP
    Select both Automatically fix file system errors and Scan for and attempt recovery of bad sectors, or use chkdsk /r (depending on which way you decide to go about doing this). You'll almost certainly have to schedule the chkdsk to run on startup. The scan should take quite a while ... if it quits after a few minutes or seconds, something's interfering with the scan.
    Does the chkdsk find/repair any damage? If so, can you get an install to go through properly afterwards?

  • I get the following error message when trying to download ITunes on my computer running Windows XP - Error writing to file: C:\Program Files\Common Files\Apple Application Support\CFNetwork.dll

    I get the following error message when trying to download ITunes on my computer running Windows XP - Error writing to file: C:\Program Files\Common Files\Apple Application Support\CFNetwork.dll

    For general advice see Troubleshooting issues with iTunes for Windows updates.
    The steps in the second box are a guide to removing everything related to iTunes and then rebuilding it which is often a good starting point unless the symptoms indicate a more specific approach. Review the other boxes and the list of support documents further down the page in case one of them applies.
    The further information area has direct links to the current and recent builds in case you have problems downloading, need to revert to an older version or want to try the iTunes for Windows (64-bit - for older video cards) release as a workaround for installation or performance issues, or compatibility with QuickTime or third party software.
    Your library should be unaffected by these steps but there also links to backup and recovery advice should it be needed.
    tt2

  • HT201210 I get the follow error message when i try to update my Iphone on I Tunes "Could not update file because firmware file is not compatible

    I get the follow error message when i try to update my Iphone on I Tunes " fireware is not capatible 2

    got an anti virus that thinks it should scan email. Turn that function off.
    Have a firewall, check that Thunderbird has full internet access, not some Auto rubbish that somehow fails.

  • From an iPhone 5, I receive the following error message when trying to download content from a radio show app:  "Alert Could not parse feed."   How do I fix?

    From an iPhone 5, I receive the following error message when trying to download content from a radio show app:  "Alert Could not parse feed."   How do I fix?

    Since you're using a 3rd party app, suggest contacting the app developer or looking at their support site for help.

Maybe you are looking for

  • How can i get an itunes gift code?

    hi everyone i bought a refurbish mac and i got a code to upgrade to os lion but i live in trinidad west indies and my country is not on the list, how can i redeem this upgrade?

  • Rejected password for mail account...

    Hello. How can I remedy this ongoing issue of the Mail program asking for the password multiple times per week? (quite often, I'll have to enter it 20 times in the course of 5 minutes for it to actually get accepted). I'm amazed that this hasn't been

  • Oracle Not Starting Automatically

    I have a problem Oracle not starting up automatically. The Windows 2003 service is started and set to start up automatically. I don't see any errors in the event viewer. I have to login as sysdba and do a startup for the database to be available. Is

  • Notes from my iPhone doesn't push to my air

    I have enabled my icloud account on both my iphone and macbook air, but notes that I've saved on my phone will not push to my air.  However, my contact information was shared as expected.  Any thoughts?  Thanks in advance.

  • My pictures are all mess up

    said unable to open and that it needed to rebuild now my pictutres are not the all  wrong