Click here to Skip to main content
15,913,944 members
Home / Discussions / COM
   

COM

 
AnswerRe: How to solve this problem??? Pin
Vi223-Apr-02 6:11
Vi223-Apr-02 6:11 
GeneralRe: How to solve this problem??? Pin
chq1223-Apr-02 12:58
chq1223-Apr-02 12:58 
GeneralRe: How to solve this problem??? Pin
Vi223-Apr-02 21:05
Vi223-Apr-02 21:05 
GeneralIPictureDisp with copy constructor Pin
21-Apr-02 1:27
suss21-Apr-02 1:27 
GeneralRe: IPictureDisp with copy constructor Pin
Vi223-Apr-02 21:25
Vi223-Apr-02 21:25 
GeneralRe: IPictureDisp with copy constructor Pin
26-Apr-02 0:25
suss26-Apr-02 0:25 
GeneralRe: IPictureDisp with copy constructor Pin
Vi226-Apr-02 23:45
Vi226-Apr-02 23:45 
GeneralRe: IPictureDisp with copy constructor Pin
27-Apr-02 1:59
suss27-Apr-02 1:59 
The OCArray is a faster CArray class (you can find it on this page).

The variable pPic is a LPPICTUREDISP an is passed by a function called from a VisualBasic application. (It is only a temporary variable).

It should work like that:
1. pPic is passed to the function
2. the function inserts the pPic into the array
3. and calls a function that updates the thumbnail view.

The point is that you can only insert two pic's, if you'll insert a third one the ocx crashes. Furthermore all pictures become the last inserted picture.

The declaration of LPPICTUREDISP is the standard MFC declaration.

The two files of my PICTUREDISP class can you find on:
http://www.martin.krellmann.net/PICTUREDISP.h.txt
http://www.martin.krellmann.net/PICTUREDISP.cpp.txt

GeneralRe: IPictureDisp with copy constructor Pin
Vi227-Apr-02 4:11
Vi227-Apr-02 4:11 
GeneralRe: IPictureDisp with copy constructor Pin
27-Apr-02 5:48
suss27-Apr-02 5:48 
QuestionHow to use an activex when user does not have an administrator account ? Pin
Jean-Michel LE FOL19-Apr-02 23:17
Jean-Michel LE FOL19-Apr-02 23:17 
GeneralLinker Error Pin
Madmaximus19-Apr-02 4:20
Madmaximus19-Apr-02 4:20 
GeneralRe: Linker Error Pin
Tim Smith19-Apr-02 4:25
Tim Smith19-Apr-02 4:25 
GeneralCComPtr Pin
19-Apr-02 2:57
suss19-Apr-02 2:57 
GeneralRe: CComPtr Pin
Tim Smith19-Apr-02 3:34
Tim Smith19-Apr-02 3:34 
QuestionReturning values from COM object ?? Pin
19-Apr-02 1:37
suss19-Apr-02 1:37 
AnswerRe: Returning values from COM object ?? Pin
Paul M Watt21-Apr-02 9:39
mentorPaul M Watt21-Apr-02 9:39 
GeneralRe: Returning values from COM object ?? Pin
21-Apr-02 11:48
suss21-Apr-02 11:48 
QuestionHow to implement a thread in a service? Pin
Bhikshapathi Gorantla18-Apr-02 21:42
Bhikshapathi Gorantla18-Apr-02 21:42 
QuestionHow to digital certificate Pin
liuage18-Apr-02 16:06
liuage18-Apr-02 16:06 
AnswerRe: How to digital certificate Pin
Todd Smith18-Apr-02 16:09
Todd Smith18-Apr-02 16:09 
GeneralIs there a class just as MFC's CTime in ATL/WTL Pin
18-Apr-02 15:50
suss18-Apr-02 15:50 
GeneralA Question of Using the Standard C++ to Programme Connectable Object in VC6.0 Pin
zjkw18-Apr-02 15:49
zjkw18-Apr-02 15:49 
GeneralRe: A Question of Using the Standard C++ to Programme Connectable Object in VC6.0 Pin
zjkw23-Apr-02 2:37
zjkw23-Apr-02 2:37 
GeneralActivex/VisualC++ Pin
Dr Anandhi18-Apr-02 0:40
Dr Anandhi18-Apr-02 0:40 

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.