Compile project in release mode and "use mfc in a static dll"

Hi,all. I'm new to occi . I compiled the project with the option "Use MFC in a Shared DLL",it ran fine. But when I complied the project with the option "Use MFC in a static dll",It showed error "can't find msvcr90.dll",
then i find the exception caused by env = Environment::createEnvironment(Environment::DEFAULT); ,can anybody tell me why ?
my computer info:
OS: Windows XP sp3
Instant Client 11.1.0.6.0
OCCI: occivc9win32_111060
vc 2008 sp1
mode release /MT

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.

Similar Messages

  • Project Server 2013: I am using Project Server Permission Mode and need help with permission assignments?

    Hi 
    Project Server 2013: I am using Project Server Permission Mode and need help with permission assignments?
    How can I change Permissions for the individual users to see specific projects or all projects in project center and to see specific quick launch items?
    For Example: if i have 4 users, A, B, C and D. what i want is:
    User A can see everything and act as a project manager or Admin.
    User B can view all projects in project centre but can change the schedule or resource assignment etc.
    User C can only act as approver of projects and can view all projects in project centre.
    User D can only view specific projects for which permissions are given.
    can i have some expert help in sorting and understanding permission modes... as i was playing with project server mode permissions and can't figure out how to apply the above scenario to set of my user.
    Thanks in Advance
    Cheers
    AJ
    Ajay Kumar

    Hi Ajay,
    Please refer to this link for detailed explanations about PS2013 security model. 
    http://technet.microsoft.com/en-us/library/cc197638(v=office.15).aspx
    Actually, it will take a couple of days to explain in detail the security model that is a fundamental and tricky aspect of every PS implementation. But basically, you NEVER set permissions for a single user. You have groups in which your insert users. Groups
    define "what users can do". Then you associate groups to a corresponding category. Categories define "what user can see". Thus the association of a group with a category will set "what the user can do on the objects he can see". Then, for more advanced security
    level, you can use the RBS that will consist in "branches" in which you'll insert users. Based on those branches, you'll customize categories to fine-tune what user can see (for projects and resources) depending on the RBS branch and level.
    I'd advice you to start "playing" in a test environment with the default categories/groups that might probably cover your need.
    Concerning your 4 users:
    user A : add him to the "administrator" group. Be careful that you're mentionning either project manager or administrator, which are 2 groups/categories with totally different permissions level.
    user B : basically can see everything and change everything? it could be in the project manager group, assuming that there are no project visibility restrictions on the category via the RBS.
    user C : waht do you mean by "approver"? Workflow approvals? Then it will be the portfolio manager group. Task update or timesheet approval? Then it is another long topic: please refer in the documentation to the "status manager" and "timesheet manager"
    concepts. There are not related to the security model. In a few words, the status manager is the owner of the project plan, is defined for each task and approves tasks updates. The timesheet manager is an attribute defined for each resource in its parameters
    and approves resource timesheet.
    user D : you have to define which permission level must be given to this user. Basically it could be a team member that will see only projects he's in the project team. Note that team member cannot interact with the project plan in another way than submitting
    timesheets and/or tasks updates which must be approved.
    Once more, those are large and complex subjects that require a deep dive into your business model and tons of tests in a test environment.
    Hope this helps.
    Guillaume Rouyre - MBA, MCP, MCTS

  • Is it possible to make .dll file of .vi project then load it to CVI and use the APIs in the dll to CVI project

    Is it possible to make .dll file of .vi project then load it to CVI and use the APIs in the dll to CVI project?

    Hi Kumar,
    It is possible to make .dll from Labview and i think we can call the same from other programming application also.
    Pls refer the
    below link
    http://zone.ni.com/devzone/cda/tut/p/id/4038
    GAnesan KAni

  • 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.

  • What is the difference when bouncing a Logic Pro X project to Stereo Mode and Normal Mode?

    I was was working on a Logic Pro X Project which I am using as a Sequence for a band.  When I completed my project, I mixed for left side to hear the Click track  and I panned everything else to the right side.  After I completed my project, I bounced to Mp3 in Normal Stereo Mode and after opening in iTunes I discovered that I am hearing the click on the right track. I again bounced and tried the Joint Stereo Mode thinking that would fix it but I still get the click track on both left and right.  What is the difference between bouncing to Normal and Joint Stereo.
    My goal is to produce a 2 track Mp3 Sequence so that all my click track is only heard on the left side and the produced audio is heard only on the right side.
    Any suggestions?

    FIrst, try to bounce to uncompressed aiff or wave and see if you get perfectL-R separation.
    The compression algorithm does its voodoo and maybe some of the left right separation gets messed up with it.
    About Joint Stereo.
    The idea behind is to save data. The algorithm analyzes the stereo signal, when it sees signals/frequencies that are in the left and right channel, then it says, "having the same signal on the left and right channel is the same as storing only one channel (mono ), and when played back send that one channel to the left and right speaker. it saves you half the storage/transmission". However, you have to trust the voodoo again to think that if what comes out is the same as what went in.
    If size and transmission speed isn't an issues, don't use Joint Stereo.
    Hope that helps
    Edgar Rothermich
    http://DingDingMusic.com/Manuals/
    'I may receive some form of compensation, financial or otherwise, from my recommendation or link.'

  • 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

  • I want to put Acrobat in full screen mode, and use the pencil to write simultaneously.

    I want to put Acrobat in full screen mode for a presentation, and use the pencil to write on the page at the same time. Is there any way both can be used simultaneously?

    George is on the money - you'll not be able to use the pencil tool while in full screen.
    Something to try:
    Use F8 and F9 to hide what is at the top of Acrobat's window.
    Have the Pencil tool selected for use first.
    You'll be able to use the Pencil tool.
    The PDF, with Acrobat's window maximized, will give the appearance of "full screen".
    Be well...

  • VTP transparent mode and using VTP domain

                       Hi all,
    Need to ask question when  using VTP transparent mode is it good idea to use VTP domain name and password?
    I know for switches in transparent mode they act as independent of each other.
    So need to know why we should use vtp domain  and password with transparent mode?
    thanks
    mahesh

    Mahesh,
    I know this 2 years later, but it will help others who will come across this. If you have a Transparent switch mixed with Server and Clients switches. This is your concern....... If you do not put the Transparent switch in the same domain, then it will not forward VLAN changes to other swithces.  
    So Sw1(Server-CCIE Domain) <-------> Sw2(Transparent-CCIE Domain)  <-------> Sw3(Client-CCIE Domain)
    The above will work because the Transparent switch is in the same domain. This means that SW3 will get any Vlan changes that are done on SW1.
    Now lets look at it the other way.........
    Sw1(Server-CCIE Domain) <-------> Sw2(Transparent-Null Domain)  <-------> Sw3(Client-CCIE Domain)
    Two things are going to happen here
    1) The transparent switch is not on same domain, so SW3 will never get any updates when changes to Vlans are done on SW1. So if I add one vlan to SW1, and that make the Configuration Revision increase to the value of 10, that means SW3's Revision will still be 9, and will remain that way until the issue is corrected.
    2) If you are dynamically negotiating trunks, this will never happen due to the mismatch domains. Meaning that your trunks will never come up because you did not put your Transparent switch in the same domain.
    Kiel Martin 

  • Application Module Release Mode and Session Cookie

    BC4J 9.0.3.3
    I have a SessionCookie and I want to find out the RELEASE_MODE of the App Mod the cookie refers to. How do I get the RELEASE_MODE of an App Mod?
    TIA,
    Eric

    Repost

  • Scrollbar missing on Mac OS 10.7.4 when viewing in Cover Flow mode and using wireless mouse

    Mac OS 10.7.4 + using wireless mouse + viewing files in Cover Flow mode, you will find Scrollbar is missing. This problem won't happen in other combination of OS versoin + Mouse.
    Look at attached file at this link: http://www.vtm-vn.com/downloads/MACOS-Scrollbar-Missing.png

    Hi..
    Might be help for you here >  OS X Lion: Vanishing Scroll Bars & How to Get Them Back | Apartment Therapy Unplggd

  • Code runs fine in debug mode but hangs when compiled in release mode

    I am struggling with the following problem. I have code which runs fine when it is executed in debug mode. However, when I compile it in release mode and run the executable, the code freezes and does not work. The code acquires images from a Hamamatsu camera. In the debug mode I am able to continuously acquire images. However, in the release version, the code hangs after acquiring the first image.
    I am using LabWindows/CVI version 7.
    I would greatly appreciate if I can get any help/suggestions in resolving this problem?
    Thanks!
    Regards,
    Sripad
    Solved!
    Go to Solution.

    Sripad:
    If you search this forum for "debug release crash" or "release version crash" or similar phrases, you'll find that this is a pretty common question.  Look through the other posts you find here to see if anything is applicable to you.
    The debug version does some things like padding variables so you can sometimes overrun your declared variable space without overwriting the next variable.  In the release, the variables are packed, so if you overrun one, you are overwriting another.  Just one possible difference.
    You can do some things in your release code to see where things get lost, like (temporarily using printf statements after multiple statements at the start and end of your loop to try to identify that failing line of code.
    Look through other threads to find other ideas.

  • Thread won't run in release mode

    My application runs fine in Debug mode. I have several threads. A couple just blink some LEDS. In release mode they don't blink and my main function that is triggered by a button which runs a callback function that launches another thread doesn't work. 

    Hello,
    it's difficult to try guessing what's happening with no informations available. Apparently ther's something that's causing a program crash in release mode and you suppose it relates to some problem in memory allocation. Additionally, it seems your program is consuming system resources until it fills up all available memory.
    Are you freeing the dynamic memory when no longer needed? Are you sure you don't have any memory leak that can cause this increment in memory occupation? You must double check that every dynamic array allocated is freed when no longer used; you may want to swap part of the dynamic memory to disk if you are not using it constantly.
    Additionally, have you a consistent and robust error checking method that logs all errors found to the user interface or to disk?
    Another hint if you have CVI2009+ can be to activate extended debugging level in Build Options, next run the program some time in debug mode and close it: if some resources are not properly freed the Resource tracking window should appear with all allocated resources listed that are not correctly freed by the code.
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

  • How can I move my old iPhoto library into a Referenced Library format and use that as my default?

    Hi, I have been using iPhoto for photo management where all the jpegs have been living, in organized events by date and subject for some time. I recently upgraded to aperture and am using the same iPhoto library. The issue I have is that I use Carbonite for my cloud back up and I am able to look at the pictures I have on my PC with the same folder organization I have them on my PC hard drive. This is apparently not possible for iPhoto library. The only way to access a picture on the iPhoto library in the cloud is to go through the master and hope you can find the specific picture since they are not organized in a comprehensible manner (like events or folders) in there.
    So the only solution I can think of is to move the current iPhoto library to a referenced image library and use that as my default library from now on. This way I get cloud access and the events will hopefully turn into folders with dates and subjects that I can continue to keep organized to satisfy my OCD tendencies.
    So the question I have is that:
    1. How can I make a reference Library for Aperture/iPhoto?
    2. How do I move the current library to the Referenced Library in an Organized manner? My wish list would be a series of folders labeled with the date and the subject, like I have in my iPhoto library right now.
    3. If there is any alternative, your suggestions and recommendations would be much appreciated.
    My computer: Mac Mini (Mid 2012), Lion, 16GB RAM.
    Thank you kindly,

    Or is there a way to go through aperture to make a new reference library that I can move the masters into later?
    you do not move the masters into a references library - you turn your current library into a referenced library.  As Terence Devlin said:
    File -> Relocate Masters
    What you should set up:
    Select a folder, where you want to store your referenced files - probably on an external drive.
    Decide on a hierarchical folder structure inside this folder - that is completely up to you.
    Select a project from your library and use the command "File -> Relocate Masters/Originals" to move the original image files to the folder where you want to go them to. Only take care not to send two projects to the same folder.
    Alternatively, if you do not care about the folder structure Aperture will use, select all images at once from the "Photos" view and let Aperture decide how to assing the folders - in the "Relocate Originals" dialoge you can specify a subfolder format.
    Regards
    Léonie

  • How to down load and using OpenStreetMap offline with LabVIEW 2013

    Dear All
    How can i download the OpenStreetMap  database and API for LabVIEW to call this offline map database !
    Thanks
    Luong.Tran
    Solved!
    Go to Solution.

    Hi Hockeyjim07
    I mean how can i use OpenStreetMap with offline mode. base on your link  it is required the computer have to access internet.  so my question is how can i download the OpenStreetMap database(pictures) and setup to offline mode and using OSM api to call the offline map?
    Thanks
    Luong.Tran

  • PR workflow for item level release (stock and non-stock)

    Hello gurus,
    I am not getting the agents.!!
    I am creating a workflow for pr( item level release)..and using standard wf WS00000038 for this, as the standard wf contains the simple release procedure  only but i have to add some custom steps to it, so i have copied this wf as custom wf .
    In this wf i have to fetch the agents based on the "stock" and "non-stock items".
    so i have maintained strategies and release code like:
    i have maintained two strategies W1(non-stock) and W2(stock)..and release code for W1 are P1 and P2..here P1 i have given for my first level of approval and P2 for second level of approval.
    The release code for W2 are P3 and P2..first level is P3 and second is P2.
    so what i have did in a workflow , started with a condition step where i have given "releasecode = p1".. if yes than than it will go for getting approval from p1 , in this activity i am using  standard rule 157.
    The main thing is  1). i am not getting how to fetch agents using standard rule. 2)and how and where to define next level of approval for both stock and non-stock.
    means by using condition step in the starting i am dividing workflow in two parts stock and non stock but how to proceed next.
    i am really confused. should i use rules or write my own methods. please if anybody has gone through the same scenario than please suggest some points. i will really appreciate the help.
    Kind Regards.
    Himanshu

    Hello HIM Joshi !
                       Include the task TS00007986 and all its branches and  in a loop and loop around it for two times.When the loop goes for the first time, it should pick the first agent and during its second iteration, it should pick the second agent.
                       To accomplish so, In the same loop, but before the above task , include a background task which should populate the agent ids depending on stock and non-stock details and pass it to the the task  TS00007986
                       That's all.
    Regards,
    S.Suresh

Maybe you are looking for

  • Check the attachments in PDF Form

    I am currently working on a offline interactive form wherein the requestor is supposed to attach a file to his pdf Form before submitting. Now my requirement is to check if there is an attachment with the form(offline) on the click of the submit butt

  • Can't sign in to my account

    I can't sign in to my account in the app store for MacBook. When I click on "account" in the app store which appears in the right side, a window appears to let me type the ID and the password. Each time I type the password the window appears again an

  • How to delete acct

    name was misspelled in email address when setting up account so verification email was never received.  Account reset with correct email address but when logging in it shows the misspelled email address but won't accept the password.  How do I delete

  • How to cancel iPhone repair online?

    Yesterday i had requested an online repair for my iPhone as it had a speaker fault. So this morning when i woke up, my iPhone was lying on the floor, i think must've dropped it while asleep. Well anyways, i tested it all and it seems to be working fi

  • How to map M-N-O relationship with JDO

    Hi, I am relatively new to JDO so any help would be appreciated. I have a database that has 4 tabels, Item, Section, Mechanism and MechanismItemSection. MechanismItemSection is a mapping table between the rest of the three tables. It contains the pri