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
sashah
NA
6
0
C# pass/return bitmap to VB6
Apr 21 2005 12:43 PM
Hi I successfully created a c# dll that can be called from VB6. However I dont understand why I can do (after adding dll as a reference)... Dim a As New Calc msgbox.Show = MsgBox a.Add(100, 100) 'dll returns x*y so a function that returns an integer works but a function that returns a bitmap does not. Dim a As New Calc Picture2 = a.getpic(LoadPicture(App.Path & "\images\desktop2.bmp)) 'c# dll that returns bmp picture1.picture = picture 2 IT SAYS TYPE MIS_MATCH WHEN I DO THIS. WHY??????????????????????????? PLEEEEEEEEEESE HEELLLLP.
Reply
Answers (
1
)
Byte arrays
C# & Crystal Reports Query Engine error