TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Areeb Quazi
NA
109
0
is there any alternative for Any keywork in .net
Dec 13 2012 8:32 AM
Hi,
I have migrated ActiveX (VB6) project in .net (.exe type project) Is it right ?
after migration I am getting some errors
1- For
VarPtr
(vb6 function) any alternate function in .net
2- In my application used
CopyMemory Lib "kernel32"
with paratmeter any.
I tried by replacign any with object not working.
3- One structure is there and passing object of structure to CopyMemory function
Public Structure udtGUID
Dim Data1 As Integer
Dim Data2 As Short
Dim Data3 As Short
<VBFixedArray(7)> Dim Data4() As Byte
Public Sub Initialize()
ReDim Data4(7)
End Sub
End Structure
Dim rClsId As udtGUID
CopyMemory(rClsId, riid, Len(rClsId))
Is there any alternative for CopyMemory in .net
Thanks
Reply
Answers (
1
)
70-502 Dumps
Autocomplete Text Box With Images in asp.net