Acrobat SDK -- example plug-ins fail with C++.net compiler

Acrobat SDK -- example plug-ins fail with C++.net compiler

Post by Graham Dougla » Sat, 14 Sep 2002 05:42:49



Hi All

I have compiled a few of the Acrobat SDK example
plug-ins both with Visual C++ 6.0 and Visual C++ .net.
Although they compile fine with both systems, only those
compiled with Visual C++ 6.0 successfully register
with Acrobat. The VC++ .net versions are immediately
unloaded. I know the SDK recommends
VC++ 6.0 but I was wondering if anyone knows why
they all fail with the .net version -- and can it be fixed
easily?

Many thanks

Graham

 
 
 

Acrobat SDK -- example plug-ins fail with C++.net compiler

Post by Graham Dougla » Sat, 14 Sep 2002 05:46:27


DOH! I should have said Acrobat 5.0 SDK
under Windows NT 4.

Regards

Graham

 
 
 

Acrobat SDK -- example plug-ins fail with C++.net compiler

Post by Max Khesi » Sat, 14 Sep 2002 05:57:32


are you using unmanaged code option in .NET?


Quote:> Hi All

> I have compiled a few of the Acrobat SDK example
> plug-ins both with Visual C++ 6.0 and Visual C++ .net.
> Although they compile fine with both systems, only those
> compiled with Visual C++ 6.0 successfully register
> with Acrobat. The VC++ .net versions are immediately
> unloaded. I know the SDK recommends
> VC++ 6.0 but I was wondering if anyone knows why
> they all fail with the .net version -- and can it be fixed
> easily?

> Many thanks

> Graham

 
 
 

Acrobat SDK -- example plug-ins fail with C++.net compiler

Post by Graham Dougla » Sat, 14 Sep 2002 15:50:12



Quote:> are you using unmanaged code option in .NET?

Hi Max

Hmm, not sure about that, I'll check. Many thanks
for the suggestion.

Kind regards

Graham