-
- running code in Visual C++ (simple question)
by Skizi
- 14 Replies
- Last post
by Simple Samples
- I recently downloaded MS Visual C++ 2005 express and am having issues running the code. I start a new file, type in my code, and save it as a .cpp file. After that I'm pretty much stuck. I don't see compile, or run, or even build. I tried googling this and read up on some FAQs, but the most I've gotten out of them was to add the build icon to the toolbar. Though I can see build and build solution,
-
- cl.exe error.
by bStiffler582
- 1 Replies
- Last post
by Bite Qiu - MSFT
- Anything I try to build gives me:
Project : error PRJ0002 : Error result -1073741800 returned from 'C:\Program Files\Microsoft Visual Studio 8\VC\bin\cl.exe'
I re-installed and everything. Searched the topic and found some stuff but no solutions work.
The file is in that dir, when I try running it I get a user32.dll error. This business came out of nowhere, as was successfully bu
-
- LNK2001: using unmanangedC++ in manC++
by unsigned int
- 14 Replies
- Last post
by Mike Danes
- Hi, i'm writing a new user-interface for a small software-company. The old interface should be replaced by the new one, the "inner core" should stay. The old program was written in unmanaged C++, but now I'm writing the user-interface in C#, so I have to use class wrappers. While building the managed C++-project (in a solution with the unman. C++-projects) there a some errors. For examp
-
- DES - Timeline problem
by xder
- 1 Replies
- Last post
by Damien Watkins - MSFT
- Hi everyone,
In my DES application, i have a timeline. My application add sources to timeline dynamically. When i want to preview timeline, it only plays first source, not others. However i can see all sources timeline's xml file. I can also see all sources in timeline's grf file when i open grf file with notepad. But in the preview (in my application or in GraphEdit) it only plays first source
-
- How to minimize debug compilation time? (VC2005 with /clr option)
by Raymond.Z
- 1 Replies
- Last post
by Bite Qiu - MSFT
- I am working on a solution which has many projects. I want to debug the this application. but when I press F5, each time VC2005 compiles and builds all the project, even most of them are unchanged. I try to set /Gm, but it is conflicting wiht /clr which is a must for .Net. Is there any method to minimize this compilation to only the changed file in VC2005 (I am using VS.Net 2005 Professional). Th
-
- TAB order change
by igor63
- 2 Replies
- Last post
by Bite Qiu - MSFT
- Hi,
I develop GUI application where there two dialog boxes in the main frame separated by splitter. I want to have single TAB order between these two dialogs, i.e. when TAB is pressed on the last control of dialog1 then focus is moved to the first control of dialog2. Any ideas
thank you.
-
- Error LNK2019 Unresolved External Symbol wWinMainCRTStartup
by nfuji27
- 7 Replies
- Last post
by Mingluen.Li
- I saw the previous posting relating to LNK2019, but the solutions did not work for me. I am migrating a eVC project to VS 2005. I have two LNK2019 errors. Here is the description of the first error: description: error LNK2019: unresolved external symbol wWinMain referenced in function wWinMainCRTStartup filename: corelibc.lib I have the linker entry point set to: wWinMainCRTStartup
-
- Hi
by hudi33
- 1 Replies
- Last post
by Ramkrishna Pawar
- Hello all,
I have a doubt, I can say that I am a novice to VC++,
I access the MS Exchange Server to search for a particular email or document that matches my keyword and then what I need is an XML file that can have tags like <author>, <date>, <body> and <attachments> if any....., the XML should extract these information from that particular email or the documents., A
-
- How to place a image file(BMp) into clipboard???
by gloriousgopi
- 2 Replies
- Last post
by gloriousgopi
- Hi to all, I want to gather a image from a file and place that image into the clipboard. and i have to do this in win32 with out using MFC. could any one help me in this regard. Thanks in advance. From Gopinath MV
-
- How to suppress deprecate messages?
by nivo999
- 1 Replies
- Last post
by Kathirvel
- Hi,
I have a big project that was first written in Visual studio 6, then moved to .Net 2003 and now I'm in the process of moving it to .Net 2005.
I get thousands of deprecate warnings. I have tried many of the suggestions here in the forum but none of them worked for me.
They do work if i start a new project in 2005.
Thanks,
Niv
-
- turning script into an .exe
by polish sausage
- 1 Replies
- Last post
by Jangid
- i want to show a friend the program i scripted, but don't know how to convert it to an .exe file. It would make it easier to show him the program running. Any suggestions on how to do this
-
- Link errro help
by miaofeng
- 5 Replies
- Last post
by miaofeng
- I write a class library with manage c++.When I compile this library,an error happened.
the information is:LNK2001: unresolved external symbol __CorDllMain@12 . I have no idea how to fix this.
It's quite strange that if I setting the library as static library ,can be compiled successfully.I find an article about link 2001 in this forum and following the suggestion,but still can not work.anyon
-
- Error in vector allocation.
by Thomahawk
- 1 Replies
- Last post
by Thomahawk
- I have a large application that's been working for several years. Recently I was doing some work and I started getting errors every time I allocate a vector and use it once: vector<int> myvec; myvec.push_back(0); At this point I receive an access violation: msvcp80d.dll!std::_Container_base::_Orphan_all() Line 197 + 0x5 bytes C++ : Access violation writing location 0xcdcdcdcd Here's
-
- plotting functions using visual studio 2005
by KrisLodz
- 4 Replies
- Last post
by KrisLodz
- I want to write a window application for plotting functions using visual c++. I have a trial of visual studio 2005. My problem is that i cannot use CDC class as there is a problem with #include <afxwin.h>. Do anyone know the solution or can propose an alternative way to solve the task Thanks
-
- Beginner Help
by Newbie_Joshua
- 4 Replies
- Last post
by Newbie_Joshua
- I know this is a rudimentary question but I cannot figure it out.
How come when I insert a "cin" statement into a for loop, it functions properly the first time through the loop but skips over the input step after the first loop - creating an infinite loop Any help would be appreciated.
ex.
for ( int componentCounter = 0; componentCounter < 20; componentCo
-
- Intellisense sees it but the compiler doesn't
by quiklearner
- 13 Replies
- Last post
by quiklearner
- We have an application, with all of the components written in VB. It is an "Multi-Thread" ActiveX EXE that instantiates components from dlls on seperate threads. The type of objects instantiated are actually derived from another VB DLL where an interface is defined and these instantiated objects use the Implements keyword. I am attempting to rewrite the main application in a C++ console
-
- Illegal System DLL Relocation (user32.dll)
by dbabobw
- 14 Replies
- Last post
by David
- Similar issue after install of latest XP update; states that C:\windows\system32\HHCTRL.OCX occupied an address range reserved for Windows system DLLs.
-
- Member Function Pointers
by Jessy D. Exum
- 4 Replies
- Last post
by einaros
- I am working on a class that loads plugins. Each Plugin (I am implimenting dll plugins) is passed a class object that holds all the plugin's requested information such as base functions and a list of dependencies (Pointers to other plugins) for the plugin to call methods from. The main issue I am facing now is a way to make these plugins be able to use listeners. The ideas I have so far are mainly
-
- Error when calling a function from a DLL (error 453)
by Douglas Penna
- 6 Replies
- Last post
by Douglas Penna
- Hello there,
I made a DLL before, and now I'm trying to use it on Excel. The problem is, I keep getting the same error (error 453), where it says that it cannot locate the name entry price in my DLL.
I've searched throught the foruns, and I did as it said on this thread ( the creation of a .def file ):
http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=916149&SiteID=1
-
- VC++ 2005 redistributable
by Jay K
- 14 Replies
- Last post
by Nelson B
- Hi, I'm trying to get an MFC application compiled with VC++ 2005 to run on a machine with VC++ 2005 express. There seems to be a problem with the manifest (which I don't fully understand despite reading the info on msdn). The original error in the event log when I tried to run it said Microsoft.VC80.CRT not installed so I installed the platform SDK and also copied over the atlmfc directory from th
-
- Bug?
by DvDmanDT
- 7 Replies
- Last post
by Section Z
- class CSimpleStatus
{
public :
CSimpleStatus(){}
CSimpleStatus(string szName, int HPmod, DamageModifiers *DmgMods, AttribModifiers *AttribMods);
};
That one is interesting.. I got lots of errors of missing ')' before szName here.. So first I added std:: before string.. Didn't help.. So I made sure I included string and all.. I had.. So I tried to remove 'string szName' f
-
- How do we use and include PRECOMPILED HEADER FILES in our codes... .cpp or .h ...? Anybody...?
by AllahIsGreat
- 4 Replies
- Last post
by sunil_singhal_10e2aa
- Hi,
... ... ... I'm using the Vidual C++ Compiler... I have a PRECOMPILED HEADER FILE... I just don't know how to make it part of my programs... How do I instruction the Visual C++ Compiler to include and use the Precompiled Header File so that I won't have to go over all the codes all over again... I think if it's a Precompiled Header File, it's probably a whole bunch of the codes that I've
-
- Creating a DLL for use in Excel
by Douglas Penna
- 8 Replies
- Last post
by Douglas Penna
- Hello everybody =]
I wrote a class in C++ to make a DLL for later use, but the DLL isn't showing up. I have done as told in the tutorial of VS2005 ( http://msdn2.microsoft.com/en-us/library/ms235636(VS.80).aspx ), and after I compile the .DLL project, I can't find any .dll.
There wasn't any compile errors. The file that I think is the .dll is:
OpcAmericanaDll.dll.embed.mani
-
- [MFC] sub string
by aguess
- 8 Replies
- Last post
by Simple Samples
- hi
i have a problem to to get substring of string ,i used CStringW tree; tree = this->tree_db->m_noeud; tree->substr(1,5); but,that don't work ,can u give me a hand
-
- Async named pipe functions
by zbenjamin
- 14 Replies
- Last post
by Simple Samples
- Hello, is there a way to get a async notification from a named pipe handle that new data is available to read. A message or a event would be okay. i know i can wait with ReadFile for available data. But if i want to use named pipes in a gui application with that would block my application loop. regards zbenjamin