| Thread | Last Post | Replies |
|
| WTL & ATL class member variables | 22 Jan 2006 10:34 GMT | 1 |
I use these classes rather a time but never could make up a reason to decide between declaring a member variable as a pointer or directly. For instance CIcon m_icon;
|
| Function Bodies in Header File | 22 Jan 2006 01:48 GMT | 1 |
In a C++/CLR Windows Forms app I notice that there is only a header and no .cpp for the form. Also event handler bodies are added by the IDE right to the header. What is the philosophy on this?
|
| error LNK2022: metadata operation failed (8013118D) : Inconsistent layout information in duplicated types (ATL.CAxFrameWindow): (0x020000e5). | 21 Jan 2006 08:12 GMT | 2 |
Compiling an older Visual C++ project with the .net compiler, enabling "use managed extensions" I receive several of these errors, all seemingly having to do with ATL template window classes. Could anyone tell me under what circumstances this may happen?
|
| how to get rid off -- warning C4251: needs to have dll-interface | 21 Jan 2006 01:00 GMT | 2 |
I keep getting warning messages like these: ...\include\myfile.h(451) : warning C4251: 'MyClass::m_myvariable' : class 'CPtrArray' needs to have dll-interface to be used by clients of class 'MyClass'
|
| Managed extentions | 21 Jan 2006 00:36 GMT | 1 |
I have a bunch of mix mode projects in VS2003. Can I be sure that it will compile in VS 2005? Thanks a lot, Boni
|
| Using /clr:safe and Native Types | 20 Jan 2006 21:12 GMT | 8 |
If I compile with /clr:safe, which is exactly meant by saying I can't use "Native Types" in my code? Is a native type something such as float, short, or int? Thanks,
|
| C++/CLI Unions and Garbage collection | 20 Jan 2006 18:10 GMT | 2 |
1.) In C++/CLI, I have the following structures defined, which work as unions: [StructLayout(LayoutKind::Explicit)] public ref struct One
|
| Repost: SetIcon | 20 Jan 2006 17:19 GMT | 2 |
Igor sorry for not being clear in my original question. I have a valid handle to an icon control (type = ICON) for a propertysheet, but when I use SetIcon, either MFC or ATL, the icon is not displayed or refreshed, neither I get an error.
|
| how do you support CD Writing for Windows 2000? | 20 Jan 2006 17:18 GMT | 1 |
I know IMAPI supports WinXP..but what do you do in Windows 2000 case? Thanks, Tony
|
| Strict ANSI-C | 20 Jan 2006 15:36 GMT | 5 |
In Visual Studio 2005, how can I set my project to be a strict ANSI-C project with absoloutly nothing else? I don't want my project to even compile if it contains any C++ or non-ANSI code.
|
| CWindow::SetIcon | 20 Jan 2006 13:49 GMT | 2 |
I have a valid handle to an icon, but when I use SetIcon, either MFC or ATL, the icon is not displayed. The window is a dialog and the same happens to a propertysheet window. How can I solve this?
|
| detection of the installation of a runtime | 20 Jan 2006 10:42 GMT | 3 |
I work on a windows application. It uses component of a runtime. The runtime is a cartographic runtime developpped in .net. The problem is that some user doesn't have the runtime installed. Is it possible to detect it during the execution of my program?
|
| 'void' : bug or feature? | 20 Jan 2006 09:58 GMT | 7 |
I just found out the following code compiles: ref class ClassA { public:
|
| how to know an int is the member of an enum type?(C++/CLI) | 20 Jan 2006 01:20 GMT | 9 |
for example: enum class SomeEnumType { A1 = 1;
|
| equivalent of win32 waitable timer | 19 Jan 2006 22:24 GMT | 5 |
I am not sure if it is even possible to do it from .NET itself. Is there something like a waitable timer which can resume the system from its hibernate or standby (S3: suspend to ram) mode. I'm trying to use C# to create something that can "wake" the system up at a particular ...
|