IntegrateNet sample
Author: alex.meyers@cevi.be (ceviame)
have been trying to get this to work, need to recycle Uniface logic from behind a C# service the generated dll looks OK (definition in Studio) [CoClass(typeof(productClass))] [Guid("F27BDDCA-547E-4941-A808-24D8BE93C100")] public interface product : _product { } [Guid("F27BDDCA-547E-4941-A808-24D8BE93C100")] [InterfaceType(2)] [TypeLibType(16)] public interface _product { [DispId(1001)] int accept(); [DispId(1002)] int alex(ref string naam); [DispId(1003)] int exec(); [DispId(1004)] int get_price(string the_name, out int the_price, out bool available); [DispId(1005)] int quit(); } however, when stepping thru in debug when entering the button click function the contents of the Output window : ... 'TestCallIn.vshost.exe' (Managed (v2.0.50727)): Loaded 'C:\\Users\\ame\\Documents\\Visual Studio 2010\\Projects\\TestUniface\\TestCallIn\\bin\\Debug\\TestCallIn.exe', Symbols loaded. 'TestCallIn.vshost.exe' (Managed (v2.0.50727)): Loaded 'C:\\Users\\ame\\Documents\\Visual Studio 2010\\Projects\\TestUniface\\TestCallIn\\bin\\Debug\\myUnetTestNET.dll' then stepping thru the following : myUnetTestNET.product theprod = new product(); the application stops, no exception All i get in output is The program '[6908] TestCallIn.vshost.exe: Managed (v2.0.50727)' has exited with code 1 (0x1). Any help or suggestions ? When i tick debug logging in COM configuration, where to find anything ? doc says Global Uniface COM Settings //
but the key does not exsist ??? Alex