-
- Error while running exe files created in VC8
by Angshuman Chatterjee
- 14 Replies
- Last post
by ashishbhatt12
- I have a proejct with several dll-s and an exe which I have migrated to VC8. I get the floowing message if I try to run the exe:
This application has failed to start becaue the application confuiguration is incorrect. Reinstalling the application may fix the problem.
Similarly I get the following message if I try to register the dll-:
LoadLibrary(<library.dll>) failed - This app
-
- Build information etc - is SP1 installed
by bgg30
- 1 Replies
- Last post
by Jonathan Caves - MSFT
- I had an earlier posting and this is an addition to it. The following information is included in the "about visual C++ 2005 express edition" under the help drop down menu.
Version 8.0.50727.762 (SP.050727-7600)
Installed product 76542-000-0000011-00125
There is no indication that SP1 has been installed (no reference to a KB number). Can someone tell me, from the information abov
-
- Unicode to codepage
by conexion2000
- 4 Replies
- Last post
by conexion2000
- Hi! I have std: tring that I know it contains text encoded with UTF-8. But I need it to be converted to the codepage of the whole system. Actually this string contains process name for CreateProcess, so it needs to have proper diacritics characters. I was considering to use WideCharToMultiByte or MultiByteToWideChar(), but I don't know how to use them in this situation (exact code would be much ap
-
- Compile C++ code To .Bin File
by Student_I
- 14 Replies
- Last post
by Simple Samples
- Hi. can I compile C++ code with VC++ or VC.Net to a BIN file How thanks.
-
- This application has failed to start because the application configuration is incorrect
by Lord Raoul
- 14 Replies
- Last post
by sephiroth2m
- Hi, I am just starting programming using Visual C++ 2005 Express Edition. I have had some limited practice in other languages and older versions of C++, so I have some idea whats going on but not much... Anyway I made a short program which perfroms a bubble sort on an array of numbers which the user enters (I know its nothing to write home about but its a start), it works fine on my PC and when I
-
- Not serializing two dimensional array correctly;
by Steve Jackson
- 2 Replies
- Last post
by Steve Jackson
- Hey all;
I am making a dos based othello game (class project). The details are not all that important, but the following classes are important for the question:
some classes:
class piece() -> Piece has a color (integer). It can be white,black, or empty.
class Board() -> Holds all of the data for game play, player names, scores, but most importantly - it has a Grid data member tha
-
- Not recognizing classs and namespaces
by Section Z
- 3 Replies
- Last post
by Section Z
- Hi, No matter what I do sometimes in my code the classes or the namespaces are not being recognized by other classes namespaces. It's so frustrating. Sometime they work and other times not. Could it be because I am using global type functions in some places and some not Maybe a compiler setting Also, how do I get Intellisense to act more quickly after changing stuff around I just think I need a r
-
- Add Delay in between 2 Process
by bxchan
- 3 Replies
- Last post
by Viorel.
- How we can Add Delay in between 2 process. if i would like to do something like below
do something
wait 5seconds (Have Some Delay here)
do something
i using System::Threading::Thread::Sleep(5000) to add delay but found the application( Windows Form) was freeze during delay, does it have other method to add delay
Very appreciate if some one ca
-
- How to Set Printer Name/Paper Size CPrintDialog
by Prakash Joshi
- 1 Replies
- Last post
by Prakash Joshi
- Hi All, Hi would like to set some other available printer, which i would like to show to user when i do DoModal(). Following is a code how i have tried to do so. Please let me know your views. Thanks to all in advance for investing time in this query. CPrintDialog pd(TRUE); if(theApp.GetPrinterDeviceDefaults(&pd.m_pd)) { LPDEVMODE dev = (DEVMODE FAR *)::GlobalLock(pd.m_pd.hDevMode);
-
- Hotkeys for labels
by Hi,
- 0 Replies
- Last post
by Hi,
- Hi all,
I have only labels on my dialog. it has BN_CLICK events too. it has a hot key. so by clicking that hot key how can i invoke BN_CLICK of respective label
-
- Error while running exe files created in VC8
by Angshuman Chatterjee
- 14 Replies
- Last post
by ashishbhatt12
- I have a proejct with several dll-s and an exe which I have migrated to VC8. I get the floowing message if I try to run the exe:
This application has failed to start becaue the application confuiguration is incorrect. Reinstalling the application may fix the problem.
Similarly I get the following message if I try to register the dll-:
LoadLibrary(<library.dll>) failed - This app
-
- MFC windows explorer style application / treeview / ImageList / LoadBitmap
by Sternoceral
- 4 Replies
- Last post
by petergeoghegan
- I'm using VS 2005 & MFC to create an explorer-style application.
I'm using a treeview for navigation, in the left splitter window.
I want a windows explorer style icon next to each of the treeview's nodes, that is indicative of the nature of that node, by means of an imagelist.
I've followed this tutorial:
http://www.codeguru.com/cpp/controls/imagelist/article.php/c5501/ ("Cod
-
- How to display char to a label?
by Kamwing
- 12 Replies
- Last post
by Kamwing
- The following is my code const unsigned char *pa; const unsigned char *pb; unsigned char pc; pa = ascBitmap8x15('l'); pc = *(pa+4); label3->set_Text("String Type"); I would like to ask how can I display the unsigned char pc to the label3 using the method set_Text
-
- error :LNK2019
by Meg
- 1 Replies
- Last post
by Marius Bancila
- error LNK2019: unresolved external symbol "int __cdecl gOpenFile(char *)" ( gOpenFile@@YAHPAD@Z ) referenced in function "private: bool __thiscall CVDOLanguageProvider::UseLanguageFile(char const *)" ( UseLanguageFile@CVDOLanguageProvider@@AAE_NPBD@Z ) fatal error LNK1120: 1 unresolved externals
These are the errors i am recieving when i compile my vc++.net code.
-
- Cannot find "COREDLL.DLL", why?
by tzkm
- 14 Replies
- Last post
by Holger Grund
- Hi,
I got an error as denoted in subject. Is there anyone help me resolve the problem Thanks.
Here is my environment:
===========================
OS: windows 2003 standard sp2
IDE: VS 2005 profectional
APP: windows MFC
===========================
-
- Help Required : [Error LNK2019] ???
by Lalit Arora
- 1 Replies
- Last post
by Marius Bancila
- Hi All, I am encountering [Error LNK2019: VoiceRecorder_Create ] while compiling following code snnipet for a smartphone application. Reason==> voicectl.lib is not available in CMD line Though I am Including relevant header file(voicectl.h) and lib is available at correct path too, Can somebody explain me that why it is not available in build cmd (Will be very thankful) #include "
-
- Memory leak
by hanumanth
- 1 Replies
- Last post
by Marius Bancila
- Hi all,
I am Rational purify to launch my Application . At last purify is reporting Memory leaks in allocate.cpp. The stack trace is below. MLK: Memory leak of 8192 bytes from 1 block allocated in CAtlAllocator ...
MLK: Memory leak of 8192 bytes from 1 block allocated in CAtlAllocator::AddCategory(int,WORD const*) [UIIlmD.dll] Distribution of leaked blocks Allocation location
-
- Creating Menus
by Saurabh Agrawal
- 3 Replies
- Last post
by Bite Qiu - MSFT
- I have VS 2005 and I'm reading a tutorial on creating menus. After designing the menus, I need to add functionality by following these steps: 1. Open the Menu Designer to your menu. 2. Open the Class Wizard from the View menu. 3. The Adding a Class dialog is displayed ... Leave the dialog selection on Select an Existing Class and click OK Since there is no Class Wizard in VS2005, I tried right-cli
-
- XmlLite
by Asif110
- 4 Replies
- Last post
by Asif110
- I have downloaded the setup of XmlLite, I was supposed to have a install folder with a xmllite.lib file but there is none, all I can find is dll file in system32. I tried to use it using #import but it gave errors. I have searched the whole computer for the lib file but its no where. I realy want to use XmlLite instead of MSXML since my application is already very heavy. I'll appreciate any help.
-
- ofstream don't produce out put (C++)
by djpupeikis
- 14 Replies
- Last post
by djpupeikis
- Hi
I have a problem. I'll try to explain it.
When i used:
ofstream outFile;
outFile.open("file.txt", ios::app);
Every thing whas ok, but when I started to use user defined by GetOpenFileName dialog box it dont producing any error and no produce out put to what file.
ofstream outFile;
outFile.open(failas, ios::app);
Global value:
TCHAR failas[MAX_PATH];
Is de
-
- Resource Editor Add/Remove impossible code read only
by R. de Vreede
- 1 Replies
- Last post
by Bite Qiu - MSFT
- In
http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx FeedbackID=99076
it is claimed that this bug is repaired is SP1. It isn't, I still get
this bug in some modules of my project and not in others.
I for instance have defined two private classes based on CButton and in one it gives the error and in the other not. The whole project is imported from VC6. So what's goin
-
- Is this C++ Program correct?? will it work?? will it give me an answer from arabic numerals to roman numerals and vice versa
by gloria_a_arango
- 11 Replies
- Last post
by Pintu Shukla
- #include <iostream.h> #include <string.h> #include <ctype.h>
static int roman_digit_value(int ch); static int roman_digit_value(int ch) { switch (ch) { case 'M': return (1000); case 'C': return (100); case 'L': return (50); case 'X': return (10); case 'V': return (5); case 'I': return (1); default: return (0); } }
static int is_roman_digit(int ch); static int
-
- Location X and Y properties values etc...
by Philip Borchert
- 5 Replies
- Last post
by nswrambo
- I've been trying to write a user control that would basically be 3 buttons. And one of the custom properties would be to be allowed to choose the size for the three buttons. I wanted to handle the locations on the button after the size was changed to avoid the buttons from over lapping. While I knew my X would be fixed, I just felt I could change the Y value. Something like the following:
-
- 'std' : does not exist or is not a namespace
by Geo Babu
- 10 Replies
- Last post
by Geo Babu
- hi, i am writing a program containing serial port communication , for a customized hand held device, with the help of embedded VC++ 3.0. while compiling the module for the serial port , i am getting the following errors. error C2871: 'std' : does not exist or is not a namespace error C2065: 'cout' : undeclared identifier error C2297: '<<' : illegal, right operand has type 'unsigned short [2
-
- msvc80 runtime library error on "strftime"
by yiting2002
- 3 Replies
- Last post
by yiting2002
- i write a sample test program for tesing "strftime" and "wcsftime". i use VC6 to run follow program, there is no error occurred. but when use VC 2005, seems any wrong format string would make program crash, i always got error report on msvcr80.dll module. how i could avoid this problem
Code Snippet
#include <stdio.h> #include <time.h> int main() { cha