I think this may be due to the workspace getting older and older. For this a crude solution is delte the *.ncb and *.opt fiel and load again and u can see the difference in time(Fast)
Sen
Hi All,
Is there any macro equivalent to TRACE()/ ATLTRACE2(..) to send values to output window. The problem is TRACE MACRO requires MSVCRTD.lib to be included, But if use this macro in a DLL which is static, Multithreaded ir gives Link error WinMain already defined in MSVCRTD.lib.
IS...
hi JackMorris,
As far as i know when we want to do some miscellaneous calculations while we execute our main process we go for multithreading. Wile creation of project we can set the settings in VC++
S.Senthil kumar.
hi Benny
see if it helps
#include <iostream.h>
//using namespace std;
typedef struct QueueStruct {
int Count; /* number of queue items */
void* Front; /* location of item to remove next */
void* Rear...
Hi
I have a class
Class MM{
public:
SetInterfacePtr( IsomeInterfacePointer *y)
{
xx = y;// crashing place
};
private:
IADFsomeInterfacePointer *xx;
};
When i have an object variable of type class MM
and call its SetInterfacePtr function it is...
Hi
I have a class
Class MM{
public:
SetInterfacePtr( IsomeInterfacePointer *y)
{
xx = y;// crashing place
};
private:
IADFsomeInterfacePointer *xx;
};
When i have an object variable of type class MM
and call its SetInterfacePtr function it is...
Actually i can't get the problem. if possible paste the sample code for explaining.
i tried like this
#include "afx.h"
CString xx;
void fn1();
void main(void){
fn1();
if(xx.IsEmpty())
cout<<"Empty";
else
cout<<xx;
}
void fn1(){
CString x = "std";
xx = x;
}
Just Go for Edit menu Find in files.
Type the keyword/Any, Give the file types, Give the path and Give OK. U will get the search results in the Output window find in files1/2
S.Senthil kumar.
Hi kathiyayini,
Yes what mingis told was right. U are trying to access unallocated area in memory. thats why it is crashing for the variable char* inullable[20];
I have pasted ur code with modification. only MODIFICATION is memory allocation.
char* inullable[20];
char*...
Hi,
There are several debugging optons available to pinpoint the location of problem. VC++ IDE it is a ocean.
for ur problem of inaccurate location of error U please try this.
Go to DEBUG menu->Exceptions->
select all the entries in the window and check the stop always option.
This will...
Hi Danny,
We can access a private member of a claa from other class member function i fthey are declared friend functions.
To simply get the private member outside a class,write a public member function that returns the value of the private member.
S.Senthil kumar
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.