C++ to Delphi conversion
From: Oliver Young (none)
Date: 12/23/03
- Next message: Robert Marquardt: "Re: C++ to Delphi conversion"
- Previous message: Mehmet: "Re: DLLEntryPoint's problem"
- Next in thread: Robert Marquardt: "Re: C++ to Delphi conversion"
- Reply: Robert Marquardt: "Re: C++ to Delphi conversion"
- Reply: Rudy Velthuis (TeamB): "Re: C++ to Delphi conversion"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 23 Dec 2003 10:40:31 +0100
> If the (C++) DLL allocated the memory
> with 'new', then you *must* pass the (variable, char*) memory back
> to the DLL so that it can call 'delete'. Delphi has no
> 'delete' operator so it will not be able to free the
> memory correctly.
Is this truth? Delphi can't free char* (PCHAR) output pointer from function?
- Next message: Robert Marquardt: "Re: C++ to Delphi conversion"
- Previous message: Mehmet: "Re: DLLEntryPoint's problem"
- Next in thread: Robert Marquardt: "Re: C++ to Delphi conversion"
- Reply: Robert Marquardt: "Re: C++ to Delphi conversion"
- Reply: Rudy Velthuis (TeamB): "Re: C++ to Delphi conversion"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|