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

C / C++ / MFC

 
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 
AnswerRe: A Data Structures Book Needed Pin
Amr.Mohammad8719-Nov-15 12:58
Amr.Mohammad8719-Nov-15 12:58 
Question[Code Review] [SFML] Simple Breakout/Arkanoid Clone + Asking for some help Pin
Matthaeus Jumpertz15-Nov-15 0:08
Matthaeus Jumpertz15-Nov-15 0:08 
SuggestionRe: [Code Review] [SFML] Simple Breakout/Arkanoid Clone + Asking for some help Pin
Richard MacCutchan15-Nov-15 21:02
mveRichard MacCutchan15-Nov-15 21:02 
AnswerRe: [Code Review] [SFML] Simple Breakout/Arkanoid Clone + Asking for some help Pin
David Crow16-Nov-15 2:46
David Crow16-Nov-15 2:46 
QuestionWhy my TreeView cannot show icon Pin
joshua013711-Nov-15 23:49
joshua013711-Nov-15 23:49 
QuestionCalling a URL from an MFC - MDI application Pin
Member 1210848611-Nov-15 18:22
Member 1210848611-Nov-15 18:22 
AnswerRe: Calling a URL from an MFC - MDI application Pin
Richard MacCutchan11-Nov-15 21:17
mveRichard MacCutchan11-Nov-15 21:17 
AnswerRe: Calling a URL from an MFC - MDI application Pin
David Crow12-Nov-15 2:26
David Crow12-Nov-15 2:26 
QuestionVS 2010 C++ Debug Pin
Harry_D11-Nov-15 5:02
Harry_D11-Nov-15 5:02 
AnswerRe: VS 2010 C++ Debug Pin
Richard Andrew x6411-Nov-15 6:27
professionalRichard Andrew x6411-Nov-15 6:27 

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.