We used DelphiCodeToDoc and had no problems. Now we changed our sourcecode into Delphi.NET In the sourcecode is now "unsafe" set for several functions. It seems that DelphiCodeToDoc cannot work with that fact. Is that right or can we do something?
Thank you :-)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If I understand, you tried to compile DCTD with a newer version of compiler (maybe Delphi2006?); and you have unsafe warning during compilation ? Am I rigth ?
If so, well, it's just some limitation from the sourcecode of DCTD ... some "dangerous" function for .NET, since I have pointer (untyped) operation.
Why are you compiling this software that way ?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
We were transforming an older programm to Delphi2005.NET. In the older program were pointer used, so we set the unsafe operator in .NET. With that we can use pointer aswell. There is no compiler error. But you have to write the unsafe operator after the head of the function which uses pointer. For the older program we used DCTD dor documentation. When we try to make the documentation know with DCTD there is a problem with this unsafe operator. I think it is not known by DCTD. So what can I do? Maybe I can set something in DCTD?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
OK, I now understand your problem.
I never saw it on any source code.
Can you send me an example, or a part of the source, so I will be able to reproduce it and fix it very quickly.
Sorry for my late answer.
send it to trident_job@hotmail.com
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Yes, I know that it is a limitation of DCTD. I thought maybe there is an option I can set to ignore this problem in DCTD.
We transformed an older code to Delphi2005.NET and have to use the unsafe operator because there are pointer used. Before this transformation we used DCTD for documentation and now we have got this problem only because of the unsafe operator. That is very sad for us!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
We used DelphiCodeToDoc and had no problems. Now we changed our sourcecode into Delphi.NET In the sourcecode is now "unsafe" set for several functions. It seems that DelphiCodeToDoc cannot work with that fact. Is that right or can we do something?
Thank you :-)
If I understand, you tried to compile DCTD with a newer version of compiler (maybe Delphi2006?); and you have unsafe warning during compilation ? Am I rigth ?
If so, well, it's just some limitation from the sourcecode of DCTD ... some "dangerous" function for .NET, since I have pointer (untyped) operation.
Why are you compiling this software that way ?
We were transforming an older programm to Delphi2005.NET. In the older program were pointer used, so we set the unsafe operator in .NET. With that we can use pointer aswell. There is no compiler error. But you have to write the unsafe operator after the head of the function which uses pointer. For the older program we used DCTD dor documentation. When we try to make the documentation know with DCTD there is a problem with this unsafe operator. I think it is not known by DCTD. So what can I do? Maybe I can set something in DCTD?
OK, I now understand your problem.
I never saw it on any source code.
Can you send me an example, or a part of the source, so I will be able to reproduce it and fix it very quickly.
Sorry for my late answer.
send it to trident_job@hotmail.com
Yes, I know that it is a limitation of DCTD. I thought maybe there is an option I can set to ignore this problem in DCTD.
We transformed an older code to Delphi2005.NET and have to use the unsafe operator because there are pointer used. Before this transformation we used DCTD for documentation and now we have got this problem only because of the unsafe operator. That is very sad for us!