Using Zllib, Xerces and Boost (in release mode)

I've developped a Export plugin which used Zlib, Xerces, and Boost libs. (This libs are used in a statically.)
In debug mode, the plugin is loaded correctly, and worked fine.
I want to build this plugin in a release mode, in order to test it on an designer's workstation.
The compilation is executed without problems. the same for link operations. But when I tried to load at Illustrator's startup, a message box is shown, telling me my plugin was not loaded correctly, and not loaded at all.
I've took a look at my project settings, to check if my settings were ok (used static libs in debug or release mode), if there was no conflicts in precompiled header............
I did not find! So if someone would have some tips to help me, it would be great!
Thx,
Thomas.

I have finally found the problem!
After having unplugged all the code I have written and replugged the all by block of code,
I have found where I was wrong! it has taken me almost a day of work!
the probleme was in the using of #ifndef, define!
just this few lines:
#ifndef _XERCESSTRING_H
#define _XERCESSTRING_H
#include <xercesc/util/XMLString.hpp>
#ifdef XERCES_CPP_NAMESPACE_USE
XERCES_CPP_NAMESPACE_USE
#endif
I have fixed that! now project can be built in release.
Thanks for helping me!
thomas.

Similar Messages

  • Photoshop SDK - Plug In - Release Mode

    Hello,
    I'm building a Plug In for Photoshop using the CS6 SDK for Windows (64 Bit on Windows 7, VS 2010).
    I'm using optimizations which only work in "Release Mode".
    In your samples I have only "Debug" mode.
    How can I move into release mode?
    Thanks.
    P.S.
    I saw the Dissolve sample code has "Release Mode" which really enabled the optimizations and yieleded a much faster code.
    The question is, how different it is from other samples, namely, How could I reconfigure other samples into "Release Mode".
    Thanks.

    In the Visual Studio Configration Manage you have to create an configuration, call it "Release" and make sure that the settings of the Debug configuration are copied to the new configuration. Then you have to change the several properties of the new Release configuration so that it outputs a release instead of a debug version, e.g. changing the run time library from "Multithreaded-Debug" to "Multithreaded" and deactivating the debug information generation. You also need to remove the DEBUG preprocessor definition in various places.
    All in all, it is a complex process, so it is better if you have a project that contains both debug and relase configurations and you compare the properties of both. Then you can see which things are activated in one configuration and not in the other.

  • Stateless Release mode and the Commit issue

    What are the implications of setting all the application modules to Stateless Release mode rather than Stateful?
    I’ve read the documentation about this, but I need hands on expert’s opinions
    Specially for a Web Application that a lot of public users will use?
    We have an issue of the way commit work, if we edit a page and then navigate without saving to another page and then save at this second page, the commit will save all changes that have been done in both pages, even of the two pages are bound to two different VOs and two different Application modules, it is really strange, it seems that I need to know that the user is leaving the page so I can rollback, I do not understand this default behavior of ADF/BC ..
    Any work around? Any opinions?

    Hi,
    the behavior is correct as it commits all pending changes. The release mode tells ADF BC how the application module is released to the pool if no longer needed by the user session. If release mode is stateful then the state of the current AM is passivated so it can be recovered. This has nothing to do with the page to page navigation.
    If you want to undo changes performed on a page when navigation off the page, you call refresh(Row.DB_ROW...) on the current row
    Frank

  • Assembly (via xaml/xmlns) not found- but only in release mode and running as ActiveX

    Hi there,
    strange probleme here:
    I have an Active-X. That Active-X uses the ElementHost to display a WPF UserControl.
    The WPF UserControl references a few other Assemblies.
    One of those referenced Assemblies implements BitmapEffects using Pixel Shaders. (bar.dll)
    Here is a sample:
    <UserControlx:Class="MyNamespace.MyControls.MyControl"
    xmlns:foo="clr-namespace:Foo;assembly=Foo"
    xmlns:bar="clr-namespace:Bar;assembly=Bar"
    >
    <Grid>
      <foo:MyElement
    /> 
    => no Problem
      <Image>
        <Image.Effect>
          <bar:CombinedEffects 
    => Exception: bar.dll not found 
             Brightness="{Binding...     
             Contrast="{Binding...}"
    />
        </Image.Effect>
      </Image>
    </Grid>
    It works when i use a Demo-App which shows the Active-X on a WinForm. (Debug and release)
    It works also when i register the debug version - the activex is shown in IE.
    But the release version of ActiveX is failed to load in IE: because bar.dll is not found.
    Note: no Problems with foo.dll !
    I put the following lines in the constructor to force bar.dll is loaded before InitializeComponents():
    stringcodeBase = System.Reflection.Assembly.GetExecutingAssembly().CodeBase;
    UriBuilderuri =
    newUriBuilder(codeBase);
    stringpath =
    Uri.UnescapeDataString(uri.Path);
    stringfullpath = System.IO.Path.Combine(System.IO.Path.GetDirectoryName(path),
    "bar.dll");
    AppDomain.CurrentDomain.Load(System.Reflection.AssemblyName.GetAssemblyName(fullpath));
    Surprise: Now it works also in release mode.
    This behaviour looks strange to me.
    Is there any known bug within WPF and loading assemblies defined in xmlns uri?
    Known Problems of Using WPF+ElementHost in ActiveX?
    Known issues with PixelShaders+ActiveX / DirectX + ActiveX?
    Thanks

    Hi Businesskasper,
    >>It works also when i register the debug version - the activex is shown in IE.
    >>But the release version of ActiveX is failed to load in IE: because bar.dll is not found.
    The Internet Explorer Extension Development is a better place for IE extension development questions. I’ve moved it there for you.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Performance Diference between debug mode and release mode

    Hi ,
    I have been running an C++ multithreaded application with below technical specification on Production for more than an year.
    OS - Solaris 10 , Opteron
    Compiler - Sun Studio 11
    Bit Mode - 64
    I wanted to know what is the difference in the debug mode of an C++ application compiled with -g option and a release mode compiled with an optimization apart from the size of the binary and availability of debug information in case of a crash.
    1) Does it degrade the performance of the application? If yes by what extent?
    2) Does it use more memory?
    3) Will switching from Debug to Release mode with some optimization coupled with any kind of risk like byte guard etc which could lead to dumps and all? If yes what could those be?
    4) Which optimization level should be used?
    Regards,
    Ankur Verma

    If you compile without any optimization (with or without -g), you will see a noticeable difference in performance in most programs compared to compiling with a reasonable level of optimization. How much difference depends on the nature of the program, and what percentage of time is spent in code regions that can benefit from the code improvements.
    If you add -g, function inlining is disabled, which can dramatically reduce program performance. You can't debug a function that is generated inline, which is why this option disables inlining. (The +d option also disables inlining.)
    If you use -g0 instead of -g, function inlining is preserved.
    If you use -g0 with optimization, you get the advantages of optimization while still allowing limited debugging. (Local variables are not visible.) Beginning with Sun Studio 12 update 1, the current release, -g with optimization enables function inlining, so the effect of (for example) "-O -g" becomes the same as "-O -g0".
    A few optimizations are disabled with -g or -g0, the exact difference depending on the compiler release and patch level. Most programs won't see a difference in performance.
    Since you are running on Solaris 10, you should upgrade to the current release, Sun Studio 12 update 1. You will get many improvements and some new diagnostic tools. The new release is a drop-in replacement for Studio 11. You don't have to recompile any existing binaries, but you will want to recompile to get improved performance.
    [http://developers.sun.com/sunstudio/]

  • How can I set up a guest access point with a Time Capsule and an Airport Extreme? I am using a Telus router with the Time Capsule used as a wireless access point (bridge mode). I don't want the guest access point to have access to my network.

    How can I set up a guest access point with a Time Capsule and an Airport Extreme? I am using a Telus router with the Time Capsule used as a wireless access point (bridge mode). I don't want the guest access point to have access to my network.

    The Guest Network function of the Time Capsule and AirPort Extreme cannot be enabled when the device is in Bridge Mode. Unfortunately, with another router...the Telus...upstream on your network, Bridge Mode is indicated as the correct setting for all other routers on the network.
    If you can replace the Telus gateway with a simple modem (that performs no routing functions), you should be able to configure either the Time Capsule or the AirPort Extreme....whichever is connected to the modem....to provide a Guest Network.

  • [svn] 2692: Bug: BLZ-227 - When using JMS Destination, MessageClient and FlexClient not released from memory when the session times out .

    Revision: 2692
    Author: [email protected]
    Date: 2008-07-31 13:05:35 -0700 (Thu, 31 Jul 2008)
    Log Message:
    Bug: BLZ-227 - When using JMS Destination, MessageClient and FlexClient not released from memory when the session times out.
    QA: Yes
    Doc: No
    Checkintests: Pass
    Details: Fixed a memory leak with JMS adapter. Also a minor tweak to QA build file to not to start the server if the server is already running.
    Ticket Links:
    http://bugs.adobe.com/jira/browse/BLZ-227
    Modified Paths:
    blazeds/branches/3.0.x/modules/core/src/java/flex/messaging/services/messaging/adapters/J MSAdapter.java
    blazeds/branches/3.0.x/qa/build.xml

    Revision: 2692
    Author: [email protected]
    Date: 2008-07-31 13:05:35 -0700 (Thu, 31 Jul 2008)
    Log Message:
    Bug: BLZ-227 - When using JMS Destination, MessageClient and FlexClient not released from memory when the session times out.
    QA: Yes
    Doc: No
    Checkintests: Pass
    Details: Fixed a memory leak with JMS adapter. Also a minor tweak to QA build file to not to start the server if the server is already running.
    Ticket Links:
    http://bugs.adobe.com/jira/browse/BLZ-227
    Modified Paths:
    blazeds/branches/3.0.x/modules/core/src/java/flex/messaging/services/messaging/adapters/J MSAdapter.java
    blazeds/branches/3.0.x/qa/build.xml

  • How best we can use the Rollback and RollbackAlways mechanism in Visual Studio Release Management Template

    Hello All,
    We need a clarification on Rollback and RollbackAlways in Release template.
    We checked a scenario for Rollback and RollbackAlways:
    In Release Template, we have the first activity as “Configure Application Pool” and then followed by a rollback action of “Create Application Pool”
    and “Create Web Site” then followed by "Code Deployment" via TFS build.
    We tested with 2 scenario’s:
    With App Pool and Web Site already existing: when triggered the build, configure
    app pool succeeded, then Rollback action was skipped (as previous action was successful), finally deploy the code executed (code deployed) and build got succeeded.
    Deleted App Pool and Web Site: when triggered the build, configure app pool failed (as no app pool existed), Rollback action executed (as previous action failed) – created app pool and web site then finally
    deploy the code executed (code deployed)
    But build failed (Error: Configure app pool action failed).
    Ideally the build should succeed as the roll back action got executed and code deployed successfully.
    Please correct us if our understanding is wrong.
    Also, Kindly let us know how best we can use the Rollback and RollbackAlways mechanism in Release Management
    Looking forward for your positive response.
    Thanks in advance.
    Regards,

    Hi Shashank,
    Rollback Always runs if any of the actions in the template failed. Rollback will run if action just above rollback fails or if any of the actions below the Rollback fails.
    Article here (http://www.incyclesoftware.com/2014/03/understanding-rollbacks-release-management/) clearly explains how Rollback and Rollback
    Always work.
    I think you come across this issue since you are using build to do the "code deployment" action. You should use the release template to do that. 
    As far as I know you cannot use Rollback to achieve condition check (App pool exist in your case) action.
    For this you can create your own Power Shell component (which checks if the app pool exist and is not create it) and add it as a tool in RM server (RM Server Inventory).
    Another option is you can follow the workaround in below thread "Answer" quoted below. That is execute Remove app pool regardless if it exist or not (which does not fail) and then create app pool.
    I was able to get it working by removing the app pool which does not fail if it doesn't exist. Removing then creating seems the long way around but it works.
    Flow:
    Remove Application Pool
    Create Application Pool
    https://social.msdn.microsoft.com/Forums/en-US/43bf21c8-e233-4e58-a5a8-2592b78bc466/vs-2013-release-management-create-application-pool-fails-if-it-already-exists?forum=tfsbuild
    Cheers!
    Chaminda

  • Hi, please help me. Bought lightroom license but was using the free and the mode of revelation is still blocked, already desistalei and installed again on my PC but the revelation mode remains disabled. What should I do? Tks

    Hi, please help me. Bought lightroom license but was using the free and the mode of revelation is still blocked, already desistalei and installed again on my PC but the revelation mode remains disabled. What should I do? Tks

    Reset the PRAM
    Reinstall the operating system from the dvd (you will not loose your data)

  • My mum is always using my iPad and I want to set mode if you like that she can log in as some one different and use apps she likes and I can use a diFferent log in and use different apps and stuff

    My mum is always using my iPad and I want to set mode if you like that she can log in as some one different and use apps she likes and I can use a diFferent log in and use different apps and stuff

    iOS 7 does not support multiple user accounts like you want.
    If all the apps are different, you could set her up with her own page of apps, then just show her how to get to her apps page, or just buy her an iPad for herself.

  • How to use LCD and Remote in PC mode

    Hi.
    i wonder what programs i need to use the remote control and LCD in pc mode.
    i have a mega 180 and this is my first time using it

    To see CPU/SYS temps and CPU fan speed, to have to install and run PCAlertIV (the one from the CD bundled). However, lots of people has reported problems with that app. It eats a lot of CPU every 5 seconds. So... it's not recommended.
    The remote works OK with MCIII but... it's veeery slow and its range is annoyningly short.

  • Dear concern try to understand what i am asking to you that some one calling me and my phone is ringing or that time i am nt using my phone that is in lock mode that time if i want to disconnect that call without using sleep/wakeup botton.So tell me

    Dear concern try to understand what i am asking to you that some one calling me and my phone is ringing or that time i am nt using my phone that is in lock mode that time if i want to disconnect that call without using sleep/wakeup botton.So tell me another way to disconect that call in given situation.kindy suggest.

    3 topics with the same question?
    Please stop creating new topics & start using the ones you already created, they are listed under your activity (click your own username).
    kumar kalptaru

  • I just watched my first movie using Apple TV and Netflix. Apple TV works great except for then I try to switch back over to tv mode I get the cable channel info on the bottom of the screen but no sound or picture. What did I I do wrong?

    I just watched my first movie using Apple TV and Netflix. Apple TV works great except for then I try to switch back over to tv mode I get the cable channel info on the bottom of the screen but no sound or picture. What did I I do wrong?

    It was easy to set up, easy to use, got done watching the movie.  Transferred from HDMI to TV and as my question above notes.  I am on TV, my cable information (show/channel/etc) show OM the banner on the bottom of the screen, I can view the channell guide, but, my screen is white, no picture no sound?  Other than that I got nothin

  • HT201441 My iphone was lost and was sent to lost mode after some days I found my iphone but it was disable. And now I'm not able to activate my phone. it doesn't accept the Apple ID that I used to put my phone in lost mode

    My iphone was lost and was sent to lost mode after some days I found my iphone but it was disable. And now I'm not able to activate my phone. it doesn't accept the Apple ID that I used to put my phone in lost mode. How can I activate my iphone now?

    Hi Krisunita,
    Thanks for visiting Apple Support Communities.
    Try using these steps to stop Lost Mode from iCloud.com:
    Stop Lost Mode or change your contact info
    Sign in to icloud.com/#find with your Apple ID (the one you use with iCloud).If you’re using another iCloud app, click the app’s name at the top of the iCloud.com window, then click Find My iPhone.
    Click All Devices, then select the device that’s in Lost Mode.
    Click Lost Mode, then change the information or click Stop Lost Mode.
    You can find this information here:
    iCloud: Use Lost Mode
    http://support.apple.com/kb/PH2700
    If you are not able to log into iCloud.com, see this link for more help:
    iCloud: If you can’t sign in to iCloud.com
    http://support.apple.com/kb/ph2611
    Best,
    Jeremy

  • My ipad 2 is in recovery mode, but I can't reset it by using the home and start keys.  Is there another troubleshooting that I can do?

    My ipad 2 is in recovery mode, but I can't reset it by using the home and start keys.  Is there another troubleshooting that I can do?

    read this carefully
    If you can't update or restore you iOS device
    http://support.apple.com/kb/HT1808
    word is you may need to do it multiple times, and be sure to follow all the steps carefully

Maybe you are looking for

  • Videos from iphone 4 to aperture

    Hi, I have searched the forums, but the posts relating to this issue have all been archived "unresolved". Aperture does not seem to be able to import videos from my iPhone 4. It simply does not see the videos present on the iphone, while iPhoto does

  • How to deinterlace live video using flash as a broadcaster?

    I am trying to replicate the deinterlace functionality that is available in FMLE in a simple flash broadcaster that is hosted on my website. I have built a flash broadcaster (using Flash CS4 and AS2) that connects to my FMS server with the aim that p

  • How do I get photos onto my laptop. it just goes straight to sync, I have windows 7

    I have tried to get my phone to allow me to import photos to the laptop from the Iphone. All to no avail. Can anyone help.?

  • Multiple DataSourceRef in DataTable component

    Dear All, I'm a newbie using JDeveloper 9.0.3 to develop a JSP application. I wonder if I can pass more than one DataSource to the DataTable component so that I can customize the component to get data from to DataSourceRef. Can anybody help?

  • Macbook pro doesn't turns on

    i have a late 2011 13" macbook pro! i was using it while it turned off and it wont start again.! I tried to make the SMC reset.! But all i got to hear was fan noise I don't know what to do now! please help