Windows Programming - June 2011 (Page 5)

Conversion of LPWSTR TO long
During my session i have some doubt on the below code len1 = GetWindowTextLength(hwndEdit1) + 1; GetWindowText(temp1, text1, len); len2...
Jun 13, 2011 at 10:16am
[6 replies] Last: Thank you all for your kind support I am a beginner so I am not using ... (by TonyZam)
by joshky
EnumerateFiles
I have a windows forms ap that will be for indexing file collections. I am using the .net DirectorySearcher, which implements an UnauthorizedAccessException. ...
Jun 12, 2011 at 10:50pm
[no replies]
Reading the registry problem
Hello, I am trying to read strings from the registry and compare them to a list of words.I also want it to be done randomly, so this is something I want to keep...
Jun 12, 2011 at 4:09pm
[17 replies] Last: I don't actually think it matters but technically "RegOpenKeyEx()" ret... (by Computergeek01)
not executing cout
i am writing a game that involes computer players to run over a character and when they move off of it, the previous character is printed. // ghost #incl...
Jun 12, 2011 at 11:30am
[1 reply] : Step through your program with a debugger, and see if it is reaching t... (by anonymous23323124)
GetProcAddress fails
Hi, I'm developing a non-mfc application that uses a dll file (which I made too). when I try to load the dll file LoadLibrary is successful (does not return NU...
Jun 11, 2011 at 8:02pm
[2 replies] Last: thank you Xander314, extern "C" solved the problem :) (by Yours3lf)
by Da2
Template Function Requirements ?
Yesterday I had an exam, the question was: What do template functions require (meaning , where T is a must) ? 1) template <class T> void func(T& t); 2) tem...
Jun 11, 2011 at 5:49pm
[2 replies] Last: Ofcourse it doesn't improve a lot, but that's the 'cheap' way to make ... (by Da2)
by HenryJ
How do you load an image in wxWidgets
Hello readers, I am learning how to load an image, here is the code: // Load an image wxImage image(wxT("image.bmp"), wxBITMAP_TYPE_PNG); // Convert it to...
Jun 11, 2011 at 2:55pm
[1 reply] : iirc you have to call wxInitAllImageHandlers at the start of your prog... (by Disch)
drawing sine wave using moveto and lineto
I have my program working well so far. I am wondering if I should be using beginpaint() and endpaint() in my drawwave() function? I see many examples that use...
Jun 11, 2011 at 2:34pm
[no replies]
doubt in Block cipher encryption and decryption
hi my assignment is to make a block cipher encryption and decryption. And made the codings with mode ECB. It is encryption part works correctly for all blocks b...
Jun 11, 2011 at 10:32am
[no replies]
Header files not compiling right?
Im using visual C++ to make a form application to shut off the computer at a specific time. i used the datetimepicker tool but im not able to compare and conver...
Jun 11, 2011 at 2:16am
[7 replies] Last: ok....i fixed what was previously questioned, but i have ran into anot... (by SuperiorJT)
Making a color .txt file
I'm writing a program that at launch checks to see if a file exist. Inside the file will be what color items need to be what color: When color is originally ...
Jun 10, 2011 at 9:46pm
[3 replies] Last: I was thinking something like this (in C#, but I bet you can convert i... (by webJose)
AutoIT spammer
#include <ButtonConstants.au3> #include <EditConstants.au3> #include <GUIConstantsEx.au3> #include <StaticConstants.au3> #include <WindowsConstants.au3> #...
Jun 10, 2011 at 9:39pm
[1 reply] : on line 23 it should say $spamMessage = " " (by SOCIALISTICmeow)
Regarding Resources.
Hi , I was reading a tutorial on windows programming . I want to know how to add resources in visual studio 2010 . I am facing problems in doing it . Thanks...
Jun 10, 2011 at 8:34pm
[1 reply] : Without knowing more, I'll try to answer your question. First, if y... (by Lamblion)
Difference in Windows Cryptography Service between VC++ 6.0 and VS 2008
I have a class of encryption that was developed in Microsoft Visual C++ 6.0, and it is working properly. I migrated the code to Microsoft Visual Studio 2008, th...
Jun 10, 2011 at 7:41pm
[1 reply] : No idea. You should post @ MSDN: http://social.msdn.microsoft.com/Fo... (by webJose)
How to Write to a Text File
... http://www.youtube.com/watch?v=Fp1Ml3F32oc
Jun 10, 2011 at 4:48pm
[2 replies] Last: unfortunatly, my main interest these days is video editing. i may get ... (by SpartanX)
by indigo
unable to step into function
As description says it, i am unable to step into one particular function as i hit F11. Visual Studio just skips it. Both VS10 and VS6 behaves like that. Interes...
Jun 10, 2011 at 2:56pm
[5 replies] Last: Early versions of Visual Studio need the exact PDB that was built with... (by kbw)
Server Access
How do I, if possible, connect a group of people together through the internet with a program? I want to be able to do this without having to pay tons of money ...
Jun 10, 2011 at 1:49pm
[12 replies] Last: I also think that you cannot do that with your own computer. Eh? Yes... (by Athar)
How to convert unicode string to char?
How to convert unicode string to char?
Jun 10, 2011 at 1:19pm
[11 replies] Last: Thanks, i will try it later! (by ibancioiu)
MFC Programming
class CMainWindow { public: LRESULT CALLBACK MainWndProc(HWND hWindow, UINT nMessage, ...
Jun 10, 2011 at 9:46am
[1 reply] : Declare MainWndProc static. (by kbw)
Socket Programming
can any one demonstrate a full function of client-server application that sends a "Hello World" string from the client side to the server side of the applicatio...
Jun 10, 2011 at 9:07am
[5 replies] Last: i'll try.. thanks for the reply (by ealforque)
June 2011 Pages: 1... 345678
  Archived months: [may2011] [jul2011]

This is an archived page. To post a new message, go to the current page.
Registered users can post in this forum.