Menu

delphi .NET

Help
2006-08-29
2012-07-18
  • Nobody/Anonymous

    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 :-)

     
    • TridenT

      TridenT - 2006-09-02

      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 ?

       
    • Nobody/Anonymous

      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?

       
      • TridenT

        TridenT - 2006-09-18

        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

         
    • Nobody/Anonymous

      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!

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.