Click here to Skip to main content
16,010,876 members
Home / Discussions / COM
   

COM

 
Generalcallbacks Pin
7-Feb-02 6:42
suss7-Feb-02 6:42 
GeneralRe: callbacks Pin
Mazdak7-Feb-02 21:52
Mazdak7-Feb-02 21:52 
GeneralRe: callbacks Pin
13-Feb-02 6:59
suss13-Feb-02 6:59 
QuestionWhy the ATL server fails to display dialog box? Pin
tm6-Feb-02 8:52
tm6-Feb-02 8:52 
AnswerRe: Why the ATL server fails to display dialog box? Pin
Matt Philmon13-Feb-02 17:47
Matt Philmon13-Feb-02 17:47 
GeneralException (kernel32.dll): 0xC000008F: Float Inexact Result Pin
Tim Rymer6-Feb-02 6:45
Tim Rymer6-Feb-02 6:45 
GeneralRe: Exception (kernel32.dll): 0xC000008F: Float Inexact Result Pin
8-Feb-02 15:11
suss8-Feb-02 15:11 
GeneralSafeArrayCreateVector and FADF_HAVEVARTYPE Pin
Buly6-Feb-02 6:22
Buly6-Feb-02 6:22 
Hello,


I have the following problem:
I'm saving and reading certain types of SafeArrays. Until now I relied among other things to SafeArrayGetVarType. I tested things with SafeArrayCreateVector and everything worked fine. Now, few months later I begin to get safeArrays created with SafeArrayCreateVector that don't have FADF_HAVEVARTYPE set (Feature flag is 0x2000). I have some hints that something updated my OLEAUT32.dll but I don't know what. I tried to use both SafeArrayCreate and SafeArrayCreateVectorEx, and with them I get feature flag that has only FADF_HAVEVARTYPE set - as it used to be - with one discrepancy from MSDN documentation. MSDN says (SafeArrayCreateVectorEx): "The FADF_HAVEIID can be set for VT_DISPATCH or VT_UNKNOWN and FADF_HAVEVARTYPE can be set for all other types."

But when I try to add FADF_HAVEVARTYPE to vt parameter of SACreateVectorEx the array isn't created at all - if I leave vt as it was array is created and has the correct vartype set.

Does anybody know which version of OLEAUT32.dll changed behaviour of SACreateVector? And what can I do without requesting that all of my clients use SACreateVectorEx or SACreate instead of SACreateVector?



QuestionActiveX (ATL) question? Pin
jancsi6-Feb-02 5:37
jancsi6-Feb-02 5:37 
QuestionActiveX (ATL) question? Pin
jancsi6-Feb-02 5:35
jancsi6-Feb-02 5:35 
GeneralAbout destruct function in COM Pin
wabc5-Feb-02 23:49
wabc5-Feb-02 23:49 
GeneralRe: About destruct function in COM Pin
pba_6-Feb-02 7:49
pba_6-Feb-02 7:49 
QuestionAnyone ever use IHTMLBrowser at all? Pin
Tim Rymer4-Feb-02 7:34
Tim Rymer4-Feb-02 7:34 
AnswerRe: Anyone ever use IHTMLBrowser at all? Pin
Not Active4-Feb-02 13:54
mentorNot Active4-Feb-02 13:54 
GeneralRe: Anyone ever use IHTMLBrowser at all? Pin
Tim Rymer5-Feb-02 5:04
Tim Rymer5-Feb-02 5:04 
GeneralRe: Anyone ever use IHTMLBrowser at all? Pin
Nemanja Trifunovic5-Feb-02 5:29
Nemanja Trifunovic5-Feb-02 5:29 
GeneralP.S. I am using the Lite HTML Control in ATL!!! Pin
Tim Rymer5-Feb-02 5:06
Tim Rymer5-Feb-02 5:06 
Generalscrolling Pin
Chagit3-Feb-02 21:03
Chagit3-Feb-02 21:03 
General"First Chance exception in ole32.dll " Pin
Maria Jothi1-Feb-02 19:58
Maria Jothi1-Feb-02 19:58 
GeneralRe: "First Chance exception in ole32.dll " Pin
pba_6-Feb-02 7:43
pba_6-Feb-02 7:43 
GeneralRe: "First Chance exception in ole32.dll " Pin
6-Feb-02 8:46
suss6-Feb-02 8:46 
GeneralLite HTML Control opens new Browser... Pin
Tim Rymer1-Feb-02 9:23
Tim Rymer1-Feb-02 9:23 
Generalok fixed that, now how do i get it to scroll? Pin
Tim Rymer1-Feb-02 9:37
Tim Rymer1-Feb-02 9:37 
GeneralTrying to get IHTMLTxtRange obj... Pin
Tim Rymer1-Feb-02 5:40
Tim Rymer1-Feb-02 5:40 
GeneralHAHAHAHAHA Nevermind... just kidding! i Know how to call queryinterface() HAHAAHAH Pin
Tim Rymer1-Feb-02 6:42
Tim Rymer1-Feb-02 6:42 

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.