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

Search:

Type: Posts; User: Zaccheus

Page 1 of 80 1 2 3 4

Search: Search took 0.41 seconds.

  1. Re: Do .net v2 applications run on vanilla Vista & Windows 6?

    Hurrah, I now have access to a brand new Windows 7 laptop and it DOES run my .net v2 applications. \o/



    I never got round to upgrading from VS2005 Express. :blush:
  2. Re: Do .net v2 applications run on vanilla Vista & Windows 6?

    Later as in 'came afterwards', i.e. 3 and 3.5.

    What I wanted to know was whether .net 3.5 includes all the .net 2 system assemblies which my applications are built against?

    Regarding testing...
  3. Re: Do .net v2 applications run on vanilla Vista & Windows 6?

    All I needed to know was whether .net 2 was included in the later frameworks.
  4. Replies
    24
    Views
    4,438

    Re: Probability Function

    That's up to you - what do you want to do with the 'chance of steal' ?
  5. Re: Do .net v2 applications run on vanilla Vista & Windows 6?

    Ah, just found this, seems to be an emphatic yes. :)

    http://social.msdn.microsoft.com/Forums/en/netfxsetup/thread/68367718-028d-4384-a6e0-d04cc1528545
  6. Re: Do .net v2 applications run on vanilla Vista & Windows 6?

    Sorry, Windows 7. :blush:

    Updated OP with URL
  7. [RESOLVED] Do .net v2 applications run on vanilla Vista & Windows 6?

    I strongly suspect they do, but right now I have no way of checking. :blush:

    This page says .net 3.5 is CLR 2.0, does that include all the .net 2 system assemblies which my applications are built...
  8. C# SDK now available for the Dendros file format

    Many years ago I defined the Dendros File Format for my hobby applications.



    I've had a COM based SDK for quite some time now which I've used with Gravel v3 and other projects.


    I'm...
  9. Replies
    3
    Views
    786

    Re: Case study of a really hard to find bug

    Yes, of course you have to. I always do.

    I use macros like this all the time:


    #define RCL_COM_OK(F_) {HRESULT r_=(F_);if(FAILED(r_)){RCL_THROW_1(RclsoftwareOrgUk::XCom,r_);}}

    RCL_COM_OK(...
  10. Replies
    3
    Views
    786

    Case study of a really hard to find bug

    One type of bug I really hate is the one which only happens when a debug build is run in non-debug-mode.

    I've just now solved one of these, and boy what a nightmare it was.

    As already...
  11. Replies
    23
    Views
    3,544

    Re: Double Linked List...Delete function()

    // ||
    // ||
    // ________ ___\/____ ________
    // | | | | | |
    // | next ...
  12. Replies
    35
    Views
    6,927

    Re: Recursive function task

    Congratulations! :)
  13. Replies
    24
    Views
    10,848

    Re: Accessing app config data

    Many types just return their name.
  14. Re: Request: Win32 in C++ Project Ideas : Beginner

    How's it going?
  15. Replies
    35
    Views
    6,927

    Re: Recursive function task

    No, because of the return statement the second 'if' is skipped.



    if (isdigit(*p))
    {
    *p='-';
    return (1 + rekurzija(p+1));
    }
  16. Replies
    35
    Views
    6,927

    Re: Recursive function task

    Yes, that's what I said. ;)
    I made a small mistake in that it should be MOVE.B for byte.

    A1 and A2 are CPU registers which hold addresses.
    MOVE (A1)+,(A2)+ means "move what is in the address...
  17. Replies
    35
    Views
    6,927

    Re: Recursive function task

    *dest++ = *src++
    That was the first ever implementation by C&R, I believe.

    In 68K assembler, you could express that in a single instruction: MOVE (A1)+,(A2)+
    That would automatically set the...
  18. Replies
    8
    Views
    1,938

    Re: problem creating decode function

    By the way, do you need to unencrypt the password at all?

    If the user enters their password, you could encrypt what they entered and compare it with the encrypted password in the database.
  19. Replies
    24
    Views
    10,848

    Re: Accessing app config data

    I'd suggest defining an enum and using ToString in order to avoid annoying typo-bugs.


    public enum class ResourceID
    {
    appSettingsKey
    };
    //...
    string appSetting =...
  20. Replies
    6
    Views
    1,084

    Re: File Structure

    Files in Windows do not have standardised headers. For example a simple text file containing the words "Hello" will only be 5 bytes in length.

    The file extension is what tells you about the file...
  21. Replies
    6
    Views
    1,174

    Re: slow array indexing

    Also on that note ... as you move through the array, make sure that you are accessing bytes which are next to each other in memory to aid caching, eg. do one row at a time not one column at a time.
  22. Replies
    35
    Views
    6,927

    Re: Recursive function task

    I wonder if pointer function means pointer-to-function or a function which takes a pointer.


    That was part of the coding standards in my pevious job and over the years did trap a few mistakes....
  23. Replies
    9
    Views
    1,186

    Re: Abstract Class like Java

    Here is a very simplified example of what I might do in C++:



    --- VehicleInterface.h ---

    struct VehicleInterface
    {
    virtual void start()=0;
    virtual void run()=0;
  24. Replies
    3
    Views
    642

    Re: Question about virtual tables

    Mystery solved, at least partially.

    I added the following lines ...


    IUnknown* unknownSimple = &simple;
    unknownSimple->AddRef();

    ... and went into the debugger in 'show disassembly' mode.
  25. Replies
    3
    Views
    642

    Re: Question about virtual tables

    COM has nothing to do with Visual Studio or MFC and is not part of the WinAPI so I thought this would be the best place to put it.

    Interesting comment about 'pointer to a virtual function'.
    ...
Results 1 to 25 of 2000
Page 1 of 80 1 2 3 4





Click Here to Expand Forum to Full Width

Featured