lisp2arx
Visual Programming for AutoLisp Mathématiques en programmation Lisp.. doc2cpp,doc2lsp, sld2lsp, bmp2dcl, free__GifCcapture for all-CAD'platforms..
Lista Forumurilor Pe Tematici
lisp2arx | Reguli | Inregistrare | Login

POZE LISP2ARX

Nu sunteti logat.
Nou pe simpatie:
Alexandrina1
Femeie
23 ani
Arges
cauta Barbat
22 - 46 ani
lisp2arx / Abecedar Scolar / Import and Export .dll  
Autor
Mesaj Pagini: 1
admin
Administrator

Din: Bucharest
Inregistrat: acum 13 ani
Postari: 506
Change the output type from Console Application to Windows Application,
And Instead of Console.Readline/key you can use new ManualResetEvent(false).WaitOne()
at the end to keep the app running.

Code:

class start
    {
        [DllImport("user32.dll")]
        static extern bool ShowWindow(IntPtr hWnd, int nCmdShow);
        static void Main()
        {
            IntPtr h = Process.GetCurrentProcess().MainWindowHandle;
            ShowWindow(h, 0);
            // Do the rest
         }
}



import and export .dll change the output type from console windows instead you can use new the end

59.8KB


_______________________________________


pus acum 1 an
   
Pagini: 1  

Mergi la