| Thread | Last Post | Replies |
|
| conversion from 'double' to 'unsigned int" | 23 Mar 2006 15:14 GMT | 2 |
I am a beginner to vc++. I am opening a file("c:\Mydoc.doc") and reading data from it and afte that i just want to write data of 1.2 MB part from firs file("c:\Mydoc.doc") to New file("c:\Newdoc1.doc") and remaining t
|
| .NET calling VC6 dll that uses MFC | 23 Mar 2006 14:55 GMT | 3 |
I have a .NET managed C++ application that needs to call a 3rd party dll that was built with VC6 and returns MFC types. e.g. int GetSomeStrings(CStringArray *pStringArray); The problem I'm having is the destructor of the CStringArray is
|
| App root path | 23 Mar 2006 08:50 GMT | 2 |
I'm developing an app, with a plugins system, and I have a folder, plugins, thats in the same directory with the app, then a need a function or something that tell me what is the App root directoy... can u understand my bad english ???
|
| CreateProcess ignores dwX,dwY parameters in STARTUPINFO | 23 Mar 2006 08:15 GMT | 1 |
I am trying to create a process at a particular set of coordinates (for example 1,1) but the CreateProcess api seemingly ignores the settings in the dwX and dwY properties of the STARTUPINFO structure which I have initialized as follows:
|
| Creating a process with its window hidden | 23 Mar 2006 07:33 GMT | 1 |
Is there a way, using the CreateProcess/CreateProcessAsUser api's to launch an application with it windows hidden upon startup?
|
| Upgrade from VS2003 to VS2005 problems | 23 Mar 2006 06:15 GMT | 6 |
Hello people, We have a large application (about 5000 source files) consisting of multiple executables, DLLs and COM components written in C++. We develop and build it in Visual Studio 2003. I'm in charge of evaluating whether we want to migrate it to VS2005 (the previous migration ...
|
| void (Foo::^p)()=&Foo::bar; // won't compile | 23 Mar 2006 04:13 GMT | 2 |
hi, trying to make an array of function pointers to make delegates with. but the compiler does not like: void (Foo::^p)()=&Foo::bar; i did find an article that showed how to convert a delegate to a function pointer, but i sorta want to go the other way around.
|
| How to get the main window of a Process!!! | 23 Mar 2006 00:34 GMT | 2 |
about the function: ShellExecute, there's a Parameter: nShowCmd. and in .net: Process proc = ;// get process object;
|
| delegate contravariance not fully implemented | 23 Mar 2006 00:11 GMT | 1 |
I've extended the article "Covariance and Contravariance in Delegates" from the C# Programmers' Guide, and it seems contravariance of delegates is implemented wrong. Lambda calculus states that Handler2Method is a subtype of HandlerMethod...
|
| pragma pack and inheritance | 22 Mar 2006 22:59 GMT | 1 |
I seem to be running into an issue where I am deriving a new class from a struct with a different alignemnt via the pragma pack #pragma pack(1) typedef struct
|
| Confused about gcnew and object lifetime | 22 Mar 2006 20:50 GMT | 15 |
I wanted to take advantage of the large set of functionality offered by the framework, so for my latest project I'm using managed C++ with .NET v2. I'm using the gcnew operator in two different ways, and I'm confused about the lifetime of objects and whether or not I should be
|
| C2485 __declspec(restrict) | 22 Mar 2006 19:03 GMT | 1 |
I'm having a very strange problem with VC8 When compiling a library called gmp (v 4.1.4); with win32 patches applied for VC7 (VC8 is not directly supported yet), I get this error all over pretty much every system header:
|
| Repost: UnManaged delegates: Do they exist? | 22 Mar 2006 19:01 GMT | 6 |
Is it possible to create events without using sendmessage? sample: class a can retrieve a pointer to a member function of class b that instanciates class a?
|
| debugging, source files not shown | 22 Mar 2006 14:48 GMT | 5 |
I have a testing win2003 machine, where I debug inside a MMC process using a DebugBreak() statement. But only the first time, source code was shown, after that, I only get to see disassembly while I -did- install a debug DLL + PDB and the .CPP's in
|
| verifiable DLL | 22 Mar 2006 09:35 GMT | 4 |
I'm trying to build a verfiable DLL using Visual Studio C++ 2005. I've applied the /clr:safe, /CLRIMAGETYPE:SAFE and /noentry options. The code is: // TestRobot.h
|