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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by jayjay60

  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...

Part and Inventory Search

Back
Top