Advertisement
dllbridge

Connect to dllBridge.dll

Feb 10th, 2022
933
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 2.00 KB | None | 0 0
  1. #include   "C:\\dllBridge\\dllBridge.h"                                          
  2.  
  3. // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +
  4. //    The dllBridge-folder should be here: "C:\dllBridge".                                               !        
  5. //                                                                                                       !  
  6. //    Already connected in the "dllBridge.h" file                                                        !  
  7. //    - - - - - - - - - - - - - - - - - - - - - - - -                                                    !
  8. //    #include    <stdio.h>                                                                              !
  9. //    #include   <string.h>                                                                              !
  10. //    #include   <locale.h>                                                                              !                            
  11. //    #include  <windows.h>                                                                              !
  12. // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +
  13.  
  14.  
  15.  
  16.  
  17. // Демонстрация подключения для языка Си
  18. ///////////////////////////////////////////////////////////////////////////////
  19. int main()                                                                   //
  20. {
  21.    
  22.     if(dllBridge_init(7564) > 0)  
  23.     {
  24.    
  25.         for(int i = 4; i < 25; i += 2)                                   //       Подождём 25 секунд и отключимся.
  26.         {
  27.             Sleep(1000);
  28.             Transit[3][i] = 1000 + i ;  //  Содержимое этого массива просматривайте, через программу "UniMons.exe"
  29.             printf("%d\n",  1000 + i);     
  30.         }
  31.     }
  32.    
  33.   __DisConnect(ProgramNumber);   printf("\t   Отключились от \"dllBridge.dll\"");                                                
  34.  
  35. return 0;  
  36. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement