Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: jayjay60
  • Order by date
  1. jayjay60

    memory leak debugger

    Hi everybody, I would like to know if someone could tell me if a debugger made to find memory leak problem exist for windows environment & if it's ok where i could find it? Some of my friends tell me about a software called "valgrind" which only works under linux environment! Thanks...
  2. jayjay60

    memory problem!

    you're right, sorry for this stupid mistake and thanks for your help
  3. jayjay60

    memory problem!

    sorry it's right that i haven't specified that i could see *pInflex and *(pInflex+i) when the problem arrives they are equal to 15 (both because i=0)
  4. jayjay60

    memory problem!

    Hi everybody, Perhaps a simple question but, i would like to suggest it o you: In my application, i have an "access violation" message which appear to this following line: *(pHistoDBNorm+ j- *(pInflex+i)- *pInflex), when i=0 and j=16, just with this indications, you will tell me to...
  5. jayjay60

    Problem with InitInstance

    Hi everybody I don't understand why this morning when i tried to start my dialog based application, the message box has opened with the following message: Uhandled exception in Fractal_v1_0.exe:0xC000005: Access Violation So i've found that this problem comes from the following line of code...
  6. jayjay60

    using setvalue in excel automation

    I've created an application which automates excel 97 (thanks to the help of the microsoft supports articles Q178749, for example). As i want to automate excel, with office 97, i need of the following library Excel8.olb. So, in my project I would fill some range in an excel worksheet, to do it i...
  7. jayjay60

    for excel automation

    Hello, In the samples given on microsoft support (Q178749: HOWTO Create automation project using MFC and a type library) we have to select Microsoft Excel 8.0 Object Library if we use excel automation. But what could i do if i have office XP on my workstation? thanks in advance jayjay
  8. jayjay60

    a "user breakpoint..." message error i don't understand

    Hi everybody, In my application i have created a simple function which delete memory of specific pointer, you could find its following code: void LoadHistoDB::DeleteHistoNorm() { if(pHistoDBNorm!=NULL) { delete[] pHistoDBNorm; pHistoDBNorm=NULL; } } but when i call this function in debug...
  9. jayjay60

    a problem in memory allocation

    I will try what you suggest to me, but beore doing it, i would like to know how i could solve the problem which break the program if there is not enough memory, because i think it was what happen? in your post it's this condition: " if(pComptStartMineure == NULL || pComptEndMineure ==...
  10. jayjay60

    a problem in memory allocation

    Hi everybody, I have a strange problem with an allocation of memory for pointers of pointers. i have done this function to allocate memory for 2 pointers of pointers: void LoadHistoDB::AllocComptStartEndMin(long RowSize,long ColSize) { long i; pComptStartMineure=new double* [RowSize]...
  11. jayjay60

    about function GetResize()

    Hi, I ve read into an article (Q186120) of microsoft knowledge base, which explain how to fill a range with an array. But when i test it , it doesn't work really well. In fact, i don't realy understand how works the function called in the sample GetResize(), because when i test my application...
  12. jayjay60

    export data to excel?

    Hi everybody, I would like to export data from a safearray to range in excel. So, ii've read the articles Q186120 which gives an explantion and an example to do it. I've tried to test it in my application, first i ve done simply in trying to put in a specific set of range the figure...
  13. jayjay60

    a question about safearray

    I have tried to test an application i have found into microsoft support, it's Q186120: "Use MFC to automate excel and fill a range with an array" I have a problem when i try to run it at the following line: saRet.PutElement(index, &d); or saRet.PutElement(index, v.bstrVal); (it...
  14. jayjay60

    a question about excel automation with vc++

    Hi, I have read some of microsoft tutorial about office automation. Now, i would like to fill a set of range with my application, a dialog box application. I have a set of data which are put into a dynamic array, and i would like to read all the value of the array in excel. Could i do it simply...
  15. jayjay60

    a problem of access violation

    Hello everybody, In a new application, which a dialog box application i have a message error which appears and which tell me: " Unhandld exception in Fractal_v1_0.exe(MSVCRTD.DLL):0xC0000005:Access Violation" (Fractal_v1_0 is the name of my project!) So, i meet often the problem...
  16. jayjay60

    a strange debur error

    I have created a dialog app, which return a debug error meesage that i don't understand. This message is: Debug error Program:D:\CalcRiskPort\Debug\CalcRiskPort.exe DAMAGE: after Normal block (#81) at 0x00301190 when i pree retry i have this message box: User breakpoint called from code at...
  17. jayjay60

    a non understandable debug error

    In my application i have a debug error message that occurs when i want to delete a pointer. in the code: int *pTabBinPort=new int[m_dlgAsset]; . . . . delete []pTabBinPort; i do that at the end of a function, and when i do debug test when it arrives to this point a message error box arrives...
  18. jayjay60

    how could i keep the value of a specific pointer?

    In my dialog app i have 2 functions which use ADO connection to catch value from a database, and which put them into a "C" pointer of pointer and a regular pointer. I want after in a third function use the 2 pointers, which represent some of the input data. As i do it with 3 different...
  19. jayjay60

    A simple question about dlls

    Hi, it's the first time i try to create a dll application which could be used from excel. So i try to do it by creating a MFC dynamically linked dll, where i put a simply code for a simply function: ///////////////////////////////////////////////////////////////////////////// // The one and...
  20. jayjay60

    OLE automation

    If i want to use automation in my application because a part of input data are in excel, it will be arrays, and as i want to return my result into excel's cells, i believe that i could use this method. But, now i have a question about how i could consider an array which is in excel? Could i use...

Part and Inventory Search

Back
Top