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

Search:

Type: Posts; User: Craisins

Page 1 of 2 1 2

Search: Search took 0.08 seconds.

  1. Re: How to fill in a 2 dimensional array with a for loop to replicate the multiplic t

    Yes I cannot figure out how to make it display like a real times-table where it goes from 0-9 in both directions.
  2. How to fill in a 2 dimensional array with a for loop to replicate the multiplic table

    This is what I want to do:


    int table[6][6] = { {0,1,2,3,4,5},
    {1,2,3,4,5,6},
    {2,3,4,5,6,7}};But I want to fill out the x and y values with a for loop instead, so I can create a 9...
  3. Re: How to include msvcp90.dll runtime library in the exe?

    Yes I am asking what settings/options do I go to statically link it? When I change /MD to /MT it jumps up 150kb, but is that the correct switch? According to MSDN thats the only thing I found to...
  4. How to include msvcp90.dll runtime library in the exe?

    Okay so after further consideration, I gave up on the VC++6.0 from 1998 and I downloaded MSVC2008, its pretty refreshing.

    One issue at the moment is a ton of people (almost anyone on XP) get this...
  5. URLDownloadToFile causes program to be marked as a trojan, any alternatives?

    Much of my application depends on downloading different files from a server according to the users input (and also lets them upload). However, on some anti-viruses, the application is deleted because...
  6. Injecting a basic DLL file to a process, but DLL isn't "going away" after injection.

    #include < windows.h >

    BOOL APIENTRY DllMain( HANDLE hModule,
    DWORD ul_reason_for_call,
    LPVOID lpReserved
    )
    {
    MessageBox( 0, "The...
  7. How to launch *remote* .exe files with new mutex every time?

    I'm having trouble figuring out how I can open applications that only allow one instance at a time to be opened more than once, I figure it the mutex preventing multiple launches.

    I know how to...
  8. How to get all process ID's of multiple instances?

    I have multiple instances of MyApp.exe running in which can be seen in Processes of Task Manager.

    I need to loop through all these and collect each of their PIDs into an array for later reference....
  9. Re: Books to read after finishing the basics. Aspiring game-developer/desktop app mak

    At the moment I'm reading Teach Yourself C++ 21 Days by Liberty/Jones, is this a good book for starters? I want a really thorough and deep guide for the fundamentals. I'm not exactly new to...
  10. Books to read after finishing the basics. Aspiring game-developer/desktop app maker.

    I'm currently reading books on just the basics of C++ (that teach about variables to advanced polymorphism).

    This time, I do not want to the stop moving forward. If any of you here can guide me in...
  11. Re: How to start applications more than once (ie. defeat a mutex)?

    Anyone?
  12. Re: How to start applications more than once (ie. defeat a mutex)?

    How is this is unlawful?

    I can launch multiple instances of a program just by switching users and opening a new application per user, this just makes it all possible on one user.

    I have no...
  13. Re: How to start applications more than once (ie. defeat a mutex)?

    Any clues guys?
  14. How to start applications more than once (ie. defeat a mutex)?

    I remember there used to be a game I'd play online but you could only launch one instance of the game, but there was a program where you would type in the location of the .exe of the game and it...
  15. Replies
    11
    Views
    1,253

    Re: simple array help

    Why declare your array globally? Have other plans for it? :p Just teasing, not important at the moment.

    Here's a push:


    Some_Loop { // Refer to GCDEFs post about which loop to pick.
    cout...
  16. Replies
    4
    Views
    1,023

    Re: READing TeXT files

    Don't you mean if (arra[i].first == "R")? The operators for assignment and testing equality are completely different.

    A variable doesn't "take a condition" by the way, it stores data that matches...
  17. Re: Possible to have timers/clocks/countdowns without while loops?

    I dont understand, I come back today to change all the timer code to Sleep() and no resources were used...that was really weird. Sorry for the waste of time. I guess Sleep() it is.
  18. Re: Possible to have timers/clocks/countdowns without while loops?

    Accuracy does not matter, its merely a program that has one thread write to a file every 10 minutes, and the other thread downloads a file every 10 seconds. The problem I remember while using Sleep()...
  19. Re: Why is my release exe 32 kb with only 14 lines of code?

    Because, I've already researched /MD myself on MSDN, but if you really wanted to answer it please do, I'm sure you'll explain it much better since MSDN is sometimes a pain to understand. Please, tell...
  20. Possible to have timers/clocks/countdowns without while loops?

    I have two threads which both have their own timer and while loop which keeps checking if the timer's elapsedtime has met the time limit before restarting the thread.

    In an effort to cut back on...
  21. Re: Why is my release exe 32 kb with only 14 lines of code?

    Its not just messagebox, its around 1000 lines of code but I was wondering why the filesize was so huge with only messagebox and string. After enabling /MD all works well though, 32kb before UPX...
  22. Re: Why is my release exe 32 kb with only 14 lines of code?

    I am coding ONLY for XP and Vista though, its a simple app and anything past Vista or below XP is not my target for this release, and is also not necessary, just trust me on
    that part :P.
  23. Re: Why is my release exe 32 kb with only 14 lines of code?

    The /MD actually cut the file size by 80-90&#37;! If I use it in VC6.0, the program should still be able to run in XP and above without those dependency errors?
  24. Re: Why is my release exe 32 kb with only 14 lines of code?

    Wait really? How do I link MSVC90.dll statically??? Am I typing /MD or /CRT somewhere? And how big of a exe file size jump are we talking about if we link statically?

    @ everybody else: thank you...
  25. Re: [6.0] #include gives compile-time errors, even after linking library!

    The solution was putting #include < gdiplus.h> in the main.cpp file and not in the header file which required gdiplus...weird!
Results 1 to 25 of 43
Page 1 of 2 1 2





Click Here to Expand Forum to Full Width

Featured