-
- C++ Forms Question
by Jamie R. McPeek
- 1 Replies
- Last post
by Jamie R. McPeek
- Hello,
I'm trying to make a little program in C++ and I'm having some troubles. Basically I'm trying to have it load up with Form1. This is a little settings/dialog/splash type window. The user then clicks on a button, which closes the dialog and opens Form2 (MDI Form). Form2 can create children that are simple windows with different titles based on the menu chosen. Only one window of a particu
-
- DLL Problem (really need help)
by Sainttoff
- 1 Replies
- Last post
by Damien Watkins - MSFT
- Hi all;
We have build done on Windows XP with Visual Studio 2005. Now i am trying to get this build to test on Windows 2003 with Visual Studio 2005. This is where my problem starts!!!
When i start up the binary it fails to initialise and falls over, so I did a depend on the binary, and it seems for some reason that one the binary dll's is depending on msvcp71.dll and msvcr71.dll. I dont
-
- VS2005 and simple console based app run time issues
by one-trick-pony
- 12 Replies
- Last post
by Simple Samples
- Greetings,
I am writing a very simple console based program as shown below. I pick the default choices for Win32 Console Application in VS2005. I am developing it in Windows XP and it should be able to run in Windows 2003 Server OS. It compiles fine. It executes correctly in Windows XP. When I try to run this in Windows 2003 Server OS, I get this message at command prompt:
"The
-
- Stack Trace Tools
by ARUVELAN
- 3 Replies
- Last post
by Sdi
- Hi,
Is there any stack trace tools available for dumps generated in Test System. In fact, application running in the test was developed using Visual Studio 2005.
Thanks in advance!
Regards,
Aru.
-
- c# code for deploying multiple reports
by shamen
- 2 Replies
- Last post
by shamen
- Hi,
I have about 300 reports to be delivered. Same report has to be delivered to six different customers. But each customer can see only their data in the report. So I'm using parameters for this purpose. Now I should run this reports, some are daily and some are monthly basis.
So I hope to use data driven subscription with file shared option. It will create 6 different reports for each
-
- Where is the option to change the Intermediate Directory in VS2005
by RokitMan
- 2 Replies
- Last post
by RokitMan
- I'm transitioning from VS2003 to VS2005 and haven't been able to figure out how to modify the intermediate directory option that was available in VS2003. Specifically the option that I'm refering to was at ProjectProperties->ConfigurationProperties->General->IntermediateDirectory in VS2003. I have found that I can modify the output path in VS2005 at ProjectProperties->Build->Output-
-
- Please help with EnumWindow function
by Olyx
- 6 Replies
- Last post
by Damien Watkins - MSFT
- code:
#pragma once
#include <TCHAR.H >
#include <windows.h>
#include <vector>
// Type declarations
struct TWindowItem {
HWND Descriptor;
char Caption;
char ClassName;
};
//Function declaretions
BOOL EnumWindowsProc(HWND WHandle, long lParam);
.......
namespace OoMetaPanel2 {
vector<TWindowItem> WindowList
-
- GDI+ problems
by Daniel Bogdan
- 2 Replies
- Last post
by Daniel Bogdan
- Hello, I'm using VS 2005 and I have a win32 project. I have some problems with including GDI+ libraries. I've already included <gdiplus.h>. I also selected gdiplus.lib in the linker input settings. I've excluded WIN32_LEAN_AND_MEAN like here: http://support.microsoft.com/default.aspx/kb/320234 I still have 6 compiler errors: Error 1 error C2871: 'GdiPlus' : a namespace with this name does
-
- Use click function to call a form which is in other project?
by King Yip
- 4 Replies
- Last post
by King Yip
- In my solution has two different projects 'A' and 'B'. What I want to do is when clicking a label in form1 in project 'A', then, form2 in project 'B' would prompt up. How can I do that
-
- VS8 resource can't open include
by Mystagogue
- 2 Replies
- Last post
by Nemo Wang
- I am using VS version 8.0.50727.42 (RTM.050727-4200).
I converted a VS 2003 project, and I am trying to compile. The project depends on WTL7.1, which I downloaded and set the project compilation paths to point to the appropriate WTL include directory.
During compilation I get to a "pddm.rc" file that references a WTL file, like this:
#include <atlres.h>
When the compil
-
- what is supported by GDI
by Tran Ngoc
- 6 Replies
- Last post
by Tran Ngoc
- I want to write a project that has some function likes WordArt of Microsoft Words. it can fit the text to any pattern I want to use GDI to deverlop my project. so, could you tell me, what is supported by GUI (not use GUI plush) . thanks & regards!!!
-
- .obj Errors in vs.net 2005
by el_fuerte
- 7 Replies
- Last post
by Krish Reddy
- hi
i'm trying to compile a c++ project in vs.net 2005 and i get this errors
Error 2 error LNK2028: unresolved token (0A000078) "extern "C" void __cdecl cvReleaseImage(struct _IplImage * *)" ( cvReleaseImage@@$$J0YAXPAPAU_IplImage@@@Z ) referenced in function "void __cdecl rt_ProcessFrame(struct _IplImage *)" ( rt_ProcessFrame@@$$FYAXPAU_IplImage@@@Z
-
- error C2679: binary '=' : no operator found which takes a right-hand operand of type 'RX::FastSet<BASE>::sortedAppender' (or
by Man-Nag
- 5 Replies
- Last post
by Holger Grund
- The problem occurs in Visual Studio 2005 but works in Vc++6.0
rx_fastset.h
struct SortedAppender
{
typedef Std:: output_iterator_tag iterator_category;
typedef BASE value_type;
typedef ptrdiff_t difference_type;
typedef BASE* pointer;
typedef BASE& reference;
sortedAppender(FastSet& fastSet): m_fastSet(fastSet) {}
sortedAppender& operator
-
- How to convert CStringW to char*?
by alunlee
- 2 Replies
- Last post
by Simple Samples
- How to convert CStringW to char*
-
- Set bitmap to button
by YaelS
- 14 Replies
- Last post
by YaelS
- Hi,
How can I set ID to nameFile.bmp in vs03
I import this file, but I don't know hoe to set for this file an ID_NAME
for loading
-
- Rich Edit Problem in MFC
by Nothingz
- 4 Replies
- Last post
by Nothingz
- After adding Rich Edit to my form in MFC. I press F5 to debug app, the app immediately exit with return code 0. I had tried on VS6 and VS2005 and get the same problem. Plz help me !
-
- How to terminate a thread
by Quang Tuan
- 14 Replies
- Last post
by Simple Samples
- Hi all, I have a trouble when using multithread in my program. My program uses CDatabase, CRecordset to operate with MS Access database. GUI of program includes Process and Cancel buttons. I created a thread to process when user click on Process button and it takes very long time to operate with database. So I want to cancel this process (terminate thread) by click on Cancel button, but this progr
-
- Meet error C2061: syntax error : identifier 'ATL' in converting VS.NET 2003 to VS.NET 2005
by daniel mark
- 2 Replies
- Last post
by daniel mark
- Hello all:
I met the following errors when I compile a project in VS.NET 2005. This project was originally created under VS.NET 2003.
Error 12 error C2061: syntax error : identifier 'ATL' C:\Program Files\Microsoft Visual Studio 8\VC\atlmfc\include\atliface.h 2652 Error 13 error C2059: syntax error : ';' C:\Program Files\Microsoft Visual Studio 8\VC\atlmfc\include\atliface.h 2
-
- Trying to install EVC++4
by tirengarfio
- 3 Replies
- Last post
by phc_joe
- Hi, I have just downloaded EVC++4 from here: http://www.microsoft.com/downloads/details.aspx familyid=1DACDB3D-50D1-41B2-A107-FA75AE960856&displaylang=en After executing the downloaded file, a process that unzip some files starts. Between the unzipped files, there is one called "acmboot.exe". I execute it and it seems to start the installation. Then, the installation ask me a ten
-
- Managed class and legacy C code
by EricksonBrian
- 3 Replies
- Last post
by MikeSandberg
- Hi all,
I started this thread in the General form but it turned into a language question so I'm asking over here.
I have a class defined as follows:
// PCSInit.h #pragma once
#include <stdio.h> #include "pcstypes.h" #include "pcsshmem.h" #include "rtdd.h" #include "pcsproc.h" #ifndef PCS_SUCCESS #include "pcserr.h" #endif
-
- which way is more efficient to check bit value
by George2
- 14 Replies
- Last post
by George2
- Hello everyone,
I have a large array (char*) and I need to check which bit is the first bit whose value is 1.
I have two ways to implement,
1. Iterate each byte, then iterate each bit in each byte one by one; 2. Iterate each byte, and check whether the value of the byte itself is non-zero, if yes, then iterate each bit in the byte to find which bit is the first bit which is set to 1, or e
-
- Convert C++ obj to Source code
by SenthilKM
- 1 Replies
- Last post
by einaros
- Is it possible to convert the build file .obj to the source code If yes, wants the tool to convert
-
- Member offsets in derived classes
by Sam Hobbs
- 14 Replies
- Last post
by Sam Hobbs
- I expected the offset of member m_RecordSize to be zero for both classBase and classDerived in the following but instead m_RecordSize is at offset 4 within classDerived. Is this due to the vtable in classDerived
For what it is worth, the reason this is important is because I have many more classes derived from classDerived that I am writing to disk so I need to ensure I understand the format of
-
- error LNK2019
by adysor
- 5 Replies
- Last post
by adysor
- Hello, I am getting the following linking errors: NetworkAnalyzer error LNK2019: unresolved external symbol "class nbPacketDecoder * __cdecl nbGetPacketDecoder(int,char *,int)" referenced in function "public: __thiscall CCaptureWindow::CCaptureWindow(class wxWindow *,struct _capsettings *)" NetworkAnalyzer error LNK2019: unresolved external symbol "class nbPDMLReader * __c
-
- mfc dialog I/O
by alberthyc
- 6 Replies
- Last post
by hudi33
- i have 20 edit box on my dialog, it was formated into 4 rows with 5 edit box with each row. these edit box displays integers. i want to save/load the integers to/from a .txt file. the .txt file should have the following format,each number corresponds to each edit box, and each row corresponds to each row of edit box: 50,5,3,2,6 32,56,7,8,9 12,34,56,7,9 1,2,4,5,6 1,2,3,4,5 the numbers are just abo