Hello Friends,
I am trying to port my win32 delphi application to delphi dot net.. There
are some pointer issue.
Please guide me how should i go for this follwing in dot net.
This is one function
function GetPDataType(DTID: Integer): TPDataType;(Declared like this)
and TPDataType is declared as follows
TPDataType = ^TDataType;(define a pointer to Tdatatype )
and in other file
TDataType is record like this
Like this
TDataType = record
//----------------------------------------------------------
Name : ShortString; //String
Size : Integer;
KindOf : ShortString
How should i Convert this pointers in dot net can u help me pls
When i compile this code in dot net I got an error that
[Pascal Error] E2410 Unsafe pointer variables, parameters or consts only
allowed in unsafe procedure (error on defination of function)
Obviously because of pointers .. (I tried by declarative unsafe code on and
unsafe keyword ) but its not functioning .. I need to convert this pointer..
Guide me pls
Regards,
Soniya Patankar
---------------------------------
Find out what India is talking about on Yahoo! Answers India.
So, whatÂ’s NEW about the NEW Yahoo! Messenger? Find out.
[Non-text portions of this message have been removed]
------------------------ Yahoo! Groups Sponsor --------------------~-->
Something is new at Yahoo! Groups. Check out the enhanced email design.
http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/i7folB/TM
--------------------------------------------------------------------~->
-----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED]
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/delphi-en/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/