Hello everybody,
I'm trying to write a C# program to create new projects.
I'm using:
I have installed the Studio Assembly Resolver, but I still have to run my programs from the Studio4 Directory.
When I try to run my program from Visual Studio I get the message:
Managed Debugging Assistant 'PInvokeStackImbalance' has detected a problem in 'C:\Program Files (x86)\SDL\SDL Trados Studio\Studio4\ConsoleApplication1.vshost.exe'.Additional information: A call to PInvoke function 'SentinelRMSCore!SentinelRMSCore.Interface.LSAPI::VLSsetFileName' has unbalanced the stack. This is likely because the managed PInvoke signature does not match the unmanaged target signature. Check that the calling convention and parameters of the PInvoke signature match the target unmanaged signature.
EDIT:
Here is my Code:
If I try to save the analyze reports I get "IndexOutOfRangeException".
I have no idea where the problem is.