Answer Questions
Ian Wallace Help Finding a Setting
In VC++ 6.0 you could add a dll's lib file by going to project/settings/link and add the DLL's LIB file to the Object/library modules field. How do you accomplish this in MS Visual Studio 2005 Thanks Rick. I'm not sure if I should start a new thread, but here's what I'm trying to do: I have a third party dll, library and an example Visual Studio MFC project that was sent to me. The project compiles and the executable wo ...Show All
Price Brattin looking for catopen, catgets, catclose
Hi, If anyone can point me towards catopen / catgets / catclose for WIN32 (I'm using Visual Studio 2005 Express Edition for C++), I'd appreciate it! thanks, Stan sieler@allegro.com http://www.microsoft.com/technet/interopmigration/unix/sfu/sfuport.mspx I think this is what you need. Hi, Thanks...looks interesting. I'll have to research if it is (a) redistributable in ...Show All
Crise Error LNK2022: metadata operation failed
Hi All, I have a win32 console application written in VS.2003. I have used /zp1 (Strucutre Member Alignment) and using managed extensions ( /clr ) in project settings. Now, i wanted to build the same application using VS 2005. When i did, i am getting the following error. Error 1 error LNK2022: metadata operation failed (8013118D) : Inconsistent layout information in duplicated types (tagTEXTMETRICA): (0x02000039). MSVCMRTD.lib. Note ...Show All
dbottjer Need help with a program...
Hey everybody. I've written this program and cannot figure out why it won't work. Here are my requirements... A teacher wants a program which will test students’ memory of the values of small integers squared. She asks for a program which prompts the students for an integer. It then asks them for that number’s square. If their answer is correct they are congratulated if it is incorrect the correct value is given. Because she wants t ...Show All
Matt1980 Microsoft Visual C++ Runtime Library error question
I recieve this error when I launch Internet Explorer - version 6.0 OS Windows XP Home edition 2002 Service Pack 2. Error is as follows: Microsoft Visual C++ Runtime Library Runtime Error! Program C:\Program Files\Internet explorer\iexplore.exe This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. I am not certain where to post this questi ...Show All
EvilMonkeySlayer Slow link time
I am using VC++ 2003. My link time in debug configuration, for a simple console test program with less than 600 total lines of code, is more than two minutes. This is quite annoying in the context of a continuous build-test-debug cycle. This is on a dual-processor 2.8 GHz Xeon with 2 GB of memory, so I don't think hardware is an issue. The /TIME option gives the following result: Pass 1: Interval #1, time = 11.313s Pass 2: I ...Show All
CAPTGNVR Sending Packets to a target program while doing something.
Hi BladeMaster! Hello, I've been wondering, lately I've been working on a program that sends keys to the active window but now I've come to the decision that I want to do other things while the application I built sends the packets to the window. Is there a way to send packets to a chosen application while doing something else in the meantime in VC++ Please help. You can start an other thread. Win32-API: Creat ...Show All
Stephen_Weber To increase memory size for my program
I am a student currently working on large datasets. I am reading data records from a text file and storing them in arrays. I am unable to store more than 450 records. I am working on visual c++ win32 console application. If I increase the size of array its giving me an error ' stack overflow' . I tried even by changing stack size & heap size to MAX value : 2147483647 in the projects properties - ...Show All
regisphilbin need help in string in MFC
I'm starting to learn MFC with visual studio 2005. I've got a little problem. I posted this on CodeGuru but the answers are not satisfiable. I'm also not using ATL. I specified " not using ATL" and "use MFC in a shared DLL" in the project properties. In a dialog button OK, I added an event handler like this: void CHelloDialogDlg::OnBnClickedOk() { // TODO: Add your control notification handler code here AfxMessa ...Show All
SpitfireX "Waiting for an internal operation... please contact Microsoft"
I am using Visual Studio 2005, C++. When I'm debugging, very often VS hangs and sometimes it pops up with the balloon text saying that it is "waiting for an internal operation to finish". If it occours regularily, I should contact Microsoft. Who should I contact And with what informations I can't say what is causing the delay. I am very tired of waiting for VS to finish its internal operations. Kind regards, Chau ...Show All
itskarthik1983 Strange compiler error (C2664)
void f1(const int a[2][5][3]) { } void f2() { int b[2][5][3]; f1(b); } Causes the following error in VS6: C:\Roman\Projects\simulator\tmp\src1.cpp(6) : error C2664: 'f1' : cannot convert parameter 1 from 'int [2][5][3]' to 'const int [][5][3]' Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast I note also that with only 2 or 1 dimension ...Show All
shaggydiggs differences in symbols between 2003 and 2005 msvcrt.libs
Why doesn't the new msvcrt.lib contain all the methods that the past msvcrt.lib has, in specific the __iob function I have always used the multithreaded dll in past projects and versions because Microsoft has always recommended it. Now I have older libraries that were built according to their advice using the msvcrt.lib and that rely on the presense of the __iob function and the function is not in the new msvcrt.lib. I don't know how to proceed ...Show All
Cunk Dependency Not Building
I have a solution with a number of projects, VS2005. One of the projects is dependent on another for the library it produces. Even though I have attempted to set the dependency for the primary project through Project Dependencies in the Solution Explorer it is not being set, or so it appears. In the Output box the build process starts off by skipping the dependency with the following message: "Project not selected to build for ...Show All
Ross William Nelson How to read a binary file?
Hi! I'm just a beginner in C++, though i had tried to learn and do some examples from books,i find it was hard to manage my project. I was trying to open a binary file but i failed. As i had mentioned, i searched through a few books but all i got was just a line of command. I'm not sure how it is supposed to work...... like after i open the binary file, should i represent the binary value with something if not, how to process the values then ...Show All
Cine Convert double to char
Hi, Can someone please explain to me how I convert a double variable to char, and then even how I convert it back to double from char Thanks! Can't be done. You can't possibly represent a double in just one char . Or did you mean how to convert double to a character string ( char *), which can be done Are you allowed to use the .NET Framework for this 'Looks like your edit control DDX vari ...Show All
