DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: Fri, 1 Jun 2007 13:14:07 +0200,    posted on: microsoft.public.dotnet.languages.vc.libraries        back       

Thread Index
  1    Jannis Linxweiler


System.AccessViolationException when calling native function   
Hi NG!

I would kindly ask you to help we out concerning following problem:

I use nVIDIAs CUDA library within one my native static C++ libraries. Using 
this static library from a mixed native and managed code C++/CLI project 
works well. That means I'm able to call the C functions from the static 
library that semselfs calls functions from the CUDA library.

To call the C functions from C# aswell I build a C++/CLI library containing 
a wrapper class for the C functions from the static lib. When using this 
C++/CLI library in either a C++/CLI, C# or VB .NET project a 
System.AccessViolationException is thrown when calling a CUDA function from 
one of the C functions in the static lib.

Has onyone an idea what's going wrong in this case.

Tanks,

Jannis
Date:Fri, 1 Jun 2007 13:14:07 +0200   Author:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us