| Thread | Last Post | Replies |
|
| should I write code in ( *.h && *.cpp ) || only *.h | 25 Mar 2006 02:21 GMT | 6 |
I'm working on a project in unmanaged c++. I was writing all (most of) my code in header files, that is, no seperation of code in header and cpp files, as usually is done in c++. I feel pretty comfortable doing this as it my first time writing code in c++. My background is in C#. ...
|
| problem using MFC in clr | 24 Mar 2006 19:32 GMT | 6 |
Hello; I want to use some classes that I wrote (MFC based) in my .net application. I did the following steps to achieve this: 1- I create a winform application. (The program compile and run
|
| 'void *' : unknown size | 24 Mar 2006 17:23 GMT | 1 |
I'm trying to do some pointer manipulation and can not avoid using void * as the type declaration. I get this error message : error C2036 : 'void *' : unknown size though. Is there a compiler option or a way to tell the compiler the size of void * to avoid this?
|
| Casting operators | 24 Mar 2006 16:53 GMT | 1 |
Given class B C and D all inherit from class A They all override a method of the form: Add( A^ lhs, A^ rhs ); But only specific conversions are allowed
|
| VC8 GDI+ dll in VC6 | 24 Mar 2006 15:48 GMT | 8 |
Can I write a VC8 dll which used GDI+ and then use this dll in VC6. I will be using GDI+ to basically load a image in memory and annotate it with some text and save the image. Any pointers on how I can do this?
|
| x64 and BSTR allocation, what has changed? | 24 Mar 2006 14:24 GMT | 37 |
In win32 mode, a BSTR was UINT length prefixed and terminated exactly by a zero char. So if you allocated "Hello World" that would allocate 28 bytes. In x64 and (IA64 as well) it would become 32 bytes, because of the fact that
|
| Could Not Load MSVCM80 | 24 Mar 2006 10:50 GMT | 1 |
Well, my first .NET 2.0 app is done. I tested it here on two real machines and one virtual machine - worked fine in all of them. The first other person I gave the app to ran it and got the exception listed below. I asked if he'd installed the .NET 2.0 runtime, he said
|
| Comments & intellisense | 24 Mar 2006 09:37 GMT | 4 |
I'm puzzled about comments & intellisense. Sometimes, during programming, you get comments that were typed just above the declaration in the header files, but sometimes, not while -there are- comments just above the declaration.
|
| Internet/Web classes in .NET/VC++... | 24 Mar 2006 04:48 GMT | 3 |
I have done some C, C++, C# development over the years, but wouldn't call myself an 'expert' at any of them (this has always been a part-time, write what is needed endeavor with whatever language was available or necessary). My networking experience (in programming
|
| Running processes | 23 Mar 2006 21:17 GMT | 5 |
I have written a win32 console application(exname1.exe) which runs for ten minutes.I am calling this exname1.exe from another exe named exname.exe using shellexecuteex.Now from exname.exe coding i have to check whether exname1.exe is already running or not.How to find whether
|
| Generics and user defined types | 23 Mar 2006 17:13 GMT | 2 |
I need to define my own types and arrays of these types. These types are for the most part extensions of the built in types and need to provide all the basic operations of arithmetic and relational. If i was using C++ I would overload the operators against my types and
|
| form loading speed | 23 Mar 2006 17:06 GMT | 4 |
I am using managed cpp, /clr, VS2005 Prof., and I must wait for terrible long loading time for even simple forms. does anybody encouter this problem too or u have any solutions for this? thx, Petr
|
| Generic casting problem ? | 23 Mar 2006 16:17 GMT | 1 |
Can generic types be casted? say Vector<Type^>^ to Vector<CodeType^>^ Where CodeType is a derivative of Type Is this possible ?
|
| Reflection on const variables | 23 Mar 2006 16:07 GMT | 1 |
I am trying to find const variables outside a class. Thur far I did not succeed. Without const, the variable is found but with const not. So, how can I get hold on global const variables using reflection? Regards,
|
| Someone explain me this code | 23 Mar 2006 16:03 GMT | 1 |
In header file, I see this declaration: #define DECLARE_VTBL(iname) iname vt##iname; then, in C file, there are below codes: typedef struct _Abc {
|