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 wOOdy-Soft 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
  • Content: Threads
  • 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!

    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...
  3. 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...
  4. 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...
  5. 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
  6. 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...
  7. 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]...
  8. 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...
  9. 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...
  10. 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...
  11. 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...
  12. 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...
  13. 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...
  14. 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...
  15. 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...
  16. 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...
  17. 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...
  18. jayjay60

    an advice for a book

    If i want to learn how i could do an application in vc++ which will be used in excel; for example my application need to catch data in excel, so for that it has to read into an array of value to catch input parameters for member method. I have heard that if i want to use regular dll i won't be...
  19. jayjay60

    OLE Automation how does it work???

    I would like to create a sort of library of method in vc++ to be used in excel. So i believe that if i create a .dll application instead of a .exe, i would be better. But i have read that i could use especially OLE Automation for that kind of application. I have read in msdn the comexcel sample...
  20. jayjay60

    question about exit() method

    consider a for loop like that: for(i=0;i<=Bound;i++) In this loop i would like to do an &quot;if&quot; test which if the test succeed i would like to go to the next iteration and if not i do another thing. For example: if(i>Max||i<Min) //at this moment if the test succeed go to the next...

Part and Inventory Search

Back
Top