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...
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...
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...
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...
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
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...
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 ==...
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]...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.