Click here to Skip to main content
15,909,896 members
Home / Discussions / C#
   

C#

 
GeneralRe: ToString() method on objects returned from a webservice (Compact framework) Pin
c0ax_lx30-Jun-09 4:57
c0ax_lx30-Jun-09 4:57 
GeneralRe: ToString() method on objects returned from a webservice (Compact framework) Pin
SeMartens30-Jun-09 5:08
SeMartens30-Jun-09 5:08 
GeneralRe: ToString() method on objects returned from a webservice (Compact framework) Pin
c0ax_lx30-Jun-09 23:14
c0ax_lx30-Jun-09 23:14 
QuestionQuick quest Pin
gwithey30-Jun-09 4:29
gwithey30-Jun-09 4:29 
AnswerRe: Quick quest Pin
musefan30-Jun-09 4:35
musefan30-Jun-09 4:35 
GeneralRe: Quick quest Pin
gwithey30-Jun-09 4:44
gwithey30-Jun-09 4:44 
AnswerRe: Quick quest Pin
c0ax_lx30-Jun-09 4:45
c0ax_lx30-Jun-09 4:45 
GeneralRe: Quick quest Pin
gwithey30-Jun-09 4:48
gwithey30-Jun-09 4:48 
GeneralRe: Quick quest Pin
c0ax_lx30-Jun-09 4:54
c0ax_lx30-Jun-09 4:54 
GeneralRe: Quick quest Pin
gwithey30-Jun-09 4:58
gwithey30-Jun-09 4:58 
GeneralRe: Quick quest Pin
musefan30-Jun-09 5:14
musefan30-Jun-09 5:14 
QuestionFilter GridView using a dropdown list but only after page populates with appropriate data from Query String Pin
mjc22530-Jun-09 4:23
mjc22530-Jun-09 4:23 
Questioncomplete removing of a C# COM component Pin
manustone30-Jun-09 3:24
manustone30-Jun-09 3:24 
QuestionCombobox and listbox control Pin
Hum Dum30-Jun-09 3:08
Hum Dum30-Jun-09 3:08 
AnswerRe: Combobox and listbox control Pin
musefan30-Jun-09 3:19
musefan30-Jun-09 3:19 
GeneralRe: Combobox and listbox control Pin
Hum Dum1-Jul-09 0:04
Hum Dum1-Jul-09 0:04 
GeneralRe: Combobox and listbox control Pin
musefan1-Jul-09 1:18
musefan1-Jul-09 1:18 
QuestionCalling a C function from C# and getting values from it. Pin
shivapriyak30-Jun-09 2:42
shivapriyak30-Jun-09 2:42 
AnswerRe: Calling a C function from C# and getting values from it. [modified] Pin
DaveyM6930-Jun-09 3:26
professionalDaveyM6930-Jun-09 3:26 
GeneralRe: Calling a C function from C# and getting values from it. Pin
shivapriyak30-Jun-09 3:34
shivapriyak30-Jun-09 3:34 
GeneralRe: Calling a C function from C# and getting values from it. Pin
DaveyM6930-Jun-09 3:39
professionalDaveyM6930-Jun-09 3:39 
GeneralRe: Calling a C function from C# and getting values from it. Pin
Luc Pattyn30-Jun-09 4:03
sitebuilderLuc Pattyn30-Jun-09 4:03 
AnswerRe: Calling a C function from C# and getting values from it. Pin
Luc Pattyn30-Jun-09 4:09
sitebuilderLuc Pattyn30-Jun-09 4:09 
GeneralRe: Calling a C function from C# and getting values from it. Pin
shivapriyak30-Jun-09 20:03
shivapriyak30-Jun-09 20:03 
GeneralRe: Calling a C function from C# and getting values from it. Pin
Luc Pattyn30-Jun-09 22:57
sitebuilderLuc Pattyn30-Jun-09 22:57 
Hi,


shivapriyak wrote:
it didn't work


that does not tell me much



shivapriyak wrote:
int func1(double param[],int size)
{
GCHandle handle = GCHandle.Alloc(param, GCHandleType.Pinned);
Pinvoke.func1(handle.AddrOfPinnedObject(),size);
}


looks good, except when done you need to free the GCHandle.


Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]

DISCLAIMER: this message may have been modified by others; it may no longer reflect what I intended, and may contain bad advice; use at your own risk and with extreme care.

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.