Windows Programming - August 2014 (Page 4)

Object reference not set to an instance of an object[error]
 
Hello. I'm trying to make a simple 3D scene with OBJ objects loaded I'm making a collision box to the FPS camera. What I did was make an array class and then l...
[no replies]
Windows 32 GUI Right click calling functions
 
I plan on making a Spanish Study/quizzes windows 32 app and I would like to use the menu items but don't know how to i would like to use right click to call a f...
[1 reply] : I normally use this function to show context menus: http://msdn.micro... (by knn9)
by xoxos
determine buffer of MM_WIM_DATA with lParam?
 
i read that the lParam of a MM_WIM_DATA message is the address of the header for the buffer reported as filled. can someone *please* illustrate a method of...
[1 reply] : lParam is a pointer to a WAVEHDR structure. The buffer itself is conta... (by modoran)
Constructor and destructor problem
 
This is how it is put in my book "Now add an assiocated destructor prototype ~Dog(); After that add the class declarions etc but it just doesn't compile and...
[4 replies] Last: Thank you :) (by NewCComer)
by MSH
FLTK: Fl_Tabs: Accessing widgets from multiple tabs in one callback function
 
Hello, how can the callback from a button in one tab group access the values of widgets in other tab groups in addition to its own? In other words, I want to be...
[1 reply] : Found it. The FLTK conventions do not work as conveniently as I would... (by MSH)
Working with the Registry
 
Hello, I have been trying to write a simple program that will read and edit the registry. It seems to open the keys fine, but then when it goes to write, noth...
[11 replies] Last: my account has full permission to access that registry key, and I run ... (by Zalerinian)
by tec23
Help with opening file
 
I have created a text editor. When somebody right clicks a text file and selects open with from the context menu and they select my program, how do I get the na...
[4 replies] Last: Yes. This is their purpose, simulating argc/argv you seen in console a... (by modoran)
by xoxos
soundcard input
 
finding very few sources dealing with apps with audio input and output happening simultaneously.. conceptually i'd have thought there was some link, it's taken ...
[2 replies] Last: if anyone would like to help, the source/exe is here - http://xoxos.ne... (by xoxos)
CreateWindowA() Not Functioning Properly
 
Hello Again, I have this code here: int gwtcb1=0; int gwtcb2=0; char* nacctmsg=new char ; char* nacctmsg2=new char ; std::string...
[3 replies] Last: Thanks! The Static_SetText() sent me on the right path towards SetWin... (by Homberto)
Program taking a lot of cpu usage & other problems
 
Okay so I've been working on this directx 11 application and have came across two problems. The most important one being, this application takes a heavy usage o...
[3 replies] Last: the problem is still in your message loop. Since peekMessage is non-bl... (by tath)
pls I seriously need Help, MessageBox()Hook fails.
 
Good day, I tried to do some API hook today for MessageBox(), I attempted something like this it compiles, but it doesn’t send out the messageBox, to display...
[12 replies] Last: You can inject this into pretty much any process if you have the corre... (by closed account 13bSLyTq)
by zdzero
Understanding inline API hooking
 
I managed to make an API Hooking DLL that takes advantage of the hop patching feature. Now I want to do inline API Hooking. I looked a bit there, a bit here, di...
[15 replies] Last: Hi, You can learn about IPC using CodeProject: http://www.codeproject... (by closed account 13bSLyTq)
send and recv in winsock2
 
so im just getting into network programming and im trying to make a chat server and client so i can send and receive messages. I have written both a chat and a ...
[3 replies] Last: [quote=josepho16]But the message that comes through on the server side... (by coder777)
by Fecht
Problem with gsl_eigen on MinGW32
 
Hello, I am using GSL 1.16 with the latest MinGW version and it seems to me that the functions in the gsl_eigen folder don't work. In my C program I use func...
[no replies]
by xoxos
window won't move
 
i apologise in advance for what some may call a vague and unqualified enquiry. i've been coding with windows as a platform for dsp for some time, i minimise my ...
[1 reply] : never mind, rebuilt it... five hours.. (by xoxos)
Can you make a window scrollable only via the scroll bar?
 
So I'm working on this project in which I need to use synchronized lists. I've seen a lot of complicated ways to do this, but I'm still a bit new at windows pro...
[5 replies] Last: Thanks for the responses :).. my problem isn't really with the keyboar... (by sebihp2007)
oldschool c++ programmer back in business, need update
 
Id like to create a mspaint like program with image restoration features, and need to create a windows application for loading/viewing/altering/saving images, b...
[4 replies] Last: I use Orwell Dev-C++. http://sourceforge.net/projects/orwelldevcpp/ (by Homberto)
by furfag
C CodeBlocks resource files
 
I have program written in C with CodeBlocks that uses some files like bitmaps and html files and I want all that files to be in .exe file. All I can find is ho...
[2 replies] Last: Thanks! (by furfag)
by Zoo
MFC exporting data to CSV files.
 
Hi guys, I was just wondering what would the code be like if I was to export the data(which are included in the instance named m_xc_list, under the class CList...
[no replies]
How to use DirectX 2D to draw .pngs?
 
I recently asked "How to use bitmaps?", and I was advised to use directX 2D to do so. Well, I like the idea of learning DirectX, so I went ahead and heeded the ...
[11 replies] Last: SUCCEEDED(hr) is an error checking method. hr, a HRESULT, get assig... (by closed account z05DSL3A)
August 2014 Pages: 12345
  Archived months: [jul2014] [sep2014]

This is an archived page. To post a new message, go to the current page.