- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all,
I am getting an error "0xC0000005: Access violation" when calling a function from a VB.net COM DLL...
But what does it mean?
Thanks for your help.
I am getting an error "0xC0000005: Access violation" when calling a function from a VB.net COM DLL...
But what does it mean?
Thanks for your help.
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Steve,
Many thanks for your help. It is a bit more clear for me and it looks like i have something wrong with my pointer to my VB.NET DLL.
What i don't understand, is that i am using these 3 functions, but the value returned by 'app' is not 0 but 15925296, should i assume that it points correctly to the sub in my DLL?:
CALL COMINITIALIZE(hRes)
CALL COMCREATEOBJECT ("VB_COM_DLL.ComClsInterface2d", app, hRes)
CALL $ComClsInterface2d_MsgBoxShow(app)
Also, i had a look on the V9Samples.zip especially on MixedLanguage, but all examples described NET exe calling Fortran DLL.
Unfortunately, i am trying to do the other way arround, that is to call a DLL made in .net from an exe made with fortran... Do you know where to find such an example?
Many thanks for your help. It is a bit more clear for me and it looks like i have something wrong with my pointer to my VB.NET DLL.
What i don't understand, is that i am using these 3 functions, but the value returned by 'app' is not 0 but 15925296, should i assume that it points correctly to the sub in my DLL?:
CALL COMINITIALIZE(hRes)
CALL COMCREATEOBJECT ("VB_COM_DLL.ComClsInterface2d", app, hRes)
CALL $ComClsInterface2d_MsgBoxShow(app)
Also, i had a look on the V9Samples.zip especially on MixedLanguage, but all examples described NET exe calling Fortran DLL.
Unfortunately, i am trying to do the other way arround, that is to call a DLL made in .net from an exe made with fortran... Do you know where to find such an example?
![](/skins/images/2E08A100FB92911314A240D1EAFB2828/responsive_peak/images/icon_anonymous_message.png)
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page