-
Junior Member
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.
-
Super Member
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]
-
Junior Member
Umm err is this right???
Useless Hacker: Thanksfor the quick responce.
I hoped it was something like that but wasn't sure.
Cool.
-
Super Member
Umm err is this right???
My pleasure.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
http://flippulseimages.com/Food/dmr-trailstar.html