Answer Questions
Prathap161785 Problem with timeSetEvent() for over 16 concurrent timers
Hello, After using 16 concurrent accurate multimedia timers with the timeSetEvent() API, the 17th call fails! It seems that its impossible to launch over 16 concurrent timers (I'm using VC6 on WinXP/2003). Please help! AFAIK the maximum number of multimedia timer are limited to 16. But I didn't found a note or link for that. AFAIK this limitation is per Thread. What does GetLastError say Thanks. Its not ...Show All
jbacigal ofstream in a multithreading environment
I am using VC 6 for this project. I have a DLL that is called from multiple threads. I am creating output from the DLL using ofstream. Everything works except I am getting output intermingled with other output, obviously due to the multiple threads. I realize that this is more of a Windows programming issue, but if there is anything that the compiler/language can do to help, then I am interested in doing things in a relatively standard way ...Show All
delanean Connect/use databases, using the lowest level API possible?
I would like to know what is the most basic (I don't mean easy; I don't wish to use .net) way to connect and use an SQL (and/or Oracle...) database using C/C++, can anyone point me in a direction please I simply cannot find any sort of API on the internet! Don't database providers other than mySQL want people programming apps that access them Thanks in advance!! http://msdn.microsoft.com/library/en- ...Show All
itsacrisis Please help me about VC++.NET on Linux
I need help on using VC++.NET for developing applications for Linux. The application i want to work with is a security (biometric) application which involve an authentication system using a biometric mouse. The mouse is attached at USB port.If any one can help me on this..... The choice of dev tool is orthagonal to the kind of things you want your application to do. C++ is portable across C++ compilers, object ...Show All
AvalonCoder I am use visual c++ about 3 years. I found MFC is hard to learn. I want to return to pure c++. Is anybody likes as me?
I am use visual c++ about 3 years. I found MFC is hard to learn. I want to return to pure c++. Is anybody likes as me for console apps, i can see your point, but for wrapping the windows api, MFC all the way! I don't thing so! In my opinon you must study C++ first!!! This is a thought's problem!!!!! Yeah~ I have about the same programming experience as you. Three years, started with Javascript, Moved to vb, then to .net ...Show All
Daya Anand Halting Keypresses?
Hi all, I am writing a program that is supposed to lock a user from the common key presses, i.e. Alt + F4, Crtl+Alt+Del, etc. I know I have to have case WM_KEYDOWN: switch(wParam) { //The Keypresses } break; My problem is that I do not know how to halt the keys from doing anything. I am certain that VK_F4 is for the F4 ...Show All
M. Ueberall printing
hi all i had made drawing on the dialog and then save these drawings as the bmp file and loaded them. now i want myapplication should print these drawings or the bitmaps loaded on the dialog. how to do that or anyother method of printing. i m using the visual studio.net 2003 and my application is MFC based application. Use BitBlt or StretchDIBits! Refer to the hundreds of code samples in www.codeproject.com there are enough sam ...Show All
GTO Char to char
How can I convert a Char array to char array I am using windows form .net. No: In the .NET world Char is equivalent to wchar_t in C++. Here's one possible way to convert a .NET array Char to a C++ array of char. #include <windows.h> #include <stdio.h> using namespace System; int main() { array <Char>^ myData = { L 'H' , L 'e' , L 'l' , L 'l' , L 'o' , L ' ' , L 'W' , L 'o' , L ' ...Show All
DrJazz Problem migrating from VS .Net to VS 2005, release build only
We have reciently moved from VS .Net to 2005 and seem to have hit a snag with one of our programs. We have 3 programs that all ran perfectly (well, usually) under both debug and release builds using .net, using the default build options, or at least very very close. When we moved to 2005, after fixing all of the typical migration errors/warnings and getting a clean build with all 3 programs under debug and release we found that one of the progra ...Show All
Andrea C exe talking to web pages
hi all want my VC++ application to post data to asp page, how to do that any class or any help. is it possible or not. or i want my application to talk to asp web page. One of the easiest methods would be to use the WebRequest class to post the data you want to the page. Take a look at this tutorial (unfortunately only in VB and C#) on how to post data with it. I’m not much of an MFC person however another option would be to thr ...Show All
crazyreportwriter New to Windows Programming
I have an old C program (written under UNIX) and I need to convert it into a Windows program with a GUI. The program only does some calculations and saves the output to a file. I have V. Studio 2005 and I'm confused!! I don't know which type of project I need and if I need to use C++ (which I don't know too much about). Can someone please give me some guidance Sphinx06 time same win32 api better more inf ...Show All
GennadyR IOStream Bug on Visual Studio 2005 when open Chinese style file name's text file???
Compiler tools: Visual C++ 2005 express edition os platform: windows xp professional with sp2 Reproduce step: 1.new an "Win32 Console Application" 2.paste the following code in "_tmain" function: ifstream InFile; InFile.open(" .txt", ios_base::in); if (!InFile.is_open()) { cout << "Can't Not open [" << " .txt" << "] File." << endl; } else { ...Show All
James_AeroAvi .NET Framework availability on Windows 2000
Hello, I am planning to develop a simple application using the .Net framework with C++. My concern is that the app shall run on Windows 2000 and XP. I assume it would already run on XP. But how can I make sure that it also runs on Windows 2000 Is it possible to statically link to .Net or distribute the DLLs Thanks, Devrim You can include the .NET redistributable (dotnetfx.exe) in your installer. No ...Show All
ug751 How to delete a member function in VS2005 like in VC6?
In VC6, I can delete a member function by selecting the member function and select delete from pop-up menu, after that, both the declaration & definition are deleted in .h & .cpp file. I like this function very much because it's very convenient. But now in VS2005, where is that function Hi Xei Fu, This functionality is no longer available in any version post 6.0. Feedback from customers in 6.0 was that the functionalit ...Show All
Xiongxiong2007 resolving link error
I'm using visual studio .net 2005 prof., I trying to call Matlap R2006 from MFC app., I get these errors : 1- error LNK2019: unresolved external symbol _engOpen referenced in function "public: int __thiscall CFlow::StartSimulation(void)" ( StartSimulation@CFlow@@QAEHXZ) Flow.obj 2- fatal error LNK1120: 1 unresolved externals . and i have added the neseccery header files "engine.h" in the flow class header file. - the code that returns this er ...Show All
