Results 1 to 4 of 4

Thread: Umm err is this right???

  1. #1

    Umm err is this right???

    Okay,

    Ive downloaded the Jedi Dx8 stuff.
    Now all the C apps Ive written with DX requiers a device->Release() call.
    When I try that in delphi it dies. badly.

    In the simple app thats with the delphi stuff it just sets the device to nil.

    Is this right??
    Whats going on here, is there some method I can't trace into going on or what?

    Armand.

  2. #2

    Umm err is this right???

    In Delphi you do not need to call Release, since Delphi calls it automatically when you set the reference to nil. i.e, instead of doing this:
    [pascal]MyInterface._Release;
    MyInterface := nil;[/pascal]
    you simply say:
    [pascal]MyInterface := nil;[/pascal]
    [size=10px][ Join us in #pgd on irc.freenode.net ] [ Sign the Petition for a Software Patent Free Europe ][/size]

  3. #3

    Umm err is this right???

    Useless Hacker: Thanksfor the quick responce.
    I hoped it was something like that but wasn't sure.

    Cool.

  4. #4

    Umm err is this right???

    My pleasure.
    [size=10px][ Join us in #pgd on irc.freenode.net ] [ Sign the Petition for a Software Patent Free Europe ][/size]

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •