Guest User

Untitled

a guest
Jan 21st, 2019
1,177
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.98 KB | None | 0 0
  1. namespace WPFMuskTest
  2. {
  3. /// <summary>
  4. /// Interaction logic for MainWindow.xaml
  5. /// </summary>
  6. public partial class MainWindow : Window
  7. {
  8. [DllImport
  9. ("myDll.DLL",
  10. EntryPoint = "?Func1@FUllNameCopiedFromDependancyWalker",
  11. CharSet = CharSet.Unicode, CallingConvention = CallingConvention.Cdecl
  12. )
  13. ]
  14. public static extern System.IntPtr Func1(out System.IntPtr handle, int type, out DateTime date);
  15.  
  16. public MainWindow()
  17. {
  18. InitializeComponent();
  19. //
  20. //
  21. //
  22. }
  23.  
  24. private void button1_Click(object sender, RoutedEventArgs e)
  25. {
  26. System.IntPtr MainParam;
  27. int thetype = 1
  28. DateTime date;
  29.  
  30. System.IntPtr res = GetFxIRMoveForDate(out MainParam, thetype _til, out date);
  31. }
  32. }
  33. }
  34.  
  35. namespace1
  36. {
  37. namespace2
  38. {
  39. void func1(MyClass &myclass, const TYPE& type, const DATE_TYPE& date);
  40. }
  41. }
Add Comment
Please, Sign In to add comment