| Thread | Last Post | Replies |
|
| wcsxfrm to find out length of new collated form | 15 Sep 2006 09:41 GMT | 5 |
Im using VS Studio. Net 2005 to find out the transformed length of wide char string based on specific locale (collation). char* p = setlocale(LC_COLLATE,NULL);//US Locale on my machine. wchar_t tp[6] = L"Hello";
|
| Help with data casting | 15 Sep 2006 06:41 GMT | 1 |
I have the following function: WORD calcChecksum(BYTE data[], WORD length)
> > | /* Calculates a checksum of "data". > > | */ |
| Base class calling derived class methods | 14 Sep 2006 20:51 GMT | 8 |
Suppose I have a base class "foo". Another class, "bar" derives from it. Base class "foo" has a method called "rob_the_liquor_store()", and the inherited class "bar" overrides this method with one of its own, maybe specifying the liquor store over on 44th Street and 5th Avenue ...
|
| accessing VC++ unmanaged long from managed code | 14 Sep 2006 17:37 GMT | 5 |
I'm having trouble accessing an unmanaged long from a managed class in VC++.NET When I do, the contents of the variable seem to be mangled. If I access the same variable byte-by-byte, I get the correct value.
|
| Strange Error | 14 Sep 2006 14:52 GMT | 11 |
I keep getting a strange error and can't pin it down. The message is: This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information.
|
| Can the GC suspend a managed thread executing native code? | 14 Sep 2006 08:53 GMT | 1 |
My question is: Can the Garbage Collector (GC) suspended a managed thread while it is executing native code. The reason I am interested in this is that I have: 1) a native thread (N) that only executes native code,
|
| Should functions clean up after themselves? | 14 Sep 2006 04:13 GMT | 3 |
I know this probably sounds pretty obvious, but lets say I have a function like: HRESULT getDevice(IWMDMDevice3* pIDevice) If it returns E_FAIL, then the pointer may be in an invalid state (but
|
| auto_ptr and COM | 14 Sep 2006 00:39 GMT | 4 |
Everyone tells me that auto_ptr is a good idea, but auto_ptr and COM don't play nice. Can someone please explain why auto_ptr and COM don't like each other and what a reasonable/typical solution is? My guess is that auto_ptr will call the destructor on the COM object which is ...
|
| whats "First-chance exception", how do i fix it? | 13 Sep 2006 11:16 GMT | 2 |
I'm writing an app in vc++ 2k5 (all native/unmanaged). This application does a lot of multithreading and socket programming. Its been months since I'm developing this application, at this point a lot of it is working just fine, my app running fine, threads r being made and destroyed ...
|
| using std::string in VC++.Net causes exception. | 12 Sep 2006 21:37 GMT | 3 |
I am trying to convert my bulk of code from VC++ 6.0 to VC++.Net. when using std::string type variable, the application causes exception at one instance and does not cause an exception at other. i have two functions in the same .cpp file
|
| BOOST question | 12 Sep 2006 18:35 GMT | 5 |
I can't get this thing made for the life of me. I've gone through every step per the Boost website regarding using bjam. Nothing. Can anyone give any advice or are there pre-made boost hpps for Windows platform? thanks in advance
|
| Finding currently visible desktop | 12 Sep 2006 14:45 GMT | 15 |
How can I find the currently visible desktop? By calling EnumWindowStations and EnumDesktops I get a list of all available desktops. But is there a way to figure out which one of them is currently visible? I've tried to find the visible desktop by comparing the desktop handle,
|
| help: newbie can't lcase a PUNICODE_STRING | 11 Sep 2006 22:05 GMT | 3 |
I'm a vb programmer trying to learn C++ and strings are really tripping me up. I have a PUNICODE_STRING being passed in and want to make the whole thing lower case. Can anyone point me in the right direction? Thanks in advance
|
| How to convert System::String* (or System::Void) to void** in MC++? | 11 Sep 2006 16:03 GMT | 2 |
Hy! I have written a MC++ wrapper DLL file for use in a C# project. This wrapper DLL is built on a C DLL. I have the following functions in the C DLL:
|
| Repeated Namespace Declaration | 11 Sep 2006 15:59 GMT | 1 |
Hi all, I'm having trouble with VC++. I have a namespace, named Compiler (I'm building one at university). Some classes appear to be defined in Compiler::Compiler::Compiler or just Compiler::Compiler.
|