| Thread | Last Post | Replies |
|
| Handling native cross-thread exceptions | 30 Nov 2007 19:30 GMT | 2 |
I am a C++ newbie. I developed a Win32 DLL that creates a number of threads, which can throw exceptions. When an exception is thrown on a thread in Win32 DLL, I want to catch that exception on the main thread. Is there any way to throw an exception on one thread and catch it on ...
|
| Common dialog for changing/selecting directory | 30 Nov 2007 11:52 GMT | 3 |
I'd like to ask, if there is some common dialog box for selecting directory (like CFileDialog class). Thanks.
|
| VC++ 2008 compiler bug | 30 Nov 2007 05:16 GMT | 1 |
In Visual Studio Team System 2008 (cl version 15.0.21022.8) I can't reproduce the problem in a mini project. class1 name is picoDB::MemBlob class2 name is pixtek::tools::Blob
|
| Add SDKs to my solution. | 29 Nov 2007 22:18 GMT | 11 |
If I have a Visual studio project configured to vbuild againts one SDK. How is the normal procedure to build that solution against other different SDK that I have installed after previous application was created. Is there in VS any menu or any option to configure a new SDK to add ...
|
| /clr and exceptions from native libs | 29 Nov 2007 20:06 GMT | 4 |
I'm seeing incorrect (I think) behavior in the event of an exception thrown in a native C++ library. Basically, the stack appears to unwind correctly if the caller is native, but incorrectly if the caller is /clr. Consider the following C++ static lib:
|
| How to initialize a member struct | 29 Nov 2007 18:58 GMT | 4 |
If I have a class that includes an instance of a struct as a member, how do I initialize that struct? I can't find a syntax for the constructor "initializer list" that works. For example, suppose MyStruct has 3 int members. I've tried something like
|
| Overriding Object::ToString() | 29 Nov 2007 15:05 GMT | 11 |
why I can not override it? This line: virtual String^ ToString() override = Object::ToString; produces this error: cannot override base class method 'System::Object::ToString'.
|
| how to monitor exe and dll interactions? | 29 Nov 2007 09:30 GMT | 13 |
Are there any tool or other methods which could be used to monitor which class/method exe is accessing a DLL? Now I met with an issue that when I provide the DLL I developed to a 3rd parth application, it will crash sometimes and I suspect the 3rd party
|
| How to get Win32 handle from FILE* | 29 Nov 2007 05:02 GMT | 1 |
I'm writing native C++ using VS2005. I have a FILE* for a file opened with fopen. I want to get the WIN32 file handle for this file so I can call GetFileTime on it. I can get the descriptor number with _fileno, but there doesn't seem to
|
| Make Win32 MC++ assemblies works under Win64 | 29 Nov 2007 02:09 GMT | 1 |
I've made a .NET wrapper of a C++ toolkit using MC++ (perhaps I should now take a look to C++/CLI). The 32 bits version works fine on Win32 and 64 bits version works fine on Win64 .... but .... 32 bits version fails to run under 64 bits (the C++ 32
|
| initonly array member as an lvalue | 28 Nov 2007 21:04 GMT | 15 |
In C#, an array marked 'readonly', as in: public readonly bool[] array = new bool[8]; would allow individual members of the array to be modified while protecting the array reference itself from being changed. That is, I
|
| Type coercion | 28 Nov 2007 20:40 GMT | 3 |
I have two C++ structures. Both structures include a parameterless constructor that initializes the structure members. These two structures define different ways of looking at the same data; one structure exposes the data as an array of bytes, the other exposes the bytes as ...
|
| Possible Bug: name of directory inhibits execution? | 28 Nov 2007 20:36 GMT | 29 |
I have written a program using MS VS VC++ 2005 Express, /cli pure. Upon compiling it it works fine in the GUI development environment. It also works fine as a Debug stand-alone. ut I had an odd behavior when it comes to the Release varsion when I renamed its project directory ...
|
| Pro*C/C++ Visual Studio 2005 | 28 Nov 2007 19:48 GMT | 3 |
How can I integrate the pre-compiler Pro*C/C++ in Visual Studio 2005. I'd like automaticly my development process now a edit embedded SQL source code and make a pre-compiler in Pro*C/C++ and insert the result into visual studio project.
|
| Out string array in abstract c# method implemented in C++ | 28 Nov 2007 19:07 GMT | 1 |
I have the following parent class public definition: abstract public bool IsValidForInspection(out string[] strFailureReasons); In my managed CPP class I am trying to understand what needs to be
|