خرید بک لینک

Vote count: 0

i tried to work with dll's. so i create an dll.

[dll]

uses
  System.SysUtils,
  System.Classes, vcl.dialogs;

   procedure gugug();
   begin
     showmessage('DA');
   end;

      procedure gugug2();
   begin
     showmessage('DA');
   end;

{$R *.res}
   exports
    gugug, gugug2;

[unit1]

in this unit i include the dll and procedure exteal.

implementation

  procedure gugug(); stdcall; exteal 'project2.dll';
  procedure gugug2(); stdcall; exteal 'project2.dll';

the i use the button click procedure, there i will call both procedure gugug,gugug2. So but when i want to generate the application i didn't get an application. when i compile this app, i didn't get any error.

it works only when i call only one procedure. so i will get an window (application). but when i call both i don't get an window.

why?

asked 1 min ago

برچسب: نویسنده: استخدام کار تاريخ: دوشنبه 11 مرداد 1395 ساعت: 6:00

صفحه بندی