- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
When I used Visual basic.net 2003 to call a VF dll, I got a error message
'System.NullReferenceException' ocurred in system.windows.forms.dll
Additional information:Object reference not set to an instance of an object.Could any expert tell me the reason?
'System.NullReferenceException' ocurred in system.windows.forms.dll
Additional information:Object reference not set to an instance of an object.Could any expert tell me the reason?
Link Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There can be many reasons, but let me suggest you try this. Right click on your Fortran project, select Properties. Click on Fortran, Libraries and change Runtime Library to "Multithread DLL" - or, actually, anything except "Debug Multithreaded".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There can be many reasons, but let me suggest you try this. Right click on your Fortran project, select Properties. Click on Fortran, Libraries and change Runtime Library to "Multithread DLL" - or, actually, anything except "Debug Multithreaded". Then rebuild your DLL.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
error still comes up, even i use the sample code in HP website
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

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