الفريق العربي للبرمجةأرشيف المنتديات · 2000 – 2023
نسخة أرشيفية للقراءة فقط — التسجيل والمشاركة مغلقان، والمحتوى محفوظ كما كان.

سؤال في Marshal And As Any

مغلق
بدأه .S.T.A.L.K.E.R في 7 سبتمبر 2007 · 0 رد · 643 مشاهدة · في Microsoft Visual Basic.NET
مشاركة: واتساب X فيسبوك تيليجرام
#1

عندما قمت بتحويل برنامج من vb6 ال vb .net

ظهر الاتي في الموديول بعد التحويل

حيث تم اضافة تعليق comment الى الكود

فما هو المرشال و ما هي طريقة تخطي As Any

'UPGRADE_ISSUE: Declaring a parameter 'As Any' is not supported. Click for more: 'ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?keyword="FAE78A8D-8978-4FD4-8208-5B7324A8F795"'

Declare Function WriteFile Lib "kernel32" (ByVal hFile As Integer, ByRef lpBuffer As Integer, ByVal nNumberOfBytesToWrite As Integer, ByRef lpNumberOfBytesWritten As Integer, ByRef lpOverlapped As Integer) As Integer

'UPGRADE_WARNING: Structure COMMTIMEOUTS may require marshalling attributes to be passed as an argument in this Declare statement. Click for more: 'ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?keyword="C429C3A5-5D47-4CD9-8F51-74A1616405DC"'

Declare Function SetCommTimeouts Lib "kernel32" (ByVal hFile As Integer, ByRef lpCommTimeouts As COMMTIMEOUTS) As Integer

***التعليق باللون الاخضر و الكود باللون الازرق

و شكرا

هذا الموضوع مغلق.

مواضيع مشابهة