Click here to Skip to main content
14,663,253 members
Home » Discussions » C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: C++ Pin
Member 1215089418-Nov-15 12:06
MemberMember 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
MemberTom 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
MemberTom Stokes18-Nov-15 13:48 
Questionhelp creating a COM/ATL wrapper for a USB Scanner for VB6 Pin
E Wolf16-Nov-15 6:00
MemberE 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
MemberVijjuuu.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
MemberAmr.Mohammad8715-Nov-15 14:14 
QuestionRe: A Data Structures Book Needed Pin
David Crow16-Nov-15 2:45
MemberDavid Crow16-Nov-15 2:45 
AnswerRe: A Data Structures Book Needed Pin
Amr.Mohammad8719-Nov-15 6:56
MemberAmr.Mohammad8719-Nov-15 6:56 
QuestionRe: A Data Structures Book Needed Pin
David Crow19-Nov-15 7:30
MemberDavid Crow19-Nov-15 7:30 
AnswerRe: A Data Structures Book Needed Pin
Amr.Mohammad8719-Nov-15 12:58
MemberAmr.Mohammad8719-Nov-15 12:58 
Question[Code Review] [SFML] Simple Breakout/Arkanoid Clone + Asking for some help Pin
Matthaeus Jumpertz15-Nov-15 0:08
MemberMatthaeus 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
MemberDavid Crow16-Nov-15 2:46 
QuestionWhy my TreeView cannot show icon Pin
joshua013711-Nov-15 23:49
Memberjoshua013711-Nov-15 23:49 
QuestionCalling a URL from an MFC - MDI application Pin
Member 1210848611-Nov-15 18:22
MemberMember 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
MemberDavid Crow12-Nov-15 2:26 
QuestionVS 2010 C++ Debug Pin
Harry_D11-Nov-15 5:02
MemberHarry_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.