Click here to Skip to main content
15,921,905 members
Home / Discussions / C#
   

C#

 
Question"For" bucle doesn't work in c#? Pin
Heinz_5-Sep-05 20:03
Heinz_5-Sep-05 20:03 
AnswerRe: "For" bucle doesn't work in c#? Pin
Stefan Troschuetz5-Sep-05 20:22
Stefan Troschuetz5-Sep-05 20:22 
QuestionResizing Pin
dhanunjay5-Sep-05 19:08
dhanunjay5-Sep-05 19:08 
QuestionC# Nested Structure Marshalling Pin
RobVai5-Sep-05 18:59
RobVai5-Sep-05 18:59 
AnswerRe: C# Nested Structure Marshalling Pin
leppie6-Sep-05 3:51
leppie6-Sep-05 3:51 
GeneralRe: C# Nested Structure Marshalling Pin
RobVai7-Sep-05 13:46
RobVai7-Sep-05 13:46 
GeneralRe: C# Nested Structure Marshalling Pin
leppie7-Sep-05 14:16
leppie7-Sep-05 14:16 
QuestionSave a pictureBox object as JPEG or BMP? Pin
boraxx5-Sep-05 18:25
boraxx5-Sep-05 18:25 
AnswerRe: Save a pictureBox object as JPEG or BMP? Pin
Andrew Kirillov5-Sep-05 19:09
Andrew Kirillov5-Sep-05 19:09 
GeneralRe: Save a pictureBox object as JPEG or BMP? Pin
boraxx6-Sep-05 14:31
boraxx6-Sep-05 14:31 
GeneralRe: Save a pictureBox object as JPEG or BMP? Pin
Andrew Kirillov6-Sep-05 18:57
Andrew Kirillov6-Sep-05 18:57 
GeneralRe: Save a pictureBox object as JPEG or BMP? Pin
boraxx6-Sep-05 20:35
boraxx6-Sep-05 20:35 
QuestionHow to make ScrollBar attached to Panel automatically? Pin
radic.feng5-Sep-05 17:16
radic.feng5-Sep-05 17:16 
Question?Word object Pin
mitsemaj5-Sep-05 16:20
mitsemaj5-Sep-05 16:20 
QuestionNUnit tests Pin
savage_5-Sep-05 11:25
savage_5-Sep-05 11:25 
AnswerRe: NUnit tests Pin
Andy Brummer5-Sep-05 17:00
sitebuilderAndy Brummer5-Sep-05 17:00 
GeneralRe: NUnit tests Pin
savage_5-Sep-05 17:30
savage_5-Sep-05 17:30 
GeneralRe: NUnit tests Pin
savage_5-Sep-05 18:07
savage_5-Sep-05 18:07 
QuestionProblems using C++ SDK Pin
Christian Graus5-Sep-05 11:20
protectorChristian Graus5-Sep-05 11:20 
AnswerRe: Problems using C++ SDK Pin
leppie5-Sep-05 13:12
leppie5-Sep-05 13:12 
GeneralRe: Problems using C++ SDK Pin
Christian Graus5-Sep-05 13:16
protectorChristian Graus5-Sep-05 13:16 
leppie wrote:
Compile all unmanaged code as unmanaged, without /clr.

How do I then call it from C# ? Where does the MC++ code go into it ?

I get errors like this :

d:\Contract Work\Fotovision\Imaging\Imaging.cpp(121): error C2664: 'CDStartViewfinder' : cannot convert parameter 3 from 'cdUInt32 (cdVoid *,cdUInt32,cdUInt32,cdContext)' to 'cdViewFinderCallbackFunction (__stdcall *)'

d:\Contract Work\Fotovision\Imaging\Imaging.cpp(136): error C2440: 'type cast' : cannot convert from 'LPVOID' to 'Imaging::Canon __gc *'

The second was for passing this into a function.

If I put __nogc on the class, I get this:

d:\Contract Work\Fotovision\Imaging\Imaging.h(22): error C3381: 'Imaging::Canon' : an assembly access specifier can only be applied to a managed type



Christian Graus - Microsoft MVP - C++
QuestionMember values in reflection Pin
Yoyosch5-Sep-05 11:09
Yoyosch5-Sep-05 11:09 
AnswerRe: Member values in reflection Pin
Christian Graus5-Sep-05 11:17
protectorChristian Graus5-Sep-05 11:17 
GeneralRe: Member values in reflection Pin
Yoyosch5-Sep-05 13:15
Yoyosch5-Sep-05 13:15 
GeneralRe: Member values in reflection Pin
Christian Graus5-Sep-05 13:17
protectorChristian Graus5-Sep-05 13:17 

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.