Hi @ all!
I have problems deallocating space.
MfContour2D* profile = new MfContour2D [20];
When I try to deallocate space, I get an ‘error’(Debug Assertion Failed!) und das Programm wird abgebrochen.
if ( profile != NULL )
delete profile;
The following does not work, either.
if (...
Hi @ all!
I have problems deallocating space.
MfContour2D* profile = new MfContour2D [20];
When I try to deallocate space, I get an ‘error’(Debug Assertion Failed!) und das Programm wird abgebrochen.
if ( profile != NULL )
delete profile;
The following does not work, either.
if (...
Well, I am pretty bad in MFC, but I wanted to use the ClassWizard in my project, that I already started before. But I got the following error:
A duplicate insert block exists for class "CMyMainWindow" in the source files (..\main.h, ..\main.cpp)
The content of the main files are the...
Hi All!
I have following problem with my Win32 Application:
I want to draw a circle into my window and I have the parameters for it (x, y, radius).
I have found DrawCircle in MSDN like:
Syntax
object.DrawCircle x, y, radius, [color, aspect]
When I tried it I got an error ('DrawCircle' ...
Hello everybody!
Do you know why this does not work? My problem is, that I cannot see any output on my window.
x is a public member variable of the class CMyMainWindow.
void CMyMainWindow::OnPaint()
{
CPaintDC dc(this);
RECT rect;
GetClientRect(&rect);
char text[128];
text[0] = 0;
if( -1...
Hi @ all!
I get an Application error when I start my program. It says: The instruction at "0x77.." referenced memory at "0x40.." and that it could not be "written".
I think my program needs too much space for allocation.
Sorry, I'm pretty bad in programming C...
Hi @ all!
I get an Application error when I start my program. It says: The instruction at "0x77.." referenced memory at "0x40.." and that it could not be "written".
I think my program needs too much space for allocation.
Sorry, I'm pretty bad in programming C...
Hi @ All !
My deepest sympathy to all those in the USA! Please, do not think wrong about Moslems. No terrorist can be a Moslem!
In the Islam any person, who kills an innocent person, is as guilty as killing all the mankind!
So, how could a terrorist be a Moslem?
By the way, I have still...
I have big problems with structures!
typedef struct {WORD pixel;
int i;
int j;
int iStart;
int iMax_i;
int iMin_i;
double dAngle;
double dDistance;
CString csDecision;
int n;
} MfContour2D;
MfContour2D* Funct();
MfContour2D* pTmp = 0...
Hi!
I need urgently a way to print out the variable of a variable into the main window. But how can I do this in MFC?
in Borland C, it was for example like,
int x = 10;
printf("%d",x);
Thanks for your help!
agurcan@hotmail.com
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.