FYI: This code is being developed in MS Visual C++ 6.0.
I use the function with a void argument and void return. According to MSDN the function uses __cdecl calling convention and should have no...
Type: Posts; User: matth
FYI: This code is being developed in MS Visual C++ 6.0.
I use the function with a void argument and void return. According to MSDN the function uses __cdecl calling convention and should have no...
I have spent a few days on this already...
I am using _beginthread and _endthread, but I cannot correctly set the priority.
!!!Does someone have a simple example of how to use...
I am using DirectX 9 and trying to synchronize events by using
HRESULT WaitForVerticalBlank(
DWORD dwFlags,
HANDLE hEvent
);
How can I create a Handle for the event that should be...
Hi,
In a separate thread my program brings up a second window where it displays a rectangle then destroys the window.
CFrameWnd *pSecondWin = new CFrameWnd;
pSecondWin->Create(NULL,...
I am trying to create a window from a thread. I currently am working in a Single Document Interface MFC program and would like to call CWnd::Create. I see that many parameters are needed, most of...
I have a class with public functions & member variables. Within one of its function definitions I am calling _beginthread to do a longer function. That longer functions is of that class from which...
Hello,
I am using MS VC++ 6.0. I get errors that I don't understand. Each file compiles with 0 errors but when I go to Rebuild All I get this
LINK : warning LNK4098: defaultlib "MSVCRT"...
I don't have the code in front of me & I'm using a SDK. I will try to reproduce the code from memory. I need to know the best way release memory back from when I create new objects from calling...
I am compiling code from someone else which was done on MSVC++ but I get, for example,
error LNK2001: unresolved external symbol _get_app_size
However the "get_app_size" is in the code. I...
My code is simple. This file is being added to a MSVC++ 6.0 program once I get past this error. Below you'll see the header and source file.
#ifndef READCONFIGFILEH
#define READCONFIGFILEH...
I am using Microsoft Visual C++ 6.0 with the Intel C++ compilier 5.0. I was asked by a SDK support person which Standard Template Library I was using. How can I determin which Standard Template...
I am writting a firewire video processing program and on each frame, I create a new structure with
struct PP *State = new PP
then I fill the struct as needed. After that, I laod it,...
Thanks for the reply. In the code for the thread, I set bThreadFunctCalled = true. If the thread was not called, then bThreadFunctCalled = false. I look in an output file that writes out variables...
When I use _beginthread(), it doesn't run the thread everytime. Is there a way to be sure the call to another thread will run?
Thanks,
Matt
:confused:
...
else if((!bRewarded) &&...
I define an array of a structs. This function runs as its own thread to process firewire video frames; ring buffer: thread per frame. In the function, I fill the array with frame information. This...
I am able to read everything into TimeStamp as a 0-255 value but I am unsure how to get the __int64 TimeStamp value from the char pointer.
unsigned char *get_data(CString file_name, int*...
I am writing a program that opens a file and reads the data. But since the data information is organized in strange way, I don't know the best way to put this data into a vector.
The data is...
I have a C++ program, which is a single document MFC application. In the most upper-left corner, there is an icon and a title for the window. How can this be change to somthing I design myself? I...
I am developing an application using MSVC++ that is getting somewhat large. I make a new source and header file for each task I need to carry out. I don't know where to include all the header...
Using MS Visual Studio C++
I am using a function that I wrote which will create a string. The string will have the date & time which is preceeded by a letter that is a function arg to identify...