| Thread | Last Post | Replies |
|
| How can I load an icon from an exe? | 25 Jun 2007 22:43 GMT | 1 |
How can I load an icon from an exe in C++ .NET? Is there .NET equivalent of ::LoadIcon? If ::LoadIcon is still the right way to do it, how do I get a handle to pass to it and how do I convert the handle returned to an Icon?
|
| Trying to Retrieve a List of Active Serial/Com Ports in C | 25 Jun 2007 22:29 GMT | 3 |
I tried posting this in comp.lang.C but need more specific help using winAPI. I am trying to find a way to populate a list of active Com ports on a computer. There may be around 30 on one computer and all connected
|
| Object initialization | 25 Jun 2007 21:19 GMT | 2 |
This question deals with unmanaged C++ (Visual Studio 2005). Suppose I have a class named MyClass with a constructor that takes an argument. How do I create an instance of type MyClass as a member variable (see below)?
|
| Wrapper Component in C++/CLI to use Legacy C++ code/functionality in C# | 25 Jun 2007 18:12 GMT | 1 |
We have legacy code in C/C++, I am writing a wrapper component in C++/ CLI that will allow using this legacy code functionality in C#, I have linked all my static libraries to this C++/CLI DLL project I have created a wrapper public static ref class in C++/CLI project
|
| Managed lib into unmanaged project | 25 Jun 2007 17:54 GMT | 3 |
I am developing a managed lib (using Microsoft Web Services) and I am including it into a c++ project. The project doesn't use /clr optionk, so when I include my linbrary's header file vs 2005 show me an error saying I have to use /clr option. Doing this I have a incompatibility
|
| string constants / conversion from const char * to String | 25 Jun 2007 13:35 GMT | 5 |
I want to declare an array of constant strings. In unmanaged C++ I'd do this static const char *string[] = { "One", "Two, "Three" }; However if I do this in .NET and want to pass these to a function
|
| Compiling Unmanaged C++ Code | 25 Jun 2007 12:42 GMT | 2 |
I'm trying to construct a Global Hook and need to create an unmanaged C++ DLL. I'm really new to this and Ive created a C++ Win32 project in VS 2005. Firstly, can you create an unmanaged DLL in VS 2005? Is this the correct classification of project to create an unmanaged DLL
|
| Displaying icon in StatusBarPanel | 25 Jun 2007 09:01 GMT | 2 |
I want to dynamically change the icon displayed in a status bar panel. I've created the icons in the resource file, app.rc, e.g. IDI_MYICON. How can I load this icon and display it in the StatusBarPanel? The auto-generated code does:
|
| How to get an unmanaged pointer within VC++ .Net? | 25 Jun 2007 06:38 GMT | 1 |
I am using an unmanaged pointer and need to take the address of this and pass it to a function (a pointer to a pointer). If the pointer is defined as a global variable it will work, however if I move it into a class variable I get teh following error:
|
| Performance of pure native C++ class in a managed C++/CLI DLL comp | 25 Jun 2007 06:36 GMT | 5 |
I have a class that is writen in unmanaged pure native C++. This class files (h and cpp) are inserted to a managed C++ (VC++ 2005, C++/CLI) DLL compoenet. This DLL compoenet is used in a C# application.
|
| Typecasting between ref class and interface class | 24 Jun 2007 17:34 GMT | 5 |
I'm working on a modular application that handles working with different file types. Each file type is defined in a separate DLL so that new types can be defined and then imported. Here's the code I've been using:
|
| How to ? out argument in managed c++ | 23 Jun 2007 21:34 GMT | 4 |
Hello gurus, I have the following C# function signature: void TheFunction(Dictionary<string, MyClassObj> dicName, out int nOne, out int nTwo, out int nThree, out int nFour);
|
| defining a catch statement with #define | 22 Jun 2007 21:48 GMT | 4 |
Hi, I want to define a very large catch clause in a pound define. I've done this, and it compiles, but when I try to incorporate it into the code I'm having issues. #define CATCH_THING{
|
| How to speed up C++/CLI build process? | 22 Jun 2007 21:45 GMT | 3 |
I notice that compiling older C++ program with /clr option needs a lot of time. Now I have a program below which use mix code feature in C++/CLI: #include "stdafx.h" #include "ManagedException.h"
|
| VC++ security problem using WMI | 22 Jun 2007 13:32 GMT | 2 |
I found some code from codeproject site using WMI in VC++. I have created a method having the following code in it. It works fine when I am running into "Admin" accound in Windows XP Pro while in "Restricted user account", its not able to run. It's giving error messsage "Could not ...
|