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

Search:

Type: Posts; User: rhboarder

Page 1 of 2 1 2

Search: Search took 0.03 seconds.

  1. Replies
    5
    Views
    886

    Re: ++ is increasing variable by 2

    (I tried using the quote tag but when I'd try to preview the post it said an error "the me[quote]ssage you entered is too short")
  2. Replies
    5
    Views
    886

    Re: ++ is increasing variable by 2

    i did do that, as in printing the variable before and after, but something I dont know if its something to do with how its being entered into the database but everytime the code executes and i go...
  3. Replies
    5
    Views
    886

    ++ is increasing variable by 2

    This is probably the simplest thing but I'm not catching it, basically im increasing a variable that got its value from a database by 1 (so var++) but then I check it and it had been increased by 2....
  4. Re: page is invisible but no errors (firefox problem)

    Thank you sooo much!! I'm curious though, I've never read anything about it acting that way,
    because isn't that proper xhtml when I close it out that way?
  5. Re: page is invisible but no errors (firefox problem)

    i've attached a txt file which is the outputted source. and yes, i used firebug to see if i could find an error but no errors showed up.
  6. Re: page is invisible but no errors (firefox problem)

    here are the 3 files i use (php/css/javascript)
  7. page is invisible but no errors (firefox problem)

    i know the problem has something to do with the javascript but i cant find any errors.
    in the heading i load the script file


    <script type='text/javascript' language='javascript'...
  8. Re: php - problem with setting up mysql db/table

    hey guys, thanks for the replies. after running it through phpMyAdmin I realized the problem had to do with my hosting server not the code.
  9. Re: php - problem with setting up mysql db/table

    both of them, so right now i'm getting outputted "error creating database". and if i take out that first "if(mysql_query())" and just have "mysql_query", then on the next query i get "Error creating...
  10. Re: php - problem with setting up mysql db/table

    oh im sorry. specifically the 'mysql_query($query)' is whats not working. I know the actual string is good so am i executing it wrongly?
  11. php - problem with setting up mysql db/table

    Im having the most frustrating time trying to figure this out, this script runs great on my private (WAMP) server but not on my hosting server (LAMP). The script is pretty simple, creates a database...
  12. Replies
    7
    Views
    1,600

    Re: trouble converting BSTR

    Hi guys, so (lol) I believe I got it working literally 5min after my last post: here's what works(thanks 2 hoxsiew):


    wchar_t *wch;
    wch = (wchar_t *)track_str;
    wcout << wch << endl;
  13. Replies
    7
    Views
    1,600

    Re: trouble converting BSTR

    you raised some good questions hoxiesw: from everything I've seen you don't need to use sysallocate(and as far as i know i don't need to deallocate it), you initialize the bstr to 0, then i'm passing...
  14. Replies
    7
    Views
    1,600

    Re: trouble converting BSTR

    the problem i have with using comsuppw.lib is that it's a vc++ lib and i can't use it(as far as i know) with borland. i could use implib but there's no comsuppw.dll.
  15. Replies
    7
    Views
    1,600

    trouble converting BSTR

    I'm using the itunes COM sdk and several of the functions return a BSTR(which is a visual basic string). to be able to use the result in say 'cout <<' it has to be converted but ALL examples i've...
  16. Replies
    8
    Views
    661

    Re: command line arguments function

    It would help if you posted some code here, I'm not sure exactly what's going on.
    Why are you using argc/*argv[]?
    So basically you just need the function to create txt files with those names that...
  17. Re: command line string parsing / pointer confusion

    to arjay, i should have explained better, argV is blank/null, im wanting to fill them in through a function call that reads a line from stdin and parses it into (argV[0], argV[1],etc..)

    your right...
  18. Re: command line string parsing / pointer confusion

    its not backwords, i want to copy from the 'holder' string to the char * array 'argV[]'
  19. command line string parsing / pointer confusion

    i have a small app to be compiled into a .lib file. it accepts a char * array
    and the array count, outputs a '-' and then reads in a line and (supposed) to
    parse it into the recieved char *...
  20. Replies
    2
    Views
    445

    Re: winsock not recieving data

    ahh it was an extra "\r\n" i needed. i knew it was something simple i was overlooking,
    thank you that's been driving me crazy.
  21. Replies
    2
    Views
    445

    winsock not recieving data

    i wrote a simple socket client and for testing i tried to connect to a http server and send the http command 'GET / HTTP/1.1' but i get nothing back. i've looked through other post, and searched...
  22. Replies
    36
    Views
    10,321

    Re: problem with freeing memory in dll

    sorry paul, i mustn't have seen that post. i thought the same thing that it shouldn't make a difference, so maybe it is my compiler.
  23. Replies
    36
    Views
    10,321

    Re: problem with freeing memory in dll

    thanks couling. two things: one method that works is as zaccheus said using another external
    function in the dll to delete the object. secondly, and this actually fixed my original
    problem with...
  24. Replies
    36
    Views
    10,321

    Re: problem with freeing memory in dll

    to that last post by couling, now you know what i was going through lol.
    here's a link to a site i had found about exporting classes from a dll. ...
  25. Replies
    36
    Views
    10,321

    Re: problem with freeing memory in dll

    ok so i think i've gotten it fully working without crashes now, although honestly i don't know why this works. ive defined the class member functions in the header as virtual, and then static loaded...
Results 1 to 25 of 31
Page 1 of 2 1 2





Click Here to Expand Forum to Full Width

Featured