|
Should means the Rectangle On the Frame which i Drawn.
I do a lot work to move the rectangle with mouse events.
Even though they aren't work.
plz suggest me
Nagaraju
|
|
|
|
|
You can look my project whih is named "about event handler" in previous page.
in my code just change drawline into drawrect then u have a rectangle which move with mouse movement.
I have to say that i found mouse stick code in codeproject.com and written in visualbasic.
-- modified at 9:01 Friday 21st July, 2006
|
|
|
|
|
I have the following error while building a sample Form based application. Is this a bug ??
*****************************************************************
Output Window Compiling managed resources...
Unhandled Exception: System.NullReferenceException: [Resource lookup failed - infinite recursion detected. Resource name: Arg_NullReferenceException]
Sample : error PRJ0002 : error result returned from 'resgen.exe'.
*****************************************************************
Pavan
|
|
|
|
|
|
Is loading .NET framework / SDK a solution ?
|
|
|
|
|
it looks like your resource file is attempting to load itself or something like that as the problem is infinite recursion
check your resources very carefully, make sure you don't have a #include "resource.h" in your "resource.h" file.
Darka [Xanya]
|
|
|
|
|
I'm working on a simple game engine, and I'm trying to find out the best method of releasing a Managed Direct3D Device. I'm using VS.NET 2005 SE and the April 06 DirectX SDK, if that helps anyone.
The reason why I want to manually release the device is incase the person playing my game decides to change resolutions in the game, and I have to recreate the device. Or, is resizing the device a better idea?
|
|
|
|
|
friends
i have written a program in c. i could run the program in TC. but when i am triying to run the program in Vc6.0 IDE. i have got an error. i couldnt run the program... but i can compilt it. while debugging the program can finish..
i will show u the error i am getting while i am triying to run
The instruction at "0x77fcc912" referenced memory at "0x0031659a". The memory could not be "written".
pls help me.....
shamnar
|
|
|
|
|
The application attempted to write to an area of memory for which it either had no permission, or more likely an area of memory that is not writable.
Debugging the application should help you by prviding a call stack.
Darka [Xanya]
|
|
|
|
|
does the managed c++ need to develop a windows forms applications?
|
|
|
|
|
You can develop windows forms applications in managed C++ if you want to but you don't have to, WinForms is just part of .net
Darka [Xanya]
|
|
|
|
|
Ok thanks. I also want to know that, is the garbage collection essential to develop windows forms application ? Because, .net generates '__gc' operator into my code.
|
|
|
|
|
Yes it is, as it is will all .net applications as garbage collection is a fundamental part of the .net framework.
regards,
Darka [Xanya]
|
|
|
|
|
No. There are many types of .NET applications, Windows, Console, Service, Web, etc. But to take advantage of .NET (managed) capability, Windows applications should use Windows Forms.
Best,
Jun
|
|
|
|
|
What is the difference between managed and unmanaged c++? (most important diffenrences please)
|
|
|
|
|
Managed C++ is .NET, unmanaged C++ is C++
Managed C++, includes things like Garbage Collection, WinForms, etc.
Managed C++ can only be used to create .NET applications
C++ does not.
C++ can be used to create any type of application.
Darka [Xanya]
|
|
|
|
|
Managed C++ is a .NET C++ language, which now is offically called C++/CLI (common language infrastructure) on .NET Framework 2.0. It contains lots of extensions to ISO C++ (unmanaged). Microsoft has submitted C++/CLI spec to ECMA.
Best,
Jun
|
|
|
|
|
Give me this error:
Error 1 Command line error D8045 : cannot compile C file '..\..\..\..\Dev\API_C++\cutil.c' with the /clr option cl
But it's a very ordinary C file!
no special function like setjmp just malloc/free and some pointers
Any idea?
|
|
|
|
|
Never mind, solved...
|
|
|
|
|
From MSDN ( http://msdn2.microsoft.com/en-us/library/ms173265(d=ide).aspx )
Known Issues Compiling Library Projects with /clr
Visual C++ 2005 contains some known issues when compiling library projects with /clr:
When compiling an MFC ActiveX control project with /clr in the development environment, the build system will attempt to register the .dll with regasm and not regsvr32. You must manually register the control with regsvr32.
When you create an ATL project and then enable /clr, the .c files will generate an error, because .c files cannot be compiled with /clr. However, if you change the file settings to compile the file with /TP, you will generate linker errors. The resolution is to compile the .c files as native (without /clr).
|
|
|
|
|
Sir, What are the function that will be added automatically when a Object in C++ is created .
Fly Like An Eagle With MIGHTY POWER.
|
|
|
|
|
Default Constructors, Default Destructor. If you add a constructor with empty parameter list yourself, no other constructors are added.
(Note: Added, to me, means "functions which are neither inherited nor explicitly implemented".)
Cheers,
Sebastian
--
Contra vim mortem non est medicamen in hortem.
-- modified at 5:45 Tuesday 11th July, 2006
|
|
|
|
|
as we are on a managed C++, i think he was talking about the member function inherited from a CObject-like class (but i don't know .NET programming that much)
TOXCCT >>> GEII power
[VisualCalc 3.0 updated ][Flags Beginner's Guide new! ]
|
|
|
|
|
Might be.
In that case, there is no single answer. Every accessible member of the base class is "added", so the functions added really depend on the base class. The only thing you can say is that "everything is an Object", so the accessible Object-functions are available for "everything".
Cheers,
Sebastian
--
Contra vim mortem non est medicamen in hortem.
|
|
|
|
|
I have real time data to be displayed on a X-Y graph. I need to use Double buffering to avoid flickering.
How to accomplish Double Buffering in Managed C++.
|
|
|
|