Pivot Table Automation with MFC (VC6--VC2005) -- Events handling

  • Thread starter EL MAJDOULI KAMAL
  • Start date
E

EL MAJDOULI KAMAL

My app crush with a "pure virtual function call" when i try to catch some
events (CommandEnabled or CommandChecked for ex) of pivot table AX.

I'm using the machine generated classes wrappers of the pivot table library
(OWC10.DLL) The problem occurs when i attach an object "ByRef" to the
LPDISPATCH object parameter of the event handler (whish is generaded
automaticly with the class wizard) (Ex Enabled or Checked).

Can anyone helps.

Sorry if i've post this question in this forum.

Thanks.
 
A

Alvin Bruney

Most of these crashes can be resolved by examining the method signature
carefully and passing in valid parameter info.

--

________________________
Warm regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
The O.W.C. Black Book with .NET
www.lulu.com/owc, Amazon
Professional VSTO.NET - Wrox/Wiley 2006
 
E

EL MAJDOULI KAMAL

I'VE DONE WITH THIS PROBLEM BY REPLACING ALL THE GENERATED CLASS WRAPERS (
EXCEPT THE AX WRAPPER) WITH A SINGLE INSTRUCTION "#import ...OWC10.DLL ...
IN THE HEADER OF THE AX WRAPPER.

TVM
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top