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

Search:

Type: Posts; User: ACS_Solver

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. Automation with Internet Explorer's new instances

    I have an application that perfors operations depending on a certain webpage opened in IE and operations with it. My app creates an instance of Internet Explorer and controls it via automation, using...
  2. Replies
    14
    Views
    33,421

    Re: Viewing DLL Functions and parameters

    Wow that's great, thanks... I wonder if any of the normal programs that analyze PEs can give me the decorated name of a function?

    EDIT: Ahh, Dumpbin does do that, on OBJ files at least... I hope...
  3. Replies
    14
    Views
    33,421

    Re: Viewing DLL Functions and parameters

    Is there any update on this? It would be highly useful!
  4. Replies
    5
    Views
    1,925

    Use the Environ function. Private Sub...

    Use the Environ function.



    Private Sub Main()
    Dim AppDataFolder as String
    AppDataFolder=Environ("appdata")
    MsgBox AppDataFolder
    End Sub
  5. Replies
    4
    Views
    1,422

    Without doing your homework, I'll tell you this:...

    Without doing your homework, I'll tell you this:

    To get the farenheit value, multiply the centigrade value by 1.8 and then add 32.

    Knowing that, you should be able to write the code easily. All...
  6. Replies
    5
    Views
    789

    Many thanks.

    Many thanks.
  7. Replies
    5
    Views
    789

    Quick constant question

    I have a very quick question. If I declare a constant the standard way, with the const keyword, does it go into the data segment or the code segment of the executable?
  8. Replies
    3
    Views
    924

    Producing the smallest PE

    Not sure if this belongs in Visual C++, but since it can understand Assembly blocks...

    How do I get the smallest possible executable, in format that is Win32 PE? Ideally, the executable would...
  9. Replies
    28
    Views
    2,942

    No, I still got the error after making Exec...

    No, I still got the error after making Exec empty, but there must have been my own mistake. Most probably, I linked with the wrong version of static library after that, or something.
  10. Replies
    28
    Views
    2,942

    Thanks, I fixed the problem! It turned out that...

    Thanks, I fixed the problem! It turned out that it occured deep within the Exec function (as indicated by call stack), but as I had to use the Release version of my lib file, the debugger simply...
  11. Replies
    28
    Views
    2,942

    A clarification. If I change the Exec to ...

    A clarification. If I change the Exec to



    int Exec (char* cmd) {
    return 1;
    }


    in the static library, then yes, I still get the violation error when calling it. Without the static...
  12. Replies
    28
    Views
    2,942

    That is not the case. If I type libtest.exe in...

    That is not the case. If I type libtest.exe in the command line, then strstr does return .exe. But, if I type libtest, then the test for ==0 is actually true.
  13. Replies
    28
    Views
    2,942

    Well, I thought the headers would be little of an...

    Well, I thought the headers would be little of an issue because the end-user would only include it once in his project, after all.

    Thanks for your help, I'll go see what's wrong with my compiler.
  14. Replies
    28
    Views
    2,942

    Attached is my workspace. maple_lib is the...

    Attached is my workspace. maple_lib is the project for LIB file, and libtest is the one that tries to call Exec function from the linked LIB. I removed the post-build file copying, as those were...
  15. Replies
    28
    Views
    2,942

    A follow up question. Do I want to have my .lib...

    A follow up question. Do I want to have my .lib file in the directory with the project itself, or project\Debug (for Debug config, of course?). I have my project containing the LIB set it so that it...
  16. Replies
    28
    Views
    2,942

    The project you enclosed works for me. Must then...

    The project you enclosed works for me. Must then be some issue with the way I am handling my library. I'll try to reimplement it somehow, or mess around with compiler options.

    Thanks for your...
  17. Replies
    28
    Views
    2,942

    Interestingly, I still get the error even if I...

    Interestingly, I still get the error even if I leave Exec function with nothing but return 1; in its body.

    I assume, then, I screwed something up when adding the lib file with function in it, or...
  18. Replies
    28
    Views
    2,942

    The code you gave me compiles no problem... ...

    The code you gave me compiles no problem...

    Could the problem be in the fact that Exec is contained in a lib file I compiled from that project? Therefore, the project has the header file for...
  19. Replies
    28
    Views
    2,942

    Access Violation with char pointers

    I'm getting the feeling that this is a very simple problem that deals with me being unable to handle pointers properly, but I have failed to find an acceptable solution thus far.

    Here's the...
  20. What does it take to be a good programmer?

    I'm just curious as to what everyone thinks about the question. There are bad programmers, there's a ton of average programmers, who are capable of developing whatever solutions they need to. And...
  21. Heh, I crossposted with bytz. I think that,...

    Heh, I crossposted with bytz.

    I think that, unless you're getting annoyed by the fan noise or something else, it's OK to leave your computer on 24/7. It will sum up to a few extra coins on your...
  22. I don't think that using 100% CPU, like SETI,...

    I don't think that using 100% CPU, like SETI, does anything bad to the processor. The CPU is, in fact, always processing instructions at 100% capacity. It's just that the "free" CPU time is being...
  23. Replies
    6
    Views
    828

    Thanks for your help!

    Thanks for your help!
  24. Replies
    6
    Views
    828

    It looks to me that the function requires me to...

    It looks to me that the function requires me to add the SDK library to my program. While possible, it seems to make the program a bit overloaded. Any other suggestions, maybe?
  25. Replies
    6
    Views
    828

    A part of SDK... interesting, will check it out.

    A part of SDK... interesting, will check it out.
Results 1 to 25 of 35
Page 1 of 2 1 2





Click Here to Expand Forum to Full Width

Featured