Windows Programming - June 2012 (Page 5)

use of term "PASCAL" in C/C++ code?
 
Hi - I'm reading an online tutorial on using TCP/IP at this site: http://www.codeproject.com/Articles/13071/Programming-Windows-TCP-Sockets-in-C-for-the-B...
[4 replies] Last: No, don't do that. If you have to use PASCAL, use PASCAL. Don't make... (by kbw)
Pointer Error
 
This is mine COM.H typedef class CFINetCom { public: HANDLE m_hReplyMsg; private: DWORD Status; int ServerPort; char* ServerIP; ...
[1 reply] : m_FINetCom is a member of CTIMSStreamerDlg, and it should be private. ... (by kbw)
Problems with insertion in list
 
Hi guys, I'm doing a program in C + + that makes the registration of patients in an ordered list according to the ID of each patient. In function registration...
[3 replies] Last: I solved the problem. (by muttleydm)
by Ellz36
Colours disappearing from window - Help!
 
Hi There, I am creating a Windows C++ program. It is one of my first so I'm trying to keep it simple. I am creating a simple maze game and using coloured rect...
[12 replies] Last: YESSSSSS!!! Thank you so much dt! It now works - I brought up taskma... (by Ellz36)
by RHL
Problems with my small code
 
Hello all, well, I have problems with my small code, please check it: I'm making a small call api, with GetModuleHanlde and getprocaddress, but in the end of t...
[2 replies] Last: yeah,my bad, thanks a lot bro! (by RHL)
Adding contol on CFrameWnd MFC
 
Hi, I am few to MFC and in-fact self learning it. I have created a project, and provided a class derived from CFrameWnd and added menus and toolbar. How c...
[no replies]
Not able to track error
 
Its mine Pmain.h #ifndef Pmain_H #define Pmain_H #define WIN32_LEAN_AND_MEAN #include <windows.h> #include <winsock2.h> #include <ws2tcpip.h> #includ...
[1 reply] : ConnectionThread is declared inside CTIMSStreamerDlg class. Cre... (by Null)
String in win32 console application
 
In MFC application to use string variable we use CString But how to use string in win32 console application which header file do we have to include???
[2 replies] Last: which header file do we have to include??? #include <string> ... (by Moschops)
by Dukaim
Embed VBS into C++ Application
 
I have a VbScript Script File that I call in a function inside the C++ program. I was wondering if there was a way to sort of merge/embed this script within the...
[2 replies] Last: You can do in C++ whatever that VBS script do. (by modoran)
How to display preview window?
 
Hi ALL I am making an video streaming application as mine final year project and need a help to know that in MFC we have a function Create() with these follo...
[1 reply] : This is MFC version, but can be extremely easy to port it to win32 api... (by modoran)
EruWindow and ErunWindowProc
 
ErunWindow and ErunWindowProc .. i m seeing in tutorial but not able to get how actually this functions works. plz anybody help me with some good examples.. ho...
[3 replies] Last: Maybe EnumChildWindows() is more apropiate for you if you already have... (by modoran)
Can window programming be used to implement win service
 
Can window programming be used to implement win service,i mean i want to create a win service and will be doing window programming in that will that service run...
[1 reply] : MSDN Service Reference: http://msdn.microsoft.com/en-us/library/window... (by Texan40)
FindWindow
 
i am developing a project in windows for testing tool. in that what i wanna do is i have to create a function in C. i get 3 parameters. one is for nativeclass o...
[4 replies] Last: HI, i have a doubt i used findwindowex to find the child window and i ... (by RIZWAN MODI)
What's wrong with my code?
 
Hey guys My english isn't the best, so I'll try only the best ;) I've written the following code : #include <cstdlib> #include <iostream> #include <windows.h>...
[13 replies] Last: Still you're not understanding much of what you are doing, i see. HWN... (by S G H)
Creating a popup window to get user input.
 
I've got an opengl window, that uses winsock, but at the start I'd like a popup window to get the IP from the user. How would I go about doing this? Thanks, ...
[13 replies] Last: Oh, you're doing everything wrong! // With the IP Control: HWND IP_C... (by S G H)
SetCursorPos problem.
 
i was trying to create a small program. the program moves the cursor key whenever the arrow keys (up,down,left,right) are pressed. sometime the thing goes s...
[6 replies] Last: Thanks for help. (by time to c)
How to check comment or uncomment from an INI file
 
Hi all In one of my program i have a defined a condition like //#define _WRITE_MPEG_ (1) If this is un-commented program will write something to a file oth...
[5 replies] Last: There are cross-platform implementations of INI files, most of them ha... (by modoran)
I want to know how to do key events in windows programming.
 
Hello , I am new to windows programming. I want to know how to do the key_events in windows like vk_left ,vk_right,vk_up, vk_down . In which function do i ...
[2 replies] Last: You need to have a Window to handle Keys in the common way. You can al... (by S G H)
WinSock - How do I fix delay.
 
I've made a working multi-client server(and client) but the method I use to update all the clients isn't very good. void UpdateClient() { for (unsigned i...
[1 reply] : Ah, solved. The trick is to put it all into one stream. I separated it... (by closed account 2NywAqkS)
How to restart service after a particular time
 
Hey guys I am making a service in VS2010 using c++ and want to know is there any way to restart the service after a particular time,actually i will let user to...
[1 reply] : When you install the service, you can set it up to be restarted if it ... (by kbw)
June 2012 Pages: 1... 34567
  Archived months: [may2012] [jul2012]

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