
kmeleon
Active Members-
Posts
34 -
Joined
-
Last visited
About kmeleon
- Birthday 09/05/1981
Profile Information
-
Location
Poland, Toruń
-
WWW
http://www.pajacyk.pl
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
kmeleon's Achievements

Seeker (1/7)
0
Reputation
-
Hey I have a question, is it possible to change the baud without closing and reopening the serialport?
- 680 replies
-
- serial port
- virtual port
-
(and 2 more)
Tagged with:
-
Hey I have a question, is it possible to change the baud without closing and reopening the COM port?
- 28 replies
-
- dllcall
- kernel32.dll
-
(and 2 more)
Tagged with:
-
Is it possible vertical console view in ISN AutoIt Studio?
- 995 replies
-
- isn autoit studio
- isn
-
(and 3 more)
Tagged with:
-
Question 1 Thanks Martin. Now is OK. Question 2 When I want change baud by using _CommSetPort port is close and open with new parameters. I checked this on Serial Port Monitor 4.0 by Eltima Software (14 days trial version).
- 680 replies
-
- serial port
- virtual port
-
(and 2 more)
Tagged with:
-
Hi Martin 1. New version commg.dll and my script ?do=embed' frameborder='0' data-embedContent> can crash when I want connect again. How to crash 1. Run my script ?do=embed' frameborder='0' data-embedContent> 2. Connect to port 3. Disconnect 4. Connect to port With old commg.dll 2009-12-03 it is OK Where is a problem ? 2. It is possible change baud when we are connected without port closing?
- 680 replies
-
- serial port
- virtual port
-
(and 2 more)
Tagged with:
-
Hello Example DLL in Visual Studio File->New Project->Other language->Visual C++ ->Win32->Win32 Project->Name= "ExampleDLL"->OK->Next->Dll->Finish In Solution Explorer Source Code->ExampleDLL.cpp //ExampleDll.cpp #include "stdafx.h" int _stdcall Add( int a, int b ) { return a + b; } In Solution Explorer "Source Code"->Right mouse->Add->New Item->Code->Module-Definition File (.def)->Name "ExampleDLL"->Add //ExampleDLL.def LIBRARY "ExampleDLL" EXPORTS Add @1 In Solution Explorer Header Files->Right mouse->Ad->New Item->Code->Header File (.h)->Name ExampleDLL->Add //ExampleDLL.h int Add(int a, int b); Menu->Build->Build ExampleDLL ;example AutoIT $h = ""&@ScriptDir &"\ExampleDLL.dll" $Add = DllCall(""&$h, "int", "Add", "int", 10 ,"int", 9) If @error <> 0 Then MsgBox(0,""&$Add,"error: "&@error) Else MsgBox(0,"",""&$Add[0]) EndIf
-
How Call in Autoit function Library (dll) C#
kmeleon replied to kmeleon's topic in AutoIt General Help and Support
This is how best to choose a project in VS to create a library that will work with AutoIt? -
Hello, I have project Class Library in VS C# and I want call this function "Add" but I still have error 3 - "function" not found in the DLL file. How fix it ? >>Code in VS C# using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ClassLibrary1 { public class Class1 { public int Add(int p1, int p2) { return p1 + p2; } public int Subtract(int p1, int p2) { return p1 - p2; } } } >>Code in AutoIt $h = ""&@ScriptDir &"\ClassLibrary1.dll" $Add = DllCall(""&$h, "int", "Add", "int", 3, "int", 4) If @error <> 0 Then MsgBox(0,""&$Add,"error: "&@error) Else MsgBox(0,"",""&$Add) EndIf
-
Recursion level in Date.au3 (1607)
kmeleon replied to kmeleon's topic in AutoIt General Help and Support
Thanks a lot It was so easy. Now is OK. -
Recursion level in Date.au3 (1607)
kmeleon replied to kmeleon's topic in AutoIt General Help and Support
I don't know how fix my problem with recursion. My code is it something like that >> local $i = 1 one() Func one() two() EndFunc Func two() three() EndFunc Func three() while 1 ;main loop ConsoleWrite("test" &$i &@CRLF) $i = $i + 1 four() WEnd EndFunc func four() five() EndFunc Func five() one() EndFunc -
Recursion level in Date.au3 (1607)
kmeleon replied to kmeleon's topic in AutoIt General Help and Support
I have some ideas why my script had a recursion. Tomorrow I will be search where is problem. If I fix my script I can say "I understand" now I can say I know more and I know what I must looking in my code. thanks a lot -
Recursion level in Date.au3 (1607)
kmeleon replied to kmeleon's topic in AutoIt General Help and Support
OK. I have bad code. I admite. You have right sleep(1) is wrong path. Thank you and sorry for the fact that I was stubborn -
Recursion level in Date.au3 (1607)
kmeleon replied to kmeleon's topic in AutoIt General Help and Support
OK. Knowing english by me is not very well. Sometime I not understand everything. But I have question? Why this code work ? #include <date.au3> _Recurse() Func _Recurse() _DaysInMonth(2011) sleep(1) _Recurse() EndFunc -
Recursion level in Date.au3 (1607)
kmeleon replied to kmeleon's topic in AutoIt General Help and Support
Thanks for this code. I understand now this problem. I add sleep(1) in my code and is OK Thanks again -
Hello I my script is problem with recursion in Date.au3 C:\Program Files (x86)\AutoIt3\Include\Date.au3 (1607) : ==> Recursion level has been exceeded - AutoIt will quit to prevent stack overflow.: If _DateIsLeapYear($iYear) Then $aiDays[2] = 29 ->13:01:28 AutoIT3.exe ended.rc:1 How fix this problem ? thx