| Thread | Last Post | Replies |
|
| unmanaged & managed C++ questions | 24 Oct 2006 15:05 GMT | 2 |
1. I want to be use mix unmanaged code with managed code. In particular, the unmanaged code uses MFC CFile to perform file I/O. Can CFile be used in unmanaged code that is mixes with managed code? I've tried this but keep getting a system::exception is thrown with the message ...
|
| Referencing the owner of a form | 24 Oct 2006 13:13 GMT | 1 |
I have a an instance of a form, lets say Form2, that is constructed from within a event handler of an instance of Form1, subsequently I call ShowDialog with the instance of Form1 as its owner: form2 = gcnew Form2();
|
| Debug Build fails, Release Build OK - VC++ 6.0 to VS2005 port | 24 Oct 2006 00:04 GMT | 4 |
I'm trying to upgrade a large project from VS 6.0 to VS 2005. After fixing a lot of things that changed (mostly sloppy coding in the original project that VS2005 didn't allow), I got the release version to build successfully. Unfortunately, it crashes right away when I start it ...
|
| Initialization of static variables in a class library | 23 Oct 2006 13:08 GMT | 5 |
When does CLR performs initialization of static variables in a class library? (1) when the class library is loaded (2) when a static variable is first referenced
|
| Problem creating file version info. | 23 Oct 2006 10:49 GMT | 1 |
I'm compiling an .exe file on VS2005 under C++ without framework support. For some reason, when I look at the properties of the .exe file there is no version tab although the project does have a resource file and the file version is defined there.
|
| private destructor and templates | 23 Oct 2006 10:40 GMT | 23 |
I have a POD type with a private destructor. There are a whole hierarchy of derived POD types, all meant to be freed using a public member function Destroy in the base class. I get warning C4624. I read the description, decided that it's exactly what I want, and ignored the ...
|
| Image as property | 22 Oct 2006 01:44 GMT | 3 |
I'm creating my own .NET control and i would like to allow user to allocate an image as property. for that i used the following code : #pragma region public Property : ImageSortAscendant
|
| c++ program does not run from server drive | 21 Oct 2006 16:25 GMT | 4 |
I succesfully finished a simple form program in VC express 2005. I tested the program in another machine, after installing the runtime libraries and .NET framework 2, and is working fine. Now' i'd like to make the program available from the network server
|
| SP with no results throws ODBC exception in CRecordset | 20 Oct 2006 21:03 GMT | 1 |
I'm writing a little app that uses ODBC to call a SQL 2K stored procedure several times in a loop, with a different parameter each time. The SP can return no results in some instances. When no results are returned, the CRecordset throws an exception. I've tracked the problem ...
|
| Availablity of VC++ Express Edition on CD | 20 Oct 2006 18:37 GMT | 2 |
Does anyone know how to obtain the VC++ 2005 Express Edition on a CD? I have been unable to download and create a viable CD from the Microsoft site. Either not holding my mouth right or I have the wrong software. Thanks,
|
| C2440: Generic argument and nullptr | 20 Oct 2006 16:04 GMT | 4 |
I'm having a hard time understanding why I get the following error with the code shown. Can someone explain? public ref class Class1
|
| How to Write a Windows Service (native) | 20 Oct 2006 15:10 GMT | 8 |
Anyone know of any good articles on how to write a windows service in native (unmanaged) VC++? Also, how to use IPC in the service to communicate with a front-end GUI application would be helpful... Thanks!
|
| StringCbPrintf - multiple params | 20 Oct 2006 05:35 GMT | 1 |
I'm trying to concat multiple params. My code only grabs the first param. /*******/ // Param1: OLE2T(menuItemsData[idCmd]) // Param2: pStrClipboardText
|
| C++ interop /CLR confusion | 20 Oct 2006 03:47 GMT | 3 |
I wonder if anyone can help lift the cloud of confusion hanging over me at the moment ;-) I have a load of unmanaged code in a project that I am compiling NOT USING /CLR
|
| VCBUILD.exe distribution | 19 Oct 2006 21:54 GMT | 2 |
Can someone tell me if I can freely distribute VCBUILD.exe with my application? I allow the users of my app to tweak the code via a dll build on the fly. I'd much prefer not having to ask my clients to download c++ express. TIA
|