Answer Questions
Duque Vieira Help please
I have a project in which QuickTime 2.0 (QTW.h) library was used and compiled ok in Visual Studio 6.0 (C++ project). I replace QuickTime 2.0 with QuickTime 4.0 (Movies.h, QTML.h). After compile the project, I got the linking error as follow: Linking... LIBCMT.lib(tolower.obj) : error LNK2005: __tolower already defined in LIBCD.lib(tolower.obj) LIBCMT.lib(tolower.obj) : error LNK2005: _tolower already defined in LIBCD.lib(tolower.obj) LIBCMT.lib( ...Show All
Friendlycoder Runtime error: Unhandled exception at 0x004cd752 in quikcomp.exe: 0xC0000005: Access violation reading location 0xffffffff
Hi all, I am experiencing a runtime error that I am having trouble solving. I am extending a current application to include SSE intrinsics. During runtime, I receive the following error: Unhandled exception at 0x004cd752 in quikcomp.exe: 0xC0000005: Access violation reading location 0xffffffff Here is a code snippet: __m128 *mPre = NULL; __m128 *mDst = NULL; __m128 *mPost = NULL; curK = kHalf; do { ...Show All
Taikonaut public global functions
Hi dammy! How do I specify that a global function has public visibility Right now visibility is always assembly. What is a global function If the function should be used in other .NET-Languages, you need to declare this function inside a class: namespace MyNamespace { public ref class MyClass { public: void static MyGlobalFunction() & ...Show All
Jeff Stephens 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
Dazzl how can I have more than 15 multimedia timer
Recently I am writing a program that using more than 15 times,but when i test it,i found only 15 times works.How can I have more than 15 multimedia times.PS I use the API function timeSetEvent! Sorry,I didn't make it clear! I write a program in VC6.0 which uses more than 16 timers,these timers are created by timeSetEvent() API func.In each timeSetEvent callback function,It prints a message to show it is working.I find that only 16 times ...Show All
talk2Sushant Property Sheets - A problem
Compiler: Visual Studio.NET 2002 Hi everyone, I am having trouble teaching myself Property Sheets. I thought I grasped the ideas but I get a 'First-chance exception' in the Output window when debugging. I do not think I am doing anything special, my code is: CPropertySheet propsheet(_T("Property Sheet")); MyPage pageFirst; // derived from CPropertyPage MyPage2 pageSecond; // derived from CPropertyPage propsheet.AddPage(& ...Show All
ErnieJ Gettin started with Visual C++
hi, i have one question: When i want to make a Visual C++ project in Visual Studio 2005 is it enough only to open new project and for Name and Solution tabs write Win32 because i cant' find this template normally in "Businnes Intelligence Projects" nor "Visual Studio Projects" , or if there's an other way to start please tell me. thanx ;) Thanx i understood that part, but that's not my problem. I installed SQL Se ...Show All
Nicolas S. Nielsen VS 2005 Having problems after installation...Kernel.h with MFC
I ordered VS 2005 Pro 180-Day Trial and I just started to try my old code peaces withit..I was having an error...then I decided to make a new project and wanted to walk like step by step...I tried to create various versions of MFC applications but I am still gettin the same error message... Output is like this -------------------------------- 1>Compiling... 1>stdafx.cpp 1>d:\program files\microsoft visual studio 8\vc\incl ...Show All
orbit Redistributing Visual C++ 2005 Profession (final) MFC and CRT
Hi, Just to let you know some findings about the problems you may encounter. To cut it short, there is something wrong with the manifests for CRT 8.0 and MFC 8.0 from the Visual C++ Redist folder. I would advise not to use them, and taking them from the WinSXS folder of Windows XP instead. I needed to redistribute MFC 8.0 and CRT 8.0 with an application (what an early adopter I am). I did not want to build the .msi deployment package using ...Show All
Santi06 Passing an array of structs
Hi all, I'm sure this is quite a simple one, but as a beginner i just can't work it out. Any help would be much appreciated. I have a main form Form1, which includes classes in headers called staticData.h and dynamicData.h Within staticData.h, i have a struct called city: struct city { public : int cityID; char cityName[22]; char countryID[2]; char countryName[20]; double lng, lat; int annualDemand; int populationrank; ...Show All
Paula D fulscreen console application
Hi people! I have one problem, actually two problems. I am young with programming and I want to know- how can I run my console application in fulscreen mode I use c++. Can you help me This Windows API function should do want you want. I want to have only black screen with white text, that's all. i looked in google, but i did't find anything about that. maybe i am bad explorer, but i can't find some ...Show All
Prostetnic Beta 2005 Visual C++
I tried writing a win32 console program which would take command line inputs. When I try to display the command line values of argv I only see the frist letter. The line that I try to display the value is: printf("Program name: %s\n",argv[0]); the output is 't'. I am not sure what is wrong, this is a program that I have tested with 'C' and visual C++ 6.0 and it works fine. Thanks so much for posting this reply ... it solved a p ...Show All
DannyArcher Keyboard bug
I am unable to use the enter, backspace, delete, up, down, left, and right keys in .cpp and .h files. This is fixed if I close the file, then re-open it. However, if I siwtch focus to a different file, then go back, I will once again be unable to use those keys, and will have to close the file and re-open it again. Does anyone know if there is a patch to fix this, and if not, I guess this should be added to ...Show All
Jens St .Net 2003 compile problem (New to 2003)
Hello, Im new to the 2003 .net environment and managed code, etc. so please help.. I'm trying to expose a com component. I've got a manged dll and now i need to wrap it in a com component. This is my code: from the header: [id(1), helpstring("method getTrendLog")] HRESULT getTrendLog([in] BSTR trendTag, [in] DATE startDate, [in] DATE endDate, [out,retval] OLE_HANDLE* ResultSet); from the source: STDMETHODIMP CRepor ...Show All
Ben Gracewood Can I redistribute a program created with VCExpress?
Hi! I'd have another question: can I redistribute a program created with Visual C++ Express And if I can, which files must I include in my program Thank you very much! You can distribute programs you create with VCExpress beta but you can't redistribute the .net 2.0 runtime until it is out of beta later in the year. http://lab.msdn.microsoft.com/express/faq/default.aspx &n ...Show All
