Hi Rob

> Maybe not just for C++, but how about for *all* developers who aren't
using your version of Win32 Delphi? You're intentionally snubbing a 
very,
very large population of programmers.

I consider accessing my apps functions as a privilege, so developers can 
put up with what they get.  It will take much to much work to change all 
my record structures to use pChars throughout my app, and then do weeks 
of testing again to make sure there are no bugs.  It's quite a big 
application.

I could copy the delphi record structures to more compatible structures 
at the time of the remote function calls, but this is more work.

> You should document it as this:
> char const* Artist;
> char const* Title;

I don't understand how this can work since Delphi strings have the first 
4 bytes defining the length of the string.  And do Delphi strings always 
end with a null?  I assumed the plugin developer would have to read the 
length of the string.

> You're probably better off using the types defined by the Windows API,
> rather than the native C integer types.

Good idea.  I'll have to try and find them.

Thanks,
Ross. 

_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi

Reply via email to