Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- namespace WPFMuskTest
- {
- /// <summary>
- /// Interaction logic for MainWindow.xaml
- /// </summary>
- public partial class MainWindow : Window
- {
- [DllImport
- ("myDll.DLL",
- EntryPoint = "?Func1@FUllNameCopiedFromDependancyWalker",
- CharSet = CharSet.Unicode, CallingConvention = CallingConvention.Cdecl
- )
- ]
- public static extern System.IntPtr Func1(out System.IntPtr handle, int type, out DateTime date);
- public MainWindow()
- {
- InitializeComponent();
- //
- //
- //
- }
- private void button1_Click(object sender, RoutedEventArgs e)
- {
- System.IntPtr MainParam;
- int thetype = 1
- DateTime date;
- System.IntPtr res = GetFxIRMoveForDate(out MainParam, thetype _til, out date);
- }
- }
- }
- namespace1
- {
- namespace2
- {
- void func1(MyClass &myclass, const TYPE& type, const DATE_TYPE& date);
- }
- }
Add Comment
Please, Sign In to add comment