Click here to Skip to main content
15,887,267 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to make member functions of an application accessible by a DLL? Pin
Stephen Hewitt2-Aug-11 21:24
Stephen Hewitt2-Aug-11 21:24 
GeneralRe: How to make member functions of an application accessible by a DLL? Pin
Chris Losinger3-Aug-11 0:50
professionalChris Losinger3-Aug-11 0:50 
AnswerRe: How to make member functions of an application accessible by a DLL? Pin
Albert Holguin2-Aug-11 12:15
professionalAlbert Holguin2-Aug-11 12:15 
GeneralRe: How to make member functions of an application accessible by a DLL? Pin
Arris742-Aug-11 20:36
Arris742-Aug-11 20:36 
GeneralRe: How to make member functions of an application accessible by a DLL? Pin
Albert Holguin3-Aug-11 5:07
professionalAlbert Holguin3-Aug-11 5:07 
AnswerRe: How to make member functions of an application accessible by a DLL? Pin
Richard MacCutchan2-Aug-11 22:46
mveRichard MacCutchan2-Aug-11 22:46 
AnswerRe: How to make member functions of an application accessible by a DLL? Pin
MANISH RASTOGI4-Aug-11 2:51
MANISH RASTOGI4-Aug-11 2:51 
Question/clr:pure question Pin
WebDev.ChrisG2-Aug-11 5:01
WebDev.ChrisG2-Aug-11 5:01 
I posted a question on here a few days ago and got a great deal of help. Hopefully someone will be able to help me again.

Some quick background: I've got very little experience with C++ and was thrown into a job that needed some custom application for a client's scanner. My background is in web development, so I may explain something incorrectly now and then.

Much of the code I'm working with is from the Canon CapturePerfect SDK.

The error I'm receiving is

VB
error C3641: 'CpCallBackFunc' : invalid calling convention '__stdcall ' for function compiled with /clr:pure or /clr:safe


The line causing this error reads:

C++
int WINAPI CpCallBackFunc( int, WPARAM, LPARAM, DWORD );


The line is in a header file attached to the main document. Is there a way to adjust this so that the program will still run with clr:pure, or a clr support setting that will allow the function to compile without changing everything else? The project so far has been coded with clr:pure.
AnswerRe: /clr:pure question Pin
Rolf Kristensen2-Aug-11 12:47
Rolf Kristensen2-Aug-11 12:47 
GeneralRe: /clr:pure question Pin
WebDev.ChrisG4-Aug-11 11:22
WebDev.ChrisG4-Aug-11 11:22 
QuestionIs it possible to use a different theme only for my app Pin
Cold_Fearing_Bird2-Aug-11 0:13
Cold_Fearing_Bird2-Aug-11 0:13 
AnswerRe: Is it possible to use a different theme only for my app Pin
Nemanja Trifunovic2-Aug-11 4:19
Nemanja Trifunovic2-Aug-11 4:19 
SuggestionRe: Is it possible to use a different theme only for my app PinPopular
Charles Oppermann2-Aug-11 19:54
Charles Oppermann2-Aug-11 19:54 
Questionvirtual inheritance and polymorphism! [modified] Pin
Dean Seo1-Aug-11 20:03
Dean Seo1-Aug-11 20:03 
AnswerRe: virtual inheritance and polymorphism! Pin
Peter_in_27801-Aug-11 20:36
professionalPeter_in_27801-Aug-11 20:36 
GeneralRe: virtual inheritance and polymorphism! Pin
Dean Seo3-Aug-11 16:20
Dean Seo3-Aug-11 16:20 
AnswerRe: virtual inheritance and polymorphism! Pin
QuickDeveloper1-Aug-11 21:35
QuickDeveloper1-Aug-11 21:35 
GeneralRe: virtual inheritance and polymorphism! Pin
Emilio Garavaglia2-Aug-11 20:21
Emilio Garavaglia2-Aug-11 20:21 
GeneralRe: virtual inheritance and polymorphism! Pin
Dean Seo3-Aug-11 16:23
Dean Seo3-Aug-11 16:23 
GeneralRe: virtual inheritance and polymorphism! Pin
Dean Seo3-Aug-11 16:23
Dean Seo3-Aug-11 16:23 
AnswerRe: virtual inheritance and polymorphism! Pin
Chandrasekharan P1-Aug-11 22:03
Chandrasekharan P1-Aug-11 22:03 
GeneralRe: virtual inheritance and polymorphism! Pin
Dean Seo3-Aug-11 16:23
Dean Seo3-Aug-11 16:23 
AnswerRe: virtual inheritance and polymorphism! Pin
Resmi Anna1-Aug-11 23:04
Resmi Anna1-Aug-11 23:04 
GeneralRe: virtual inheritance and polymorphism! Pin
Emilio Garavaglia2-Aug-11 20:30
Emilio Garavaglia2-Aug-11 20:30 
GeneralRe: virtual inheritance and polymorphism! Pin
Dean Seo3-Aug-11 16:24
Dean Seo3-Aug-11 16:24 

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.