Click here to Skip to main content
16,006,452 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
JokeRe: Scroll-problem with grid of Chris Maunder Pin
Rajesh R Subramanian9-Mar-07 3:56
professionalRajesh R Subramanian9-Mar-07 3:56 
JokeRe: Scroll-problem with grid of Chris Maunder Pin
ensger9-Mar-07 9:19
ensger9-Mar-07 9:19 
QuestionRe: Scroll-problem with grid of Chris Maunder Pin
Mark Salsbery9-Mar-07 5:41
Mark Salsbery9-Mar-07 5:41 
AnswerRe: Scroll-problem with grid of Chris Maunder Pin
ensger9-Mar-07 8:41
ensger9-Mar-07 8:41 
GeneralRe: Scroll-problem with grid of Chris Maunder Pin
Mark Salsbery9-Mar-07 11:19
Mark Salsbery9-Mar-07 11:19 
GeneralRe: Scroll-problem with grid of Chris Maunder Pin
ensger9-Mar-07 11:36
ensger9-Mar-07 11:36 
GeneralRe: Scroll-problem with grid of Chris Maunder Pin
Mark Salsbery9-Mar-07 11:45
Mark Salsbery9-Mar-07 11:45 
QuestionP/Invoke Pin
rushiraj.jhala9-Mar-07 3:17
rushiraj.jhala9-Mar-07 3:17 
hi,

I want to use vc++6.0 win32 dll in my VC++.net project
What can I do?

I have done this

using namespace System;
using namespace System::Runtime::InteropServices;

[DllImport("MYDLL.dll")]
extern "C" int _cdecl addno(int a, int b);

and got error given bellow

error C2337: 'DllImport' : attribute not found; it is neither a built-in nor a custom attribute that is accessible in the current namespace

error C2653: 'System' : is not a class or namespace name

error C2871: 'InteropServices' : a namespace with this name does not exist



Thanks in advance

Rushiraj
AnswerRe: P/Invoke Pin
prasad_som9-Mar-07 4:31
prasad_som9-Mar-07 4:31 
GeneralRe: P/Invoke Pin
rushiraj.jhala9-Mar-07 18:46
rushiraj.jhala9-Mar-07 18:46 
AnswerRe: P/Invoke Pin
prasad_som9-Mar-07 22:16
prasad_som9-Mar-07 22:16 
AnswerRe: P/Invoke Pin
led mike9-Mar-07 4:35
led mike9-Mar-07 4:35 
QuestionMouse & Keyboard Focus Pin
Sydes9-Mar-07 3:08
Sydes9-Mar-07 3:08 
QuestionHow can i remove some application of appear in Task manager ? Pin
Yanshof9-Mar-07 3:06
Yanshof9-Mar-07 3:06 
AnswerRe: How can i remove some application of appear in Task manager ? Pin
Chris Losinger9-Mar-07 3:25
professionalChris Losinger9-Mar-07 3:25 
GeneralRe: How can i remove some application of appear in Task manager ? Pin
Yanshof9-Mar-07 3:39
Yanshof9-Mar-07 3:39 
GeneralRe: How can i remove some application of appear in Task manager ? Pin
Roger Stoltz9-Mar-07 4:52
Roger Stoltz9-Mar-07 4:52 
GeneralRe: How can i remove some application of appear in Task manager ? Pin
Yanshof9-Mar-07 5:54
Yanshof9-Mar-07 5:54 
GeneralRe: How can i remove some application of appear in Task manager ? Pin
Mark Salsbery9-Mar-07 11:57
Mark Salsbery9-Mar-07 11:57 
GeneralRe: How can i remove some application of appear in Task manager ? Pin
cp98769-Mar-07 18:01
cp98769-Mar-07 18:01 
GeneralRe: How can i remove some application of appear in Task manager ? Pin
Rajesh R Subramanian9-Mar-07 3:54
professionalRajesh R Subramanian9-Mar-07 3:54 
QuestionError ::implicit cast of pointer to non-equal pointer Pin
harshadha9-Mar-07 2:14
harshadha9-Mar-07 2:14 
QuestionRe: Error ::implicit cast of pointer to non-equal pointer Pin
Cedric Moonen9-Mar-07 2:53
Cedric Moonen9-Mar-07 2:53 
QuestionRe: Error ::implicit cast of pointer to non-equal pointer Pin
vibindia9-Mar-07 2:56
vibindia9-Mar-07 2:56 
QuestionRe: Error ::implicit cast of pointer to non-equal pointer Pin
David Crow9-Mar-07 3:00
David Crow9-Mar-07 3:00 

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.