Answer Questions
amedjones Visual Studio 2005 File Samples
Hi, On the MSDN web site there are VS 2005 code examples for C#, VB, and C++. I have been able to download the C# and VB, but the C++ download refers to a "Download Samples" button that does not exist. How does one download VS 2005 sample code Thanks Jeff Hooper wrote: Hi, That is what I was looking for. I use all three languages, VB, C#, and C++. Seems strange to me that ...Show All
travey12 Can't open form1.h
wrote in news:3c944f4f-800e-4087-a10d-8aa554c27696@discussions.microsoft.com: > if I try and open it in designer view I get the following dialogue as > well: Package load failure > "Visual Studio explorers and designers package" failed to load > properly. this looks like a broken setup. Did you install on a clean machine (no previous VS2005 versions) Can you reinstall on a clean machine Thanks, -- Tarek Madkour, Visual C++ Team Th ...Show All
Carnage_bz Compiling C Win32 code in VC2005 B2?
I try to compile my VC6 app, written in C for Win32 API, with the new VC2005 Beta 2. It tries to find windows.h and fails. How can VC2005B2 (Express) be set to compile normal Win32 API apps Where is the windows.h file now Hi gel! This post has been edited either by the author or a moderator in the Microsoft Forums: http://forums.microsoft.com This article describe how to set up VC2005 B2 for use with the Platfor ...Show All
navimarin Where can I get the naming convention of C++
Dear All, It would be a good practice to follow the standard naming convention of C++ (or Visual C++) when you write a program in order to avoid the word confusion. I would apprecite if you provide me with a documentation or a link about the naming convention of C++ or Visual C++ Your help is appreciated. Regards Bassam See the links here: http://en.wikipedia.org/wiki/Hungarian_notation ...Show All
entanglement EETypeLoadException
Hi I’ll migrate a VC++ 6.0 MFC solution to VC++ 2005 (managed c++). My solution consists of one exe-file which call’s some MFC extension DLL’s and some MFC extension DLL’s. After I compile the code with "/clr" I get the "Loader Lock" Error on some DLL Main function’s. I have fixed the Loader Lock" Error by the manuals of MSDN library, but now I get these errors when I debug the code: … ' myprogramm.exe' (Managed): Loaded 'C:\WINDOWS\WinSxS\x8 ...Show All
Deepak Kapoor Visual Studio 2005 Beta 2 and how to start programming in C .
Hello, I just got Microsoft Visual Studio 2005 Beta 2 installed fully onto my laptop and I need to know how to start programming in C . I know that I can create forms and such easily on the program but I can't create a simple "Hello World" application. I keep getting the error : e:\my documents\visual studio 2005\projects\crun\crun\crun.cpp(5) : fatal error C1083: Cannot open include file: 'iostream.h': No such file or directory ...Show All
Base64 Visual C++ link optimization
hi group, Running VC++ Std 6.0 ,i have an objective of increasing the link speed (complete, full link) to the final .exe generation. How can I do it One option is to disable generation of .map file.. Is there something else I could do Appreciate any inputs. Sujay Use a machine with as much memory as possible. Look into the Taskmanager during the linker phase. BTW: VC6 is no longer ...Show All
neko... How to call unmanaged code from managed code?
Hi, I am very new to the .Net frame work and the whole idea of managed and unmanaged code. I have a question though. The latest version of VC++.Net makes it so simple and easy to design UIs thanks to its drag and drop approach (which had been an integral part of VB). However, my program is supposed to perform some very intensive mathematical routines. For that part, I don't want my code to be managed as that would slow things down considera ...Show All
Aloaiza unsigned long *' differs in levels of indirection from 'unsigned long ** '
Hi, Can anyone here help me. I am trying to write a program that writes to the com port in c but I keep getting the following message when I am trying to compile: 'unsigned long *' differs in levels of indirection from 'unsigned long ** ' The error is being generated by the WriteFile() function and I think the parameter temp which I have declared as; unsigned long *temp I am new to C can anyone tell me what this message is and wh ...Show All
martin palla std::string interop problem between VS2003 & VS2005
I have a DLL built with V2005, and I'm trying to load it using LoadLibrary from an exe built with VS2003. The function exported by the DLL calls back to a method of an object that was created in the exe, passing a std::string as a parameter. When I compile it in DEBUG mode, the std::string object has 4 bytes more in its binary representation than when I compile using the RELEASE mode. I detected that std::string derives from _Container_base in V ...Show All
BBN11 Help me Exporting classes
Hello Everybody, I am trying to export a class from dll and use it another VC++ code. The code is give below. /*DllTest.h*/ class __declspec(dllexport) CDllTest { public: __stdcall CDllTest(){} __stdcall ~CDllTest(){} public: void __stdcall SayHello(); }; // #include "stdafx.h" #include "DllTest.h" BOOL APIENTRY DllMain( HANDLE hModule, DWORD ul_reason_for_call, LPVOID lpReserved) { switch (ul_reason_for_call) { ...Show All
WaseemA error LNK2001: unresolved external symbol _main
<trulyviral@discussions.microsoft.com> wrote in message news:905960a4-dd74-4e18-ac02-10db03534d6d@discussions.microsoft.com > *coughs and says "#include <windows.h> > int APIENTRY WinMain(HINSTANCE hInstance, > HINSTANCE hPrevInstance, > &nbs ...Show All
Keith Boyd Resource Editor: Add/Remove operation is impossible ... read only (NOT)
I'm working with the mfcie sample application, I believe the most recent version. Yesterday I was able to add menu items and add event handlers. Today I attempt the same, am able to add the menu items, however upon attempting to add the event handler, after specifying the class to associate it with (the CMfcieView class), I get the message: "Add/Remove operation is impossible, because the code element 'CMfcieView' is read only" I che ...Show All
M HOWELL 2D CArray
The CArray allows you to do this typdef CArray<CPoint,CPoint> POINTS_ARRAY This creates a one dimensional CArray as far as I can tell. What i would like to do is add a CPoint and integer to a CArray (in other words 2D dimensional). Anyone know how to do this and before you say it, i cant use the index instead of the int. Thanks Will Hough well that looks like an array in an array whi ...Show All
TonyStoker Scroll limitation issue
hi, I have recently taken over the a project for someone, one of the issues we have come across is that you cant view an entire document, in a window with scroll bars if its really big. I track this problem down to the ranges on the scroll bars. Once the range of the scroll bar exceeds 32000 pixels, it is set, by my ex-colleague back to 32000. So when you view a document, depending on the zoom factor you may only see a fractio ...Show All
