Click here to Skip to main content
15,895,667 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionSTL list member function(S) Pin
Amr.Mohammad8719-Nov-15 7:05
Amr.Mohammad8719-Nov-15 7:05 
AnswerRe: STL list member function(S) Pin
Chris Losinger19-Nov-15 7:41
professionalChris Losinger19-Nov-15 7:41 
GeneralRe: STL list member function(S) Pin
Amr.Mohammad8719-Nov-15 12:47
Amr.Mohammad8719-Nov-15 12:47 
GeneralRe: STL list member function(S) Pin
CPallini19-Nov-15 21:26
mveCPallini19-Nov-15 21:26 
QuestionReturning CBitmap* pointer Pin
_Flaviu18-Nov-15 20:15
_Flaviu18-Nov-15 20:15 
SuggestionRe: Returning CBitmap* pointer Pin
Richard MacCutchan18-Nov-15 21:40
mveRichard MacCutchan18-Nov-15 21:40 
GeneralRe: Returning CBitmap* pointer Pin
_Flaviu19-Nov-15 0:20
_Flaviu19-Nov-15 0:20 
GeneralRe: Returning CBitmap* pointer Pin
Richard MacCutchan19-Nov-15 1:43
mveRichard MacCutchan19-Nov-15 1:43 
QuestionC++ Pin
Member 1215089418-Nov-15 11:38
Member 1215089418-Nov-15 11:38 
AnswerRe: C++ Pin
Richard Andrew x6418-Nov-15 12:00
professionalRichard Andrew x6418-Nov-15 12:00 
GeneralRe: C++ Pin
Member 1215089418-Nov-15 12:06
Member 1215089418-Nov-15 12:06 
AnswerRe: C++ Pin
CPallini18-Nov-15 21:52
mveCPallini18-Nov-15 21:52 
AnswerRe: C++ Pin
Jochen Arndt18-Nov-15 22:54
professionalJochen Arndt18-Nov-15 22:54 
AnswerRe: C++ Pin
«_Superman_»29-Nov-15 19:08
professional«_Superman_»29-Nov-15 19:08 
QuestionChange printed background color, how? Pin
Tom Stokes17-Nov-15 14:53
Tom Stokes17-Nov-15 14:53 
AnswerRe: Change printed background color, how? Pin
Richard MacCutchan17-Nov-15 21:54
mveRichard MacCutchan17-Nov-15 21:54 
GeneralRe: Change printed background color, how? Pin
Tom Stokes18-Nov-15 13:48
Tom Stokes18-Nov-15 13:48 
Questionhelp creating a COM/ATL wrapper for a USB Scanner for VB6 Pin
E Wolf16-Nov-15 6:00
E Wolf16-Nov-15 6:00 
My first program in VC6 (ever) is a wrapper so the the DLLs provided by our Scanner vendor can be used in our VB6 application. (They won't provide compatible DLLs)

I did some experimental programs and successfully wrapped the librarys in a vc6 program and created a test dialog to access the function. Good to go.

Then I followed this COM/ATL example:
http://www.codeproject.com/Articles/96/Beginner-s-Tutorial-COM-ATL-Simple-Project

I Created a COM project just like the example, added my includes for the provided vendor DLLs and abstracted access to the library calls.

Wonderfully, magically the library shows up the the VB6 reference list. I include it just like in the example program and when I try to access the simplest function (Is the scanner connected?) the call to the function CRASHES VB6 with an access violation!

I'm at the end of ideas here. I did run depends.exe against the 4 library DLLs that our vendor provided and there are a number of DLL dependencies missing on my machine. Could my problem be those missing dependencies alone? (They reference IE dlls that I don't believe are applicable to anything I'm asking the library to do.)

Thanks for your time.
SuggestionRe: help creating a COM/ATL wrapper for a USB Scanner for VB6 Pin
Richard MacCutchan16-Nov-15 7:25
mveRichard MacCutchan16-Nov-15 7:25 
QuestionCapture Screen whenever the display is updated Pin
Vijjuuu.16-Nov-15 0:17
Vijjuuu.16-Nov-15 0:17 
AnswerRe: Capture Screen whenever the display is updated Pin
John Torjo16-Nov-15 0:39
professionalJohn Torjo16-Nov-15 0:39 
GeneralA Data Structures Book Needed Pin
Amr.Mohammad8715-Nov-15 14:14
Amr.Mohammad8715-Nov-15 14:14 
QuestionRe: A Data Structures Book Needed Pin
David Crow16-Nov-15 2:45
David Crow16-Nov-15 2:45 
AnswerRe: A Data Structures Book Needed Pin
Amr.Mohammad8719-Nov-15 6:56
Amr.Mohammad8719-Nov-15 6:56 
QuestionRe: A Data Structures Book Needed Pin
David Crow19-Nov-15 7:30
David Crow19-Nov-15 7:30 

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.