use of dll in the mixed in win 2008 application fails, but the same sequences of app in win 2008 r2

Hello

Currently we have an application that follows set up, we have a module a [mixed-mode dll] compiled with / CLR Pavilion and we have another module B [native code [exe] which gives access to the module. Application B fails to run on the computer of 2008 victory while the same application runs with errors on a box of win 2008 r2. Its a 32 bit application. The only change that has happened in our env was until recently, we used VS 2008 compilers and so far, the applications ran fine on win 2008 and win 2008 r2 machines. But the application even when it is compiled with VS2010 causes the error to be seen only in a box 2008 victory.

While trying to identify the issue, I tried to create the sample application that has a dll in mixed mode generated with the/clr option, and the content of the dll is just a global function that is exported by using _declspec (dllexport).

The other application I wrote uses the .lib, .h and the dll of the module above to call the global function written. When I run the exe of the application fails with the same error. Just to be clear, that the projects are developed using VS2010.

When I just removed the option/CLR using which is the compiled module the application works fine. Ask you to compile with / CLR, generate a dll in mixed mode is causing problems or if I'm missing some parameters.

The application even when I came to win 2008 r2 env works fine, I even tried to copy projects to win 2008r2 box and tried to run it and it works fine.

Please let me know if I could help in this regard or what cud be wrong in the env or if its sth a known issue. Also was wondering if his being caused somewhere in the Ombudsman (thunking).

Point to note is that control never comes the code I've written, it fails while the modules are loaded even if my observations are correct.

Here is a log of event viewer when the main application crashed...

Signature of the problem:
Problem event name: APPCRASH
Application name: pscrrun.exe
Application version: 8.53.0.0
Application timestamp: 4fcd78fa
Fault Module name: ntdll.dll
Fault Module Version: 6.0.6002.18541
Timestamp of Module error: 4ec3e39f
Exception code: c0000005
Exception offset: 00030226
OS version: 6.0.6002.2.2.0.274.38
Locale ID: 1033
Additional information 1: e51a
More information 2: 4c0d4d78887f76d971d5d00f1f20a433
3 more information: e51a
Additional information 4: 4c0d4d78887f76d971d5d00f1f20a433

psccrun.exe - Application error
The failed to initialize properly (0xc0000005).

Thank you

Kazadi.

PS: this was already posted in dev/debugger vs MS forum and suggested to post here. [http://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/70da2119-7d82-4742-9441-c922e0660262]

Hello

Your question of Windows 2008 is more complex than what is generally answered in the Microsoft Answers forums. It is better suited for the IT Pro TechNet public. Please post your question in the TechNet Forum. You can follow the link to your question:
http://social.technet.Microsoft.com/forums/en/winservergen/threads

Tags: Windows

Similar Questions

  • DLL with the same screws simultaneously

    Hello

    I have two DLLs that have the same names of VI compiled. Now, I have the problem, that I can not use the two DLLs at the same time. It seems that the VI of the first called dll is loaded into memory, and the second dll uses the screw of the first dll - given that the screws have the same name.

    How to avoid this failure? The only way seems to be to rename all the subVIs in the dll, so that they have a unique name.

    Or is there another possibility?

    concerning

    MB

    You can try putting each set of two different libraries (*.lvlib) int SubVIs. If delimeted names stored in the DLL, then you will be able to load the screws with the same names in memory at the same time without conflict.

    Andrey.

  • The orange button Firefox used to be on the same line as tabs, how to move the tool bar of tabs to be on the same line as before?

    I now have the Firefox button orange on its own line at the top of the page, but it used to be on the same line as the toolbar tabs which takes less space. I know what happened before I put right but cannot get back them now on a single line.

    Make sure that you have selected cover via Firefox > Options.

    You also have to maximize the window to have the tab bar and the Firefox button in the title bar.

    You can also set the pref browser.tabs.drawInTitlebar Boolean to true on the topic: config page.

  • Satellite L550-117 - how to use VGA + HDMI at the same time?

    Hello
    I have a Satellite/Satellite L550 series Satellite L550 - 117.
    Can I use 2 monitors at the same time, using the function key (laptop screen + HDMI, VGA + HDMI, VGA, portable computer), but I would use "laptop screen", "VGA output" + "Output HDMI" at the same time (for example: to play a movie on an HD TV and work on the other two screens).
    I also want to play sounds on computer speakers 'and' an HDMI output, not the speakers for computer 'or' HDMI.

    Is it possible with this notebook and how?

    Thank you

    Hey Buddy,

    Good idea you have unfortunately it of not possible to use 3 monitors at the same time. You can use the internal monitor and an external monitor but not the two external monitors. This is not supported in the graphics card.

    Then, you use internal monitor, VGA connection or internal monitor + HDMI connection. That s what you can do.

  • BlackBerry Smartphones using two BB with the same account of Blackberry.

    Currently, I have a BB 9900 and is considering obtaining a BBZ10. The 9900 has a standard sim card by which the Z10 I think a micro sim. (I still have to talk to my service provider relating to the regime of a sim 2)

    Is it possible to use two phones at the same time, if my provider allows, regarding BB services etc. using the same account etc?

    I thought that I have addressed this before first topic to contact my ISP.

    Thank you.

    Kind regards.

    You ask the subject from the BBID even on both devices?

    Yes, to a certain extent, on the data.

    E-mail and social accounts like Facebook and Twitter works perfectly.

    BlackBerry Messenger will use only a BBID on a device at a time... If you have the same BBID on both devices, you will need to choose which will be your active BBM.

    Of course, the main question to this is if your mobile operator will allow two SIM cards with the same account. Doubtful.

  • several insert using the same sequence number,

    Hello

    I need to use the same sequence number in several documents (insertion).

    Is this possible and how?

    Thank you

    It depends on how you are doing multiple inserts.  If you then run a bunch of single inserts something like:

    dev1 > create table t (ID, descr varchar2 (10));

    Table created.

    dev1 > create sequence t_seq;

    Order of creation.

    dev1 > select double t_seq.nextval;

    NEXTVAL

    ----------

    1

    dev1 > insert into values t (t_seq.currval, 'Rec 1');

    1 line of creation.

    dev1 > insert into values t (t_seq.currval, "Rec 2");

    1 line of creation.

    dev1 > insert into values t (t_seq.currval, 'Rec 3');

    1 line of creation.

    dev1 > insert into values t (t_seq.currval, 'Rec 4');

    1 line of creation.

    dev1 > insert into values t (t_seq.currval, 'Rec 5');

    1 line of creation.

    dev1 > select * from t;

    ID DESCR

    ---------- ----------

    1 rec 1

    1 rec 2

    1 rec 3

    REC 2 4

    REC 2 5

    You can use a similar approach, if you select data from another table as long as you can make the selection sufficiently selective to retrieve only the lines you need.

    John

  • I want to know if I can use creative cloud with the same account on different computers

    I want to know if I can use creative cloud with the same account on different computers, because my children want to she and I have known if I buy when I can use it on several computers at the same time

    If it is the individual subscription, you can activate on 2 computers only.

    However, there is no limit for installation, but you can connect and activate on 2 computers only.

    If you had already signed and activated CC apps on 2 computers, and there still if you want to activate on a 3' rd computer, you can simply disconnect one of the 2 comps, so that you can keep counties of activation.

    For more information, see the link below:

    https://www.Adobe.com/content/dotcom/IE/products/creativecloud/FAQ.html

  • 6 of Lightroom cannot read my Canon 5 d Mark III photo files, the import message I received: the following files were not imported because they could not be read. I use the same camera that I used Lightroom 5 with the same cards Compact flash.

    6 of Lightroom cannot read my Canon 5 d Mark III photo files, the import message I received: the following files were not imported because they could not be read. I use the same camera that I used Lightroom 5 with the same cards Compact flash. The files are: DK5A0243. CR2

    Lightroom 6 trying to copy pictures to a different directory than what is Lightroom 5. That's why you have the problem.

    You can change the directory where you are teaching LR 6 to place photos, or change the permissions on this directory to read & write.

  • Is it possible to use vSphere replication within the same site?

    Hello

    I was wondering if I could use vSphere replication in the same data center. The idea would be to have a configuration without shared storage appropriate for HA.

    Thank you!

    elgreco81

    Yes, it's not a problem at all. You can have a single unit of replication running and replicate to another data store.

    André

  • parallel and sequential in the same sequence

    Hello

    To expedite the duration of the test, I would like to make some of my steps in parallel with others.

    However, some of the previous steps and the following must be executed sequentially.

    How to combine these 2 behaviors run inside the same sequence?

    Put the digital multimeter read in a sous-suite. Then call three times, with the option to purchase New Thread subsequence. You can use the three steps in sequence call, or to execute a loop on a single call.

    After the call, use a step of waiting with the wait for the option of Thread for each call. You can use the three steps of waiting to match your three calls, or if your calls were in a loop, you can use an expectation not in a loop.

  • HD video and Jpeg photos in the same sequence/project?

    I want to use HD video (1929 x 1084; 24 bits/s) and Jpeg images from my digital SLR camera in the same sequence. My problem is that when I choose the correct presets for video (DSLR 1080 p 24) then the Jpegs gets cropped in the program monitor (I don't see only part of the picture). How can I fix?

    This is probably a simple question but I was not able to find an answer.

    Kind regards

    There are essentially two ways (plus a Variant) to this address.

    Your pictures are too-large, for the project Preset frame size. You can apply the fixed effect > Motion > to scale the size of the image (1920 x 1080), or can verify the scale to the default image size (i.e. variation). Or, you use a program like Photoshop, scaling up to 1920 x 1080.

    Up to CS5, PrPro wasn't good scalability, so PS was the way to go. Things have changed with CS5, but we're still pushing around a bunch of pixels, that won't be necessary, and this taxes the computer.

    Good luck

    Hunt

    PS - This ARTICLE will give you some information and advice on the conduct of the scaling in PS.

  • Prime Minister CC does not allow me to add several MTS files in the same sequence?

    Hello. I've been shooting on a Sony A7s ii. When editing first CC does not allow me to add several MTS files in the same sequence? It will add the audio but no Visual.

    Any ideas?

    Hi Bunglefoot,

    Hello. I've been shooting on a Sony A7s ii. Which first CC edition does not allow me to add several MTS files in the same sequence? It will add the audio but no Visual.

    Please visit this link:

    FAQ: Why no audio or video will not at the track where I let down?

    Thank you

    Ilyes Singh

  • How to use 3 users on the same win XP VM, but each user has his own office.

    Hello world

    I'm a student and my friend, we have a problem on our vmware project...

    WE WANT to THE LOG IN VCENTER WITH 3 OTHER USER (the user are defined in Active directory) AND EACH USER MUST LOG on to THE SAME VM AND BEING ABLE TO HAVE THEIR OWN OFFICE...

    our teacher said that it is a feature of vcenter...

    We have an esxi and vcenter on that apparatus operation, we also have our active directory and windows xp for users...

    We are looking for a solution for 3 days now and we're short on coffee so please help us ^^

    Thank you and have a nice day

    Hugo

    If you ask if there are three HARD drives on a VM xp, yes you can have.

    But if you ask if you have three HARD drives and which will have to allow users to connect at the same time it is not possible as stated above.

  • Cannot run Simulink DLLs at the same time that the execution of the target time real VI

    Hello

    What I try to do is run a dll created in the Simulink model to control some servo through a CompactRio 9014.

    For the moment, I managed to create three screws

    (1) in the FPGA target that performs the PWM channel desired

    (2) which takes the value of a variable that contains the desired position and network that feeds to the 1st VI

    (3) a VI that is running on the host computer that changes the value of the network variable to change the position

    I can get these three work screw and the servo controlled, but when I try to update the value of the network variable using simulation, by deploying to the target of RT simulation and running, he said:

    ' Access denied: this objective is already used by another host or project. »

    I guess that's because the project is already connected the cRio, so I unplug and am able to deploy the model files.

    However, when I try to run one of the screws in the Targer RT as well as simulation I get the error:

    "This VI is downloaded to the target, but is not present in the project you are trying to deploy.  All the screws on the target will be closed unless you choose to add the missing project VI. »

    With a large number of missing screws...

    I'd do this wrong, i.e. is there a simpler way to control inputs FPGA using the simulation, or is there something I have missed?

    Thank you

    Geoff

    Hi Geoff,

    I think I understand what you're trying to do and what you've done so far.

    If I'm not mistaken you have passed through the SIT connection manager, set your target RT (select DLL, mappings and hardware i/o) and this is his 'magic '.   If this is the case of look for the project pilot LabVIEW which was created by the SIT connection manager.  This should live in the same folder where is your DLL.  Open the pilot project, search for VI driver and open it.  Then go into the Sub - VI # 5 has with the name of the loop rate Base.  It's the Subvi who reads/writes on the material and the reads/writes the data to the DLL/OUT model.  If you want to read the output of your model and then manipulate the data that is where you need to add your code.

    Inside of this Base rate loop VI there is a Subvi with number 4 and called SIT take model Timestep.  This VI is the one who makes the call to the DLL model.  The output of this VI is your data from the model.  This data goes into slot - VI # 5, which is responsible for the drafting of these data to the material.  Since you want to manipulate that data from the model, you need to recover data from the wire coming from the Subvi 4 (SIT take model Timestep) before it gets to the Subvi # 5.

    In this VI of Base rate loop, you will see that there are a few empty block structures.  These images are for you to put any code you want.  The reason is that any changes you make to the driver VI and subVIs that aren't inside of these frame structure will be lost if you decide to go in the connection manager to sit DOWN again and make some changes.  The VI pilot gets new script whenever you do something in the SIT connection manager.  Whatever it is inside these frames will not be erased.

    So, if you have a code you want to run in parallel to the simulation you just have to drop it inside this driver VI.  Very probably within this Subvi 5 (Base rate loop). To add your code just drop the VI in one of these settings and make any changes that him so that he can read the data in the model.    Furthermore, the model (Subvi 5) data in a table.  For the index of each element in the array and its meaning look for a file in the same folder where the DLL is named readme.txt ports.  This file has a description of the inports and small ports and their indexes.

    This VI driver is called when run you the host VI so you won't have to run sepearately.

    Kind regards

    Ricardo

    National Instruments

    Systems engineering

  • Force the tun DLLs in the same thread (wait the user interface Thread)

    Hello

    I want three different DLLs execute in the same thread, but this thread should not be "the Thread interface user. I have here a way to force them to do so?

    Best regards

    Jarrod S. wrote:

    Calls DLL should I really run in the same thread? Or is it required just that they are not running at the same time? In the latter case, you might consider using a semaphore to protect your DLL call, or maybe put all DLL calls into a unique slot - VI with a structure in case of deciding who to call to make. This second option could become more complicated if all calls have different sets of inputs or outputs.

    Using another system running other UI Thread won't work, because these delivery systems each get 4-8 threads to run with.

    HO on...

    Put all calls in an motor action configured to operate in "Other1" (for example) and then use "threadconfig" to set up for a single thread.

    Write a wrapper for each call to EI and...

    Do?

    Ben

Maybe you are looking for

  • Music on Apple Tv

    When I go into computers on ATV 3 rd gen. I can play two purchased and installed CD, S.When I go to music on the ATV, I can play purchased music. Is it possible to add installed CD, S of music?

  • Add title to TextEdit table

    I've never used TextEdit before, but I now have a project that requires me to make four columns indefinite length, table (maybe 200 lines). I learned to adjust columns and rows, but I would now like to add a title to the table. Additional: 1. I am us

  • How to generate a string

    Is there a way to create an empty string of arbitrary length? I mean, it's I have an integer as input This integer indicates the length of the string An empty string (containing h 00 only) with this length is the output

  • What will happen if your hotmail account you have it is information changed?

    Hello The title is self explanitory, but I was just wondering if they changed your info and security info. I got recently just for my account back who has changed information, such as the contact email is not mine and the issue secret. Any idea on so

  • Replacement for the preview handler host has stopped working

    When creating a shortcut which connect to the network share. It can connect to get the file and it will have the following error message: Replacement for the preview handler host has stopped working Signature of the problem:Problem event name: APPCRA