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

C#

 
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 
GeneralRe: Member values in reflection Pin
Yoyosch5-Sep-05 13:19
Yoyosch5-Sep-05 13:19 
GeneralRe: Member values in reflection Pin
Christian Graus5-Sep-05 13:43
protectorChristian Graus5-Sep-05 13:43 
GeneralRe: Member values in reflection Pin
Yoyosch5-Sep-05 13:54
Yoyosch5-Sep-05 13:54 
GeneralRe: Member values in reflection Pin
Christian Graus5-Sep-05 14:10
protectorChristian Graus5-Sep-05 14:10 
AnswerRe: Member values in reflection Pin
Mohamad Al Husseiny5-Sep-05 11:18
Mohamad Al Husseiny5-Sep-05 11:18 
QuestionListView Custom Draw Pin
peterchen5-Sep-05 9:52
peterchen5-Sep-05 9:52 
AnswerRe: ListView Custom Draw Pin
Mathew Hall5-Sep-05 17:08
Mathew Hall5-Sep-05 17:08 
Questionredrew the button using GDI+ Pin
webhay5-Sep-05 9:07
webhay5-Sep-05 9:07 
AnswerRe: redrew the button using GDI+ Pin
Martin#5-Sep-05 9:34
Martin#5-Sep-05 9:34 
GeneralRe: redrew the button using GDI+ Pin
webhay5-Sep-05 9:41
webhay5-Sep-05 9:41 
AnswerRe: redrew the button using GDI+ Pin
Mohamad Al Husseiny5-Sep-05 11:13
Mohamad Al Husseiny5-Sep-05 11:13 
QuestionWhy does the Windows.Forms.Form limit its Size Pin
Martin#5-Sep-05 8:54
Martin#5-Sep-05 8:54 
AnswerRe: Why does the Windows.Forms.Form limit its Size Pin
Christian Graus5-Sep-05 11:17
protectorChristian Graus5-Sep-05 11: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.