Click here to Skip to main content
15,890,185 members
Home / Discussions / C#
   

C#

 
AnswerRe: Windows Service - Access is denied. Pin
Frank Horn23-Jul-08 6:52
Frank Horn23-Jul-08 6:52 
AnswerRe: Windows Service - Access is denied. Pin
dataminers24-Jul-08 7:22
dataminers24-Jul-08 7:22 
Questionuse the loudspeakers with C# Pin
amityo23-Jul-08 5:08
amityo23-Jul-08 5:08 
AnswerRe: use the loudspeakers with C# Pin
mark_w_23-Jul-08 5:24
mark_w_23-Jul-08 5:24 
GeneralRe: use the loudspeakers with C# Pin
amityo23-Jul-08 5:28
amityo23-Jul-08 5:28 
GeneralRe: use the loudspeakers with C# Pin
mark_w_23-Jul-08 5:32
mark_w_23-Jul-08 5:32 
GeneralRe: use the loudspeakers with C# Pin
Luc Pattyn23-Jul-08 7:01
sitebuilderLuc Pattyn23-Jul-08 7:01 
GeneralRe: use the loudspeakers with C# Pin
amityo23-Jul-08 13:23
amityo23-Jul-08 13:23 
GeneralRe: use the loudspeakers with C# Pin
Luc Pattyn23-Jul-08 13:44
sitebuilderLuc Pattyn23-Jul-08 13:44 
GeneralRe: use the loudspeakers with C# Pin
amityo23-Jul-08 13:29
amityo23-Jul-08 13:29 
AnswerRe: use the loudspeakers with C#-one more question Pin
amityo23-Jul-08 13:41
amityo23-Jul-08 13:41 
QuestionDLLImport problem Pin
teejayem23-Jul-08 4:35
teejayem23-Jul-08 4:35 
AnswerRe: DLLImport problem Pin
Luc Pattyn23-Jul-08 4:43
sitebuilderLuc Pattyn23-Jul-08 4:43 
GeneralRe: DLLImport problem Pin
teejayem23-Jul-08 5:01
teejayem23-Jul-08 5:01 
Hey Luc!

Thats not good news! Sigh | :sigh:

I did a search on DLLImport & varargs and i was able to find someonthing HERE[^].

Right above the examples it explains the enum types. I found
Cdecl  -- The caller cleans the stack. This enables calling functions with varargs, 
which makes it appropriate to use for methods that accept a variable number of parameters, such as Printf.


I see in the example how they are using it in the printf. Do you think if i was to change my signature to
private static extern void ic_subcall(string sub_name, long sub_name_len, ref long code, long num_args, icstring var_args1, icstring var_args2, ..., ...);

and used the calling convention documented that i would work?

Don't be overcome by evil, but overcome evil with good

GeneralRe: DLLImport problem Pin
Luc Pattyn23-Jul-08 5:17
sitebuilderLuc Pattyn23-Jul-08 5:17 
GeneralRe: DLLImport problem Pin
teejayem23-Jul-08 6:07
teejayem23-Jul-08 6:07 
AnswerRe: DLLImport problem Pin
led mike23-Jul-08 5:05
led mike23-Jul-08 5:05 
GeneralRe: DLLImport problem Pin
teejayem23-Jul-08 5:17
teejayem23-Jul-08 5:17 
GeneralRe: DLLImport problem Pin
led mike23-Jul-08 6:01
led mike23-Jul-08 6:01 
GeneralRe: DLLImport problem [modified] Pin
teejayem23-Jul-08 6:27
teejayem23-Jul-08 6:27 
GeneralRe: DLLImport problem Pin
led mike23-Jul-08 8:48
led mike23-Jul-08 8:48 
Questionadd data in datarow and fit max length columns Pin
JoZ CaVaLLo23-Jul-08 4:32
JoZ CaVaLLo23-Jul-08 4:32 
AnswerRe: add data in datarow and fit max length columns Pin
JoZ CaVaLLo23-Jul-08 4:46
JoZ CaVaLLo23-Jul-08 4:46 
Questionwin form treeview image Pin
arkiboys23-Jul-08 3:53
arkiboys23-Jul-08 3:53 
AnswerRe: win form treeview image Pin
Luc Pattyn23-Jul-08 4:07
sitebuilderLuc Pattyn23-Jul-08 4:07 

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.