| mac mfc? (8 replies) |
| microsoft.public.dotnet.languages.vc |
| Is there a porting solution from an MFC app to macOS X? The question has not been answered in the mac mfc newsgroup. |
|
| help: application deployment with VC7++ and C# (3 replies, VIP) |
| microsoft.public.dotnet.languages.vc |
| I wrote an applications with VC7 , which works well in my machine. In another machine which has no Visual Studion Beta2, it doesn't work. If I want to deploy the application to a new mahcine, does this mean that the machine must have a Common Language Runtime environment? If you have any idea about deploying applications written with VC7 to windows 9x, NT, 2k, please reply. Is it possible to write... |
|
| VC7.0: const qualifier on 'void' type is ignored (2 replies, VIP) |
| microsoft.public.dotnet.languages.vc |
| As the following code highlights, VC7.0 ignores 'const' qualifier on 'void' type when it's used as template argument: [void const vc7.cpp] template typename T struct memory block; template struct memory block void {}; template struct memory block void const {}; // error C2908, see below [compiler output] e:\depot\bugs\void const vc7.cpp(3) : error C2908: explicit specialization; 'memory block T ' ... |
|
| Winforms App with managed C++ ? (5 replies) |
| microsoft.public.dotnet.languages.vc |
| Does anyone know whether it is possible to write Winforms app with Managed C . There is no wizard available to generate the form. Any easy way out of this ?. Or do we have to do this stuff manually ? Thanks much, Paul |
|
| Problem with ported VC 6 ISAPI DLL proj under Windows NT (3 replies) |
| microsoft.public.dotnet.languages.vc |
| I'm having some problems getting a VC7 compiled ISAPI DLL to run under Windows NT. I took the existing project from VC6 (which worked fine on all platforms) updated to VC7 project and recompiled. This is a raw Win32 app no MFC, no runtimes etc. The DLL runs fine under Windows 2000 but bombs out on WinNt the DLL never loads. I've been messing around with various compiler settings, but have been una... |
|
| Accessing EXCEPTION_POINTERS with CPP EH (2 replies, VIP) |
| microsoft.public.dotnet.languages.vc |
| Hi, I'm trying to access the SEH exception info from my C exceptions. I'd like to get a EXCEPTION POINTERS into my exception class. For SEH exceptions that's quite simple using the set se translator function. But I'm trying to get the information for C exceptions as well. AFAIK Visual C exception handling uses internally SEH. I've managed to inject the exception objects data using vectored excepti... |
|
| Moving an Array of String (2 replies, VIP) |
| microsoft.public.dotnet.languages.vc |
| I have been reading the thread "Returning arrays with managed C for use with COM" http://groups.google.com/groups?hl es&threadm %23md4deLMBHA.576%40tkmsftngp05&rnum 2&prev /groups%3Fq%3Darray%2Bstring%26hl%3Des%26meta%3Dgroup%253Dmicrosoft.public.dotnet.languages.vc from 2001 08 29. Now I have a project where a Web Service passes data as a bidimensional array of String. I'm having problems as how ... |
|
| Where have my static instances gone? (4 replies, VIP) |
| microsoft.public.dotnet.languages.vc |
| I have a C application which contains static instances of several classes. If I link all the object files together when creating the executable, these static instances are created as expected during program initialization. However, for reasons not important here, I want to build the application in two parts. One part is a static library, the other is an executable which is linked against the stati... |
|
| spinwait (2 replies, VIP) |
| microsoft.public.dotnet.languages.vc |
| what is the unit of time that this method takes? what is the purpose of this method? |
|
| How to convert from System::String* to char* ? (2 replies, VIP) |
| microsoft.public.dotnet.languages.vc |
| Hi all, I have to convert a managed String object into a plain old char array in order to call legacy code using only char*, CString objects and the like. I know that there is character issues involved here but I am ready to overlook them. I just want a damned char*!!! How do I get that? |
|
| ManualResetEvent and AutomaticResetEvent (2 replies) |
| microsoft.public.dotnet.languages.vc |
| Whats the difference between these two? |
|
| Performance Difference between VB.Net and VC.Net (5 replies, VIP) |
| microsoft.public.dotnet.languages.vc |
| Hi, I am new to the .net framework and have a simple question. Does anyone know if there is any performance difference between VB.Net and VC.net since all of them are compiled into IL? Is there any advantages to use VC.Net rather than VB.Net? What about threading? Thanks in advance! regards, Soon |
|
| data marshalling (4 replies, VIP) |
| microsoft.public.dotnet.languages.vc |
| could someone explain why a LPCSTR passed to MessageBox works fine but a DWORD to WriteLine does not? Also ToString works on a DWORD but ToInt32 does not. Is setting the DWORD equal to an Int32 the only way of performing the conversion? thanks #undef MessageBox DWORD dword 500000; Console::WriteLine (dword); LPCSTR lpcstr "5"; MessageBox::Show(lpcstr); |
|
| Dialog Boxes not appearing properly (2 replies, VIP) |
| microsoft.public.dotnet.languages.vc |
| Hi Everyone, I have a generic SDI application that creates 2 modeless dialog boxes. In these modeless dialog boxes, I occasionally call MessageBox() and GetOpenFileName. In the case of MessageBox, none of the message boxes display properly. The only way I can see the message box is if I minimize the main application window. This happens regardless of whether I use ::MessageBox (with a NULL owner o... |
|
| STL does not compile cleanly using warning level 4 (/W4) (6 replies, VIP) |
| microsoft.public.dotnet.languages.vc |
| I have the following rather simple console app that stores all program arguments into a multiset: // stl.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include string #include set #include iostream #ifdef UNICODE #define tcout wcout #else #define tcout cout #endif int tmain(int argc, TCHAR* argv[]) { using namespace std; typedef basic string TCHAR TString; typed... |
|
| Known bug? Buffer overrun error reports after using Edit & Contrinue (12 replies) |
| microsoft.public.dotnet.languages.vc |
| Using Beta 2, after using Edit & Continue, I often get an incorrect buffer overrun error reported as the edited function exists. Is this a known issue that's subsequently been fixed? Dave Lowndes MVP VC FAQ: http://www.mvps.org/vcfaq My address is altered to discourage junk mail. Please post responses to the newsgroup thread, there's no need for follow up email copies. |
|
| GCHANDLE and __pin (2 replies) |
| microsoft.public.dotnet.languages.vc |
| what is the difference between GCHANDLE and pin. IT appears that both ensure that an object is not moved by the runtime. thanks |
|
| Object* __gc (3 replies, VIP) |
| microsoft.public.dotnet.languages.vc |
| How can I declare a function that returns an array of objects? Ive tried this with no luck: Object* gc[] Insert() { //Some Code return objects; } Thanks. |
|
| Pointer to member (4 replies, VIP) |
| microsoft.public.dotnet.languages.vc |
| Hi, I'm currently investigating an issue with the compiler creating a C4121 warning ( alignment of a member was sensitive to packing ). After I have spent several hours I've managed to track down the problem to the following issue: template class T class A { public: union U // class or struct have the same effect { int T::* piValue; }; } class B : public A B { }; Now sizeof (int A B ::*) returns 4... |
|
| ATL MMC Snapins (5 replies, VIP) |
| microsoft.public.dotnet.languages.vc |
| Hi What happened to the ATL MMC Snapin wizard? Is it no longer supported? And what about the MMC classes in ATL then? Thanks Holger Grund |
|
| what is the main project in vc7 (2 replies, VIP) |
| microsoft.public.dotnet.languages.vc |
| Usually we create a MFC project in vc6, but I can use what in vc7? I've heard of MFC is not managed code in vc7, MFC is not encouraged by Microsoft? What kind of Project we will use? |
|
| Error PRJ0002 - Buffer overrun detected ... (2 replies, VIP) |
| microsoft.public.dotnet.languages.vc |
| I converted a project that builds with VC 6.0 to VC 7.0, but when I try to build it I get the following error: When compiling a message box is displayed with this text: Buffer overrun detected! Program: ...les\Microsoft Visual Studio.NET\Vc7\bin\cl.exe A buffer overrun has been detected which has corrupted the program's internal state. The program cannot safely continue execution and must now be t... |
|
| Purpose of 'S' literal in Console::WriteLine (2 replies, VIP) |
| microsoft.public.dotnet.languages.vc |
| In Managed C , why do we use the 'S' literal before any character string. Does the 'S' convert the character string to a managed type. ex: Console::WriteLine(S "Hello World !"); Thanks much, Paul |
|
| NativeOverlapped (2 replies) |
| microsoft.public.dotnet.languages.vc |
| What is the interop scenario that this structure is used for? |
|
| Help! (2 replies, VIP) |
| microsoft.public.dotnet.languages.vc |
| I'm a C newbie looking for some .NET direction. Currently I'm learning C on a UNIX system, but I would like as I go along to also perform my assignment steps in Visual Studio.NET. My question: How can I create a simple "Solution"/"Workspace" that mimics the use of Emacs with the GNU C Compiler? All of the C projects seem built up around certain ideas that don't correspond to what I'm trying to do.... |
|