Why don't you just redirect the output on the command line by calling
myprog.exe dirname > results.txtIf you really want it done in code then there's plenty of either OS dependant ways or other...
Ignore me, I'm an idiot, 5 mins more reading and I could've avoided posting here. For anyone who's remotely interested, it's because according to MSDN "Normally, the system sizes a list box so that...
I'm trying to make a win32 application consisting of one treeview and one listbox side by side. The problem i'm having is that despite seemingly passing the same size to each control on creation...
ahh yeah i get it now, then we just
list.push_back(JSONNode("", "whatever")); to populate our array. Brilliant, thanks for that... Quickest reply ever. I did see your username floating around...
According to http://msdn.microsoft.com/en-us/library/dd318086%28VS.85%29.aspx the int returned simply tells you the number of chars written to the buffer that the result is stored in. ie the fifth...
Not having much luck with this are ya? thought about just using the C API directly instead? :P well the first thing to try (again) would be to make sure that it's definitely checking the right path...
that's the one yep. I've just downloaded the lib and tried your code and end up with exactly the same issue. So I was wrong and it's obviously not a problem with not being able to locate the lib. It...
that makes sense but then does it not normally complain about not being able to find a library named blah if you're trying to link it against the wrong name? Not only that but i've been using Mingw...
where was the lib for mysqlconnector initially installed to? you don't have to move it you can just specify it's location on the command line. -l is for the addtional library names and then -L is for...
it should be -lmysqlcppconn without the space. It might not be able to find the lib to link, you could try specifying the libs location by adding -L/c/path/to/lib.
Someone else can probably give you a more in depth answer to this but in a word no you can't. You could on the other hand create your own device using a microcontroller with either onboard USB...
First of all I'd just do std::cout << cNum << std::endl; rather than passing a pointer to it...... but then there's also one or two things that could also do with changing before it works properly....
I've tried the same thing before, if it is on windows then you can use WinInet to create the HTTP requests and that for you. I've had slightly more sucess with that ...
Yeah as eri mentioned, it's not really looking good so far. movlw is just about the only bit of the instruction set for PICs I saw in your code. you may want to check out...
Bah the problem is me obviously.
g_hRoot = InternetOpen("test", INTERNET_OPEN_TYPE_PROXY, "http://proxy", "8080", 0);Should be
g_hRoot = InternetOpen("test", INTERNET_OPEN_TYPE_PROXY,...
Hey guys. I have a small problem trying to use the wininet API through a proxy. I appreciate there's plenty of threads more or less on this subject already but none seemed particularly relevant.
...
Gah, lol yep it was as simple as that. Well, that's embarassing. Changing my original code's include order to
#include <stdio.h>
#include <windows.h>
#include <deque>
#include <process.h>...
Hey guys. I've got some code using the windows packet capture library (winpcap) that works fine when compiled with Visual Studio, but just won't compile with Mingw. After a few tweaks I think I've...
I think there's some useful functionality there deffo, will have to check it out when I get in from work. There's something you can integrate into your own (.NET) apps too...
thanks for the suggestions guys. Looks like might have to adapt my app a bit to C# to make use of fiddler class libraries but meh, needs must ....... I'll have to look into that further. I appreciate...
Hey guys. At the moment I'm working on a program that can give a read out of the speed of any downloads. The method that seemed simplest was to use the Winpcap libraries in statistical mode, set the...