Richard R wrote: > Thanks for the info. I think I came up with a solution that doesnt cause a > memory leak. Since I'm dealing with the host application and conversion > from > vc++ headers, I have to deal with raw pointer types.
No you don't. You're free to declare any pointer types you want. I encourage you to declare types that accurately reflect what they point at. > Now as to initializing > that variable I was refering to, I simply initialized it as variable:= > Pointer(1); And it works with the function. The function is faulty that it > returns nil if the variable is nil. What is the function supposed to do? -- Rob __________________________________________________ Delphi-Talk mailing list -> [email protected] http://www.elists.org/mailman/listinfo/delphi-talk
