| Thread | Last Post | Replies |
|
| CreateDialogIndirect() fires Radio button click function ..... | 31 Jan 2006 15:03 GMT | 24 |
CreateDialogIndirect() fires my Radio button click function without the radio button having being clicked. I am using VC++ 2003.NET. I believe this is yet another Microsoft bug. Have checked dialog resources and memory - both appear to be in order. Can anyone comment on this? ...
|
| Getting the name of the administrators group | 31 Jan 2006 09:50 GMT | 1 |
I need to figure out what is the name of the administrators users group on that machine programmatically. I.e Administratos for English, Administrateurs for French and etc. How can I do that ?
|
| I apologise perhaps for a simple question | 31 Jan 2006 01:27 GMT | 2 |
my friends and i have been confused by this problem. On a veriety of systems we have tested compiling a simple hello word applicaation to check optimisation of C++ in 2003 VS.NET. However on one of the machines, the best we can get is 61k under a blank
|
| Static constructors/destructors | 31 Jan 2006 01:09 GMT | 12 |
I know how to create and use static constructors, but is there a such thing as a static destructor? If not, then how do you deallocate memory intialized in the static constructor?
|
| Having problem with setting time zone from managed C++. | 30 Jan 2006 21:31 GMT | 2 |
I have a managed C++ method that I call from ASP.NET to set the time zone on the local box. I call SetTimeZoneInformation, which does not return an error, but the time zone remains unchanged. I have checked the web for any information on this, but have not found any articles that ...
|
| Capturing output from external process | 30 Jan 2006 19:52 GMT | 1 |
I used the following code Jochen Kalmbach suggested to run an external program: System::Diagnostics::ProcessStartInfo *si = new System::Diagnostics::ProcessStartInfo();
|
| Can I create a .Net message loop without a Form? | 30 Jan 2006 17:22 GMT | 3 |
When I have a long process to run I can create a new thread to run it and create a modal dialog on my GUI thread. The modal dialog prevents any messages (like button clicks) from working on my main Form. It also provides a message loop, which allows paint messages and calls to ...
|
| Arrays in .NET (cli) | 30 Jan 2006 17:14 GMT | 3 |
I have c++ code, showed below, for allocating lower triangular matrix and I have to write that in .NET (cli). I can't use 1D array because I want to use property [,] with 2D notation (like LowerTriM[r,c]). This works fine in native c++ but I have no idea how to do it in cli.
|
| encapsulate c enum's inC++/CLI for C# | 30 Jan 2006 17:01 GMT | 9 |
I am writing C# code that interacts with a external device's firmware which is writen in C. There is a common enum file the firmware code is using that I would like to consume in the C# world. I understand that C# cannot use C header files directly, so I thought I could wrap the
|
| No DllMain() in MfcAtl project? | 30 Jan 2006 16:28 GMT | 9 |
I currently hunting a problem with a MixedMode dll, which used to work well, until the .NET Framework 2.0 is installed on a machine. Since the, the dll fail when loaded stating that there is a problem with the "LoaderLock" bug. Thus, I made sure that the dll is initialized ...
|
| How lock memory so not paged? vs Unix mlock. | 30 Jan 2006 11:27 GMT | 11 |
Ive got a time-critical application that runs on Windows XP and Unix. I've got some timing issues that Ive traced to virtual memory getting paged in and out. I think I can solve the problem if I can "lock" a certain huge memory buffer into physical memory, so it is not paged ...
|
| How to create an instance of a vb.net class from vc++ | 29 Jan 2006 19:47 GMT | 9 |
I am trying to create an instance of a vb .net class containing a form from unmanaged vc++. The vb.net is a dll. How to do this ? I am trying #import by can't seem to get it quite right. I suspect this is quite simple though. Thanks in advance...
|
| Deploy mixed assembly with Windows Server 2003 | 29 Jan 2006 09:29 GMT | 3 |
i compiled a simple Hello World console application (Console project wizard) with c++/cli. I use /clr compiler option for compile mixed managed and unmanaged code. When i start application on Windows 2003 Server i received a message box with error: "The application has failed to ...
|
| Missiing .resx files | 28 Jan 2006 16:22 GMT | 1 |
Sometimes when I start devenv back up and load a solution, there are ResGen complaints that certain .resx file can't be loaded. A rebuild doesn't correct this either so I have to manually open the project file and remove references to these files and then rebuild. Why does this
|
| Call to fopen fails in mixed mode project. Worked fine in unmanaged project. | 28 Jan 2006 13:25 GMT | 1 |
Help! I'm working with a mixed mode project in which some existing code is calling fopen. ie., void SomeMethod(char* fileName)
|