Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

dll Api client crashing only in release mode

Community Beginner ,
Jun 09, 2010 Jun 09, 2010

Hi,

I have a problem in FM8: when I copy my client dll built in Debug mode into fminit\Plugins folders, the client works perfectly...but when I copy my client dll built in Release mode my client doesn't work, in particular it crashes when I open a modeless dialog (F_ApiModelessDialog) and FM shows me the following  message: "Internal error 8004, 6335581, 8468256, 0. FrameMaker has detected a serious problem and must be quit".

Any suggestions?

Thanks to all,

Stefano

465
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Mentor , Jun 09, 2010 Jun 09, 2010

Hi Stefano,

What version of Visual C++ are you using and how familiar are you with workspace properties? In particular, I notice that VC++9 (Visual Studio 2008) and perhaps other versions make it very easy to set properties for one mode but not the other. More than once, I have made the mistake of setting important workspace properties for debug mode only (like that /section:.rsrc,w option required to make dialog boxes work). For stuff like that, you have to be sure to set the Configuration setti

...
Translate
Mentor ,
Jun 09, 2010 Jun 09, 2010

Hi Stefano,

What version of Visual C++ are you using and how familiar are you with workspace properties? In particular, I notice that VC++9 (Visual Studio 2008) and perhaps other versions make it very easy to set properties for one mode but not the other. More than once, I have made the mistake of setting important workspace properties for debug mode only (like that /section:.rsrc,w option required to make dialog boxes work). For stuff like that, you have to be sure to set the Configuration setting to All Configurations before making changes. I bet if you missed that setting for Release mode it could cause trouble.

Russ

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jun 09, 2010 Jun 09, 2010
LATEST

Hi Russ,

thank you very much for your reply! I'm using VC++9 and my mistake is exactly the one described in your post: I had set the /section:.rsrc,w option only in Debug mode! Now I've set this option also in Release mode and my client works perfectly!

Thank you!l

Stefano

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines