CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Cheezewizz

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    822

    Re: Load & Saving Files

    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...
  2. Replies
    1
    Views
    1,674

    Re: listbox creation problems

    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...
  3. Replies
    1
    Views
    1,674

    listbox creation problems

    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...
  4. Replies
    12
    Views
    3,855

    Re: Compiles with code blocks, not with mingw

    -mwindows is the equivalent in Mingw's g++...

    oops, didn't see your edit up there, it's too early in the morning for me, ignore me.
  5. Replies
    3
    Views
    4,910

    Re: help using arrays with libJSON

    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...
  6. Replies
    3
    Views
    4,910

    help using arrays with libJSON

    Is there anyone here who's experienced at using libjson who could give me a quick example by any chance? say i've got the following code

    JSONNode root, child;
    child.push_back(JSONNode("list",...
  7. Re: Month Calendar : output selected range to MessageBox - pls explain

    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...
  8. Replies
    24
    Views
    13,880

    Re: MySQL Connector C++ "linker" error.

    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...
  9. Replies
    24
    Views
    13,880

    Re: MySQL Connector C++ "linker" error.

    i don't see why not as long as you grab the right source for whatever distro you're using
  10. Replies
    24
    Views
    13,880

    Re: MySQL Connector C++ "linker" error.

    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...
  11. Replies
    24
    Views
    13,880

    Re: MySQL Connector C++ "linker" error.

    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...
  12. Replies
    24
    Views
    13,880

    Re: MySQL Connector C++ "linker" error.

    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...
  13. Replies
    24
    Views
    13,880

    Re: MySQL Connector C++ "linker" error.

    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.
  14. Re: Communicating with the USB port itself (NOT a USB device)

    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...
  15. Replies
    9
    Views
    1,108

    Re: Need to return a *char not address of...

    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....
  16. Re: suggestions for programs to get acquainted with C or C++ again

    http://projecteuler.net/ is great for those mathy kinda programming problems...
  17. Replies
    5
    Views
    7,267

    Re: Trying an HTTP POST req in C++

    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 ...
  18. Re: MPLab PIC Microchip / Version of Assembly Question

    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...
  19. Replies
    1
    Views
    9,274

    Re: wininet through proxy

    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,...
  20. Replies
    1
    Views
    9,274

    wininet through 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.
    ...
  21. Replies
    3
    Views
    2,391

    Re: mingw with STL problems

    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>...
  22. Replies
    3
    Views
    2,391

    [RESOLVED] mingw with STL problems

    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...
  23. Replies
    5
    Views
    1,083

    Re: download speed monitor

    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...
  24. Replies
    5
    Views
    1,083

    Re: download speed monitor

    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...
  25. Replies
    5
    Views
    1,083

    download speed monitor accuracy

    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...
Results 1 to 25 of 38
Page 1 of 2 1 2





Click Here to Expand Forum to Full Width

Featured