Click here to Skip to main content
15,885,366 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to call the function in cellcore.dll? [modified] Pin
whiteclouds12-Sep-10 17:45
whiteclouds12-Sep-10 17:45 
GeneralRe: How to call the function in cellcore.dll? Pin
DaveyM6913-Sep-10 12:52
professionalDaveyM6913-Sep-10 12:52 
GeneralRe: How to call the function in cellcore.dll? Pin
whiteclouds13-Sep-10 15:33
whiteclouds13-Sep-10 15:33 
GeneralRe: How to call the function in cellcore.dll? Pin
DaveyM6914-Sep-10 8:25
professionalDaveyM6914-Sep-10 8:25 
GeneralRe: How to call the function in cellcore.dll? Pin
whiteclouds14-Sep-10 17:00
whiteclouds14-Sep-10 17:00 
GeneralRe: How to call the function in cellcore.dll? Pin
DaveyM6914-Sep-10 21:41
professionalDaveyM6914-Sep-10 21:41 
GeneralRe: How to call the function in cellcore.dll? Pin
whiteclouds16-Sep-10 23:53
whiteclouds16-Sep-10 23:53 
GeneralRe: How to call the function in cellcore.dll? Pin
DaveyM6918-Sep-10 2:33
professionalDaveyM6918-Sep-10 2:33 
Not too sure where the problem is. The first thing I'd do is get rid of the *, &, unsafe and fixed pointer stuff.
It's rarely needed as the built in marshaller can handle this stuff way better. I doubt it's the cause of your problems but declaring dwDevNum and creating a pointer from it's address is not going to work.

There are two keywords for passing value types by reference (thier pointer), ref and out.
If a value needs to be passed into a function then use ref. If the function doesn't need a value but there will be one there after the function returns then use out. In the case of dwDevNum this should be out but lpdwAPIVersion and dtParams should be ref. As IntPtr is a value type the pointer to a pointer for lphLineApp can be done using ref/out as well.

To the solution... have a look at this[^]. The guy says his C# code works.
Dave

Binging is like googling, it just feels dirtier.
Please take your VB.NET out of our nice case sensitive forum.
Astonish us. Be exceptional. (Pete O'Hanlon)

BTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)



GeneralRe: How to call the function in cellcore.dll? Pin
whiteclouds18-Sep-10 3:33
whiteclouds18-Sep-10 3:33 
QuestionPassing array of c# objects to vbscript [modified] Pin
scootyohansen9-Sep-10 22:03
scootyohansen9-Sep-10 22:03 
QuestionValidating string values Pin
Ramkithepower9-Sep-10 21:54
Ramkithepower9-Sep-10 21:54 
AnswerRe: Validating string values Pin
Kubajzz9-Sep-10 22:07
Kubajzz9-Sep-10 22:07 
GeneralRe: Validating string values Pin
Ramkithepower9-Sep-10 22:26
Ramkithepower9-Sep-10 22:26 
GeneralRe: Validating string values Pin
OriginalGriff10-Sep-10 0:28
mveOriginalGriff10-Sep-10 0:28 
AnswerRe: Validating string values Pin
PIEBALDconsult10-Sep-10 3:46
mvePIEBALDconsult10-Sep-10 3:46 
QuestionNot getting the reason for 'Application.OnThreadException' raised. Pin
srng.net9-Sep-10 21:31
srng.net9-Sep-10 21:31 
AnswerRe: Not getting the reason for 'Application.OnThreadException' raised. Pin
Richard MacCutchan9-Sep-10 22:11
mveRichard MacCutchan9-Sep-10 22:11 
GeneralRe: Not getting the reason for 'Application.OnThreadException' raised. Pin
srng.net10-Sep-10 1:09
srng.net10-Sep-10 1:09 
GeneralRe: Not getting the reason for 'Application.OnThreadException' raised. Pin
Richard MacCutchan10-Sep-10 2:12
mveRichard MacCutchan10-Sep-10 2:12 
GeneralRe: Not getting the reason for 'Application.OnThreadException' raised. Pin
Dave Kreskowiak10-Sep-10 2:13
mveDave Kreskowiak10-Sep-10 2:13 
QuestionCan not create file using FileStream in release mode Pin
ndkit9-Sep-10 17:23
ndkit9-Sep-10 17:23 
AnswerRe: Can not create file using FileStream in release mode Pin
Luc Pattyn9-Sep-10 17:50
sitebuilderLuc Pattyn9-Sep-10 17:50 
GeneralRe: Can not create file using FileStream in release mode Pin
ndkit9-Sep-10 22:04
ndkit9-Sep-10 22:04 
GeneralRe: Can not create file using FileStream in release mode Pin
DaveyM699-Sep-10 22:21
professionalDaveyM699-Sep-10 22:21 
AnswerRe: Can not create file using FileStream in release mode Pin
Luc Pattyn10-Sep-10 1:42
sitebuilderLuc Pattyn10-Sep-10 1:42 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.