Quantcast
Channel: CodeGuru Forums - Visual C++ Programming
Browsing all 3021 articles
Browse latest View live
↧

place an image in kinect color frame in vc++

Hi, I m trying to place an image on the colour frame of the Kinect live video. I m able to overlay the image using alpha blending mechanism. The image used is a bitmap image of dimension 128*128. The...

View Article


[RESOLVED] Linker Error

Hello all, i would appreciate it if anyone could enlighten me on a linker error. First off the error Code: Error        1        error LNK2019: unresolved external symbol "public: __thiscall...

View Article


Image may be NSFW.
Clik here to view.

who can solve this?

Attachment 30729 Attached Images  

View Article

how it solve?

input X and Y then write the program to compute Sin(X++) Cos(Y--);Sin(X+X),Cos(Y--)and write your conclusion for X=46 & Y=90

View Article

Multi threading issue joining threads

I have a windows form application that is using multiple threads to connect named pipes to multiple processes... I use and array of threads: Code: array<Thread^>^ serverThread; and start each...

View Article


Confused about the usage of Critical Section ..

I am using a thread in my application .. A DLL is written for In and Out instructions for hardware ICS and to read FIFO. My code is CCriticalSection crdll , crsec ; UINT ThreadReceiveData(LPVOID param)...

View Article

Prevent a DLL from being loaded/injected

If you're writing a .dll you can prevent that dll from getting loaded into some processes by returning false from the dllmain. I'm looking for a way to do it the other ay around. I have an exe, and I...

View Article

Issue not resolved

I have posted a question on usage of critical section. The issue id not resolved though there is resolved sign. I tried to remove that sign but failed. so pl guide me for that answer

View Article


Possibility of this application? (basic level coding skill and information)

First of all I apologize if this is in the wrong section. Not sure. If it is I will delete and restart in the corrected section. :) So I am trying to figure out if a desktop application is possible or...

View Article


Image may be NSFW.
Clik here to view.

A question regarding passing a variable from CView to CDocument

I am attaching a sample project. Basically what this project does is that I initialize a variable map<CString, bool*> m_mapTest in CView::OnInitialUpdate and then pass the variable to CDocument...

View Article

Redeclaration and definition problems

I'm having severe problems with my code. We are asked to take in the Vehicle name, tank size, and MPG. We are give the distance between the cities and are supposed to output the # of tankfuls required...

View Article

how to order records in ACCESS by MFC objects like CDaodatabase or...

table with primary key already set-down in ACCESS. when insert records into the table by Execute() function of cdaodatabase, to some extense, the records are not put behind the last record as wished,...

View Article

CRichEditCtrl::FormatRange result differ in VC++ 6.0 and 2010

Hello, Ich have ported my application from VC++ 6.0 to VC++ 2010. Now code that was working in VC++ 6.0 is not working anymore in VC++ 2010. In my case I am writing text to a CRTFEditCtrl and then want...

View Article


Shell (Namespace) Extension won't register, what am I doing wrong?

Hi, I have created a Namespace Extension (I hope so) by creating a ATL Project with MFC support as dll in Visual Studio 2010. Now I have a Implementation of IShellFolder: Code: // ILCShellFolder.h:...

View Article

Need help with exam (beginner level)

Hey guys, i'm kinda desperate.. because of illness I had to miss 2 months of uni, I was seriously sick and could not even leave house for that time, now it's an exam time and I have no idea how to...

View Article


Pthreads. Solve system by Gauss-Jordan method. Problem of Optim. -O3

Hi! I need in help! I have a problem: solve the system of equations by the Gauss-Jordan methods with pthreads. I have a big matrix A (for example 2000x2000), so i must solve Ax = b. Before I devide...

View Article

Compiler error with cout object

Hello, I am asp.net C# developer. I decided to tackle C++, so I started today. This is probably something simple I am sure but I cannot figure out what the problem is. I would appreciate if someone...

View Article


postmessage

I am very new to MFC DLL. class CMyMFCDllApp : public CWinApp { //.. }; .cpp file: __declspec(dllexport) int __stdcall Func() { ComputeCalc(); return 0; } void CallFunc() { //I like to call Func using...

View Article

CStatic control ID

I'm using CStatic inherited class in my code and creating static text boxes dynamically. Now for assigning unique control ID I'm creating a static control from resource editor and destroying it before...

View Article

access member function

In my MFC, CMyPorpertyPageDlg is derived from CPropertyPage. How to access its member function from a nonmember function in the same CPP file?. void Non_Member_Get_PorpertyPage() { CMyPorpertyPageDlg*...

View Article
Browsing all 3021 articles
Browse latest View live