Click here to Skip to main content
15,906,467 members
Home / Discussions / COM
   

COM

 
GeneralRe: Passing structs/classes from any language client. Pin
Jörgen Sigvardsson7-Oct-04 13:17
Jörgen Sigvardsson7-Oct-04 13:17 
GeneralRe: Passing structs/classes from any language client. Pin
sergeyv20028-Oct-04 8:36
sergeyv20028-Oct-04 8:36 
Generalpassing struct to COM objects Pin
merlinos4-Oct-04 10:21
merlinos4-Oct-04 10:21 
GeneralRe: passing struct to COM objects Pin
Jörgen Sigvardsson4-Oct-04 13:08
Jörgen Sigvardsson4-Oct-04 13:08 
GeneralRe: passing struct to COM objects Pin
sergeyv20027-Oct-04 7:32
sergeyv20027-Oct-04 7:32 
GeneralRe: passing struct to COM objects Pin
Jörgen Sigvardsson7-Oct-04 13:07
Jörgen Sigvardsson7-Oct-04 13:07 
GeneralExcell automation - runtime library error Pin
koxin3-Oct-04 22:14
koxin3-Oct-04 22:14 
GeneralRe: Excell automation - runtime library error Pin
Nathan Holt at EMOM4-Oct-04 6:05
Nathan Holt at EMOM4-Oct-04 6:05 
koxin wrote:
my Win2k MFC dialog application exports data to en excell file by using Automation (excel9.olb type library) and works fine if the function doing this is placed in an OnButton() function of the dialog class. Unfortunately, when I put it in a thread it always fails with the message: "Microsoft Visual C++ Runtime Library Runtime Error! abnormal program termination". I need to put the function in a thread since it takes a while to complete its task and I don't want the main window to freeze in the meantime. Does anybody know where the problem might lie?

To use automation from a background thread, the thread needs to call CoInitialize or OleInitialize, and of course the appropriate uninitialize function before it exits. Could that be the problem?


Nathan Holt
GeneralMY very own language Pin
shiko2-Oct-04 7:26
shiko2-Oct-04 7:26 
GeneralRe: MY very own language Pin
MohammadAmiry3-Oct-04 3:37
MohammadAmiry3-Oct-04 3:37 
GeneralRe: MY very own language Pin
Jörgen Sigvardsson3-Oct-04 8:05
Jörgen Sigvardsson3-Oct-04 8:05 
GeneralRe: MY very own language Pin
MohammadAmiry8-Oct-04 5:30
MohammadAmiry8-Oct-04 5:30 
QuestionIRegExp problem ? Pin
necroleak1-Oct-04 23:22
sussnecroleak1-Oct-04 23:22 
AnswerRe: IRegExp problem ? Pin
Jörgen Sigvardsson3-Oct-04 8:09
Jörgen Sigvardsson3-Oct-04 8:09 
GeneralAfxOleInit and CoInitializeEx Pin
Shao Voon Wong1-Oct-04 5:51
mvaShao Voon Wong1-Oct-04 5:51 
GeneralRe: AfxOleInit and CoInitializeEx Pin
Jörgen Sigvardsson7-Oct-04 13:22
Jörgen Sigvardsson7-Oct-04 13:22 
GeneralIOleCommandTarget in a .net COM server! HELP! HELP!! Pin
SmallUmka1-Oct-04 1:00
SmallUmka1-Oct-04 1:00 
GeneralDCOM on Windows 2003: error in COM-client Pin
RadioShark30-Sep-04 2:05
RadioShark30-Sep-04 2:05 
GeneralRe: DCOM on Windows 2003: error in COM-client Pin
Milton Karimbekallil4-Oct-04 0:12
Milton Karimbekallil4-Oct-04 0:12 
Question.Net COM alternative?? Pin
Gammill29-Sep-04 11:33
Gammill29-Sep-04 11:33 
AnswerRe: .Net COM alternative?? Pin
ursus zeta29-Sep-04 14:18
ursus zeta29-Sep-04 14:18 
Questioncan someone recommend a COM book? Pin
liyang yu29-Sep-04 3:31
liyang yu29-Sep-04 3:31 
AnswerRe: can someone recommend a COM book? Pin
Gammill29-Sep-04 11:22
Gammill29-Sep-04 11:22 
GeneralEssential COM Pin
ursus zeta30-Sep-04 6:22
ursus zeta30-Sep-04 6:22 
GeneralRegsvr32 writes an error Pin
Rassul Yunussov28-Sep-04 7:58
Rassul Yunussov28-Sep-04 7:58 

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.