He shoulda written it recursively :laugh:
I am BATMAN
Posts
-
Who is teaching these people? -
error on sending mailyou don't have to specify message.isbodyHTML if you want to set it false (that's default) But for failing to send the message...Do you have IIS and SMTP setup correctly on your local machine that's running this?
-
stopping an exeOr if you want to kill the new application from the one that spawned it, use TerminateProcess().
-
Problem using WinMain function with C++not sure right now about the winmain part it looks correct. The DirectXExample has to be a registered class name when you pass it to CreateWindow, it's not just some text you specify. from MSDN:
lpClassName:
Pointer to a null-terminated string or a class atom created by a previous call to the RegisterClass or RegisterClassEx function.
The atom must be in the low-order word of lpClassName; the high-order word must be zero.
If lpClassName is a string, it specifies the window class name. The class name can be any name registered with RegisterClass or RegisterClassEx,
provided that the module that registers the class is also the module that creates the window.
The class name can also be any of the predefined system class names.
For a list of system class names, see the Remarks section. -
Convert a in_addr to an IPAddrOh ok, it worked when I saved the variable as a IPAddr the same way I was originally saving the in_addr instead of trying to cast between the two. Thanks anyways
-
Convert a in_addr to an IPAddryes, that was sort of vague...are you talking about how it says you can cast an IPAddr to an in_addr? I tried casting the other direction (in_addr to IPAddr) but it throws errors. Forgive me, this is basically the beginning of my windows C++ programming, up until now it's all been command line linux code. Is there a special way to cast with the win API or something?
-
hiding windows taskbarkill explorer.exe !
-
Annoying error for meAre you sure you're including the correct headers?
-
Access deniedNavigate to that folder, view the properties -> security. Give Users write permissions.
-
small applicationok cool, write one
-
is there any decryption algorithm that uses a dictionary to decrypt an encrypted file?Hi. On your second line you specifically wrote that this has to be written in C. This is the Java forum. At the end of your problem statement, your question is a request for an Algorithm. So either post this in the C forums, or the algorithm one. This should not be here.
-
binary search tree error compliation errorThat's a ton of text....What's the error?
-
sql errormichaelgr1 wrote:
dataAdapter = new SqlDataAdapter(selectcommand3, connectionstring);
Did you put one too many new lines after that = statement? at most the assignment should be the next line down, you shouldn't add any space between the 2 lines.
-
Need to change the Default Font of Control in my win32 codeSounds like you're not including the right files. Check the dependencies for that function.
-
Convert a in_addr to an IPAddrIn my code I'm trying to call SendARP to get the MAC address of a computer on the local network. I have their IP address in the in_addr data format, but SendARP takes it as an IPAddr. I looked on MSDN and they don't offer any explicit ways to convert between the two and google searches so far have not proven fruitful. Anyone done this before?
-
how to install emacI'd be surprised if you don't already have it installed. try running it from a terminal
-
WSS and AjaxMaybe it's the javascript.
-
Changing a form's target through javascriptrun this through jslint, tips: always use triple = for comparison (===) opening brackets must come on the same line as the conditional statement opening them, Javascript does strange things in certain situations if it's on the next line.