-
- How do you take a c++ file and publish it to a .exe file?
by BobL4944973
- 3 Replies
- Last post
by Simple Samples
- How do you take a c++ file and publish it to a .exe file
-
- How to write a timer that runs a function for 60 seconds?
by ~Dracula&
- 3 Replies
- Last post
by Bite Qiu - MSFT
- how do i write a timer that runs a fuction for 60 seconds.....
do i use a loop or something
-
- VS .Net 2005, how to disable intellisense...
by ChandraP
- 14 Replies
- Last post
by Boris Jabes
- Hi I am really frustrated with the performance of VS .Net 2005. This is because I always see at the bottom "updating intellisense..." and it uses 60% to 70% of CPU. How to disable this updating of intellisense... Please this is making Visual studio unusable. Thanks Chandra
-
- strange data alignment issue with VC2005 compiler that ONLY happens in the release build of my code
by wormworm
- 8 Replies
- Last post
by Simple Samples
- Please note that this is pure native code, no C++, no .NET managed code; and this problem ONLY happens in the release version of my code, the debug version works just perfect. I have a parent function A that pass a large structure B to the child function C, and C fails in param validation at its very first stage. Here is the pseudo code: typedef struct _X { BYTE s[0x20C]; } X; typedef _struct _
-
- Editing linux source files
by rtron
- 1 Replies
- Last post
by Bite Qiu - MSFT
- How do I have Visual Studio 2005 Express convert Linux source files (LF Only) to DOS file types (CR/LF) when the file is openned.
Visual Studio 2003 did this automatically. I know I can convert the file before openning, but this was not neccessary with 2003.
-
- dependent name is not a type
by Indiana
- 1 Replies
- Last post
by einaros
- I have some problems with the typedef:
Code Snippet
template<typename T> class S3TC: public BTCCompressor<T> { public: typedef RGB<T> (*BaseColorsQunatizationFunc)(const RGB<T>& c); typedef void (*FindBaseColorsFunc)(Array2D<RGB<T>>* block, RGB<T>* c1, RGB<T>* c2); typedef map<string, FindBaseColorsFunc> FindBaseColorsF
-
- VC2005 : Disable c++ exception in Dll application
by lib_team
- 7 Replies
- Last post
by einaros
- Hy, I create a simple Dll application that use stl. I try to disable exception to optimize my application. First, I disable exception in project properties and I define "#define _HAS_EXCEPTIONS 0 " in my prefix include. But it doesn't link, I have this error : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall std::exception::_Raise(void)const &
-
- ^ Reference
by Bobidybob
- 4 Replies
- Last post
by Bobidybob
- I'm messing around with Visual Studio 2005 form applications, and all the items use data types followed by a ^. im trying to find some documentation on the ^ postfix but am having much difficulty locating it. I want to know because the items take String^ types and I would like to know how to manipulate them. can anyone help point me in the right direction
example:
private : System::W
-
- Combobox element not diplayed
by alkatal
- 8 Replies
- Last post
by TilakGopi
- Hi i m adding elements to a Combobox. Prob is there are not displayed. Any idea mny thnks class CPlot : public CAxDialogImpl<CPloting > { public: CComboBox combo; CPloting () { } ~CPloting () { } enum { IDD = IDD_PLOTING }; LRESULT OnInitDialog(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled) { combo.Attach(GetDlgItem(IDC_COMBOBUS)); combo.AddString(_T("test1&q
-
- 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.
-
- vs2005 not generating code properly ?????
by Noviez
- 3 Replies
- Last post
by Noviez
- hi all,
here comes my third Qs in this forum,,, and this is really keeeping my mind spinning for 1 week.. release version of the code is not gettign generated correctly.....
Code Snippet
bool CDismantleW::EQAccs(IAccessible *iAcc1,VARIANT vrChild_1,IAccessible *iAcc2,VARIANT vrChild_2,bool bWinText)
BSTR bsName_1,bsName_2;
TCHAR tszName_1[256],tszName_2[256]; RECT rt
-
- syntax error c2059
by bearbacker
- 5 Replies
- Last post
by Brian Kramer
- Hello folks, I'm working my way through the book- Object Oriented Programming in c++ by lLafore and every example that needs to include the <iomanip> gives me this error-error c2059: syntax error : '(' it happens in every example using the <iomanip> header. When I click on the error in the output window it brings me to the <iomanip> header and to this line-
_MRTIMP
-
- Values from Table Adapter - How to read into a string array
by The Cube
- 6 Replies
- Last post
by Carl Daniel
- Hello All,
New to C++....
I have a table adapter that returns (selects) a row of MySql data based on unique ID selected. Using buttons the user can select records to list. How can I read these values into a string array to allow me to add one by one into an unbound datagrid. Of course I could bind it but that overides the previuos data with each selection.
Thanks in ad
-
- Converting HEX to String ?
by robben07160
- 3 Replies
- Last post
by robben07160
- Hi,
I have an hexadecimal value stored as an unsigned long (C++ .NET), I use the value to extract data from an XML file therefore the file contains hexadecimal values also.
I use SelectNodes to extract the necessary information and therefore I need to change the Hex value to a string. However, as I convert it to a String the value changes, and as the X
-
- How to get handle of extend desktop ?
by kevin.jztan
- 8 Replies
- Last post
by Mattias Sjogren
- I know that we can use API - GetDesktopWindow() to get primary desktop 's window handle.
But what about extend desktop in secondary monitor
Any suggestion
Thank you so much.
kevin.jztan
-
- Compiler error / strange behavior when combining inline assembly and templates (testcase included)
by WolfgangSt
- 2 Replies
- Last post
by WolfgangSt
- Hi i'm using VC Express 2005 with SP1 installed (not sure how this does without the SP)
Compiling this code is fine so far
Code Block
template < typename T> class AExtender {};
template < typename T> class A: public AExtender<T>
{
public :
static void a() { std::cout << "A<T>::a();" << std::endl;
-
- RAS Custom Scripting
by abilendur
- 1 Replies
- Last post
by Damien Watkins - MSFT
- Hello, I get error 8 (Not enough storage is available to process this command.) when calling RasDial as shown below. Has anybody got experience using Ras custom scripting, could not find any examples for Win Xp on the net. What could be wrong The dll I am calling RasDial is the same as customScripting dll, maybe that is the problem, but then the error message sucks. DWORD CALLBACK RasCustomScrip
-
- Is there a way to create a dll in C++ without a def file and have it work for a Visual Basic Host?
by georgeob
- 14 Replies
- Last post
by georgeob
- Is there a way to create a dll in C++ without a def file and have it work for a Visual Basic Host
-
- Structure Alignment/Packing issue
by Deeps_123
- 14 Replies
- Last post
by einaros
- I have developed a VC6 X application. In X application i am reading/ writing structures in the binary file. These files are used by Y application which is also developed in VC6. Untill now everything was working fine but as soon as i changed the order of struture members i have started getting junk values in Y application. I have changed the order in both the application but my X application is re
-
- Hotkey For Build Ouput Go To Next Message
by Adam&#33;
- 2 Replies
- Last post
by Adam!
- I know this should be simple, but I can't find the hotkey or how to assign a hotkey for "Go To Next Message" in the build output window. The scenario: I press Ctrl-Shift-B to build my solution, I have build errors, and I want to press a key to cycle through these and fix the errors without fixing the error and then going to my mouse and selecting the next one.
-
- dll hell ???
by BriTheProblem
- 14 Replies
- Last post
by calavera2nd
- Am unable to compile anything with Visual C++ Express. Installation carried out 'to the book', including using 'Install cleanup'.
First error message is "This project is out of date". Building the project , gives error code 1073741511, which I believe is 'file not found'.
Profiling with 'Dependency Walker'Yields the following:
Started "c:\program files\microsoft visual stu
-
- how to get access to Form components from .cpp?
by distas
- 6 Replies
- Last post
by TilakGopi
- Creating new project with standart Windows Form Application Wizard I got two files: .h and .cpp .
If I have my function realizations in .cpp file how can I access my ListBox component on Form to print out results
I tried to create pointer to Form1 instance, but got error:
'myForm' : cannot declare a global or static managed type object or a __gc pointer
, but I want to have access to all
-
- When using the BitBlt function with CAPTUREBLT it caused the mouse cursor to blink, how can i prevent that
by BobGuro
- 2 Replies
- Last post
by Brian Kramer
- When using the bitblt function to capture the desktop screenshot with
(CAPTUREBLT | SRCCOPY) it caused the mouse cursor to blink. This does not happen when using the SRCCOPY flag alone. The cursor blinks only when i add the CAPTUREBLT flag. Why
this happens and how can i use the BitBlt function with the CAPTUREBLT
flag without the mouse cursor to blink every time i call that function. Thanks. B
-
- How to excute VS2005 /CLR program at a computer WITHOUT .net framework2.0 ??
by megagale
- 6 Replies
- Last post
by Simple Samples
- I completed a program using "Windows Form Application". (That means I MUST use
/CLR), It works very well in my computer. But after move to my colleague's computer
which OS is XP and no .NET framework 2.0 in it, it cannot work and show " Application
Configuration Error....". I searched the website,there are totally Three major solutions.
One:
copy some "*
-
- How to use 32-bit library in 64-bit application.
by Squall
- 5 Replies
- Last post
by crescens2k
- When I try to use a 32-bit librariry provided by the thirdparty to build my own project in X-64 mode, some link errors occurred. The reason is that the functions¡¯ names exported by the 32-bit library are not the same with the names generated by Visual Studio 2005 64-bit compiler. Therefore, the interfaces in the third party's library invoked by my own project will be treated as unresolved external