limelect
Members-
Content Count
835 -
Joined
-
Last visited
-
Days Won
1
Everything posted by limelect
-
Fixed some times i get old if TBlobField(FDTable1.FieldByName (FDTable1.Fields.FieldName)).BlobType =ftWideMemo then TBlobField(FDTable1.FieldByName (FDTable1.Fields.FieldName)).DisplayValue:=dvFull; in the fields, the HTML does not like I with []
-
Ok sorry, I will explain further. Dblclick fdtable you get field editor. Adding a field you get its property. In the property you have displayvalue=dvfull. <<<<< I need that at runtime. Hop that has clarified Otherwise, you have WIDEMEMO shown
-
I have these lines of code where s is the name of the computer I want to find its IP TIdStack.IncUsage; try s := GStack.ResolveHost(s); Panel4.Caption:= s2+' IP - '+s; finally TIdStack.DecUsage; end; The first time it is OK The second time it gives me an error 11004 Any fix? D10.2.3 Indy 10 Plz only real answer no blabla P.S Debugging I reached unit IdWship6; where I am stack I am working with UDP
-
Thanks, I fixed it differently
-
I have to clarify what I do the first time is to find all computers on the net with procedure EnumNetwork(const aEnumNetworkProc :TEnumNetworkProc; const aScope :dword = RESOURCE_GLOBALNET; const aType :dword = RESOURCETYPE_ANY); implementation //Proc?dure r?cursive procedure DoEnumNetwork(const aContainer :Pointer; const aEnumNetworkProc :TEnumNetworkProc; const aScope :dword; const aType :dword; const aLevel :byte); type PNetResourceArray = ^TNetResourceArray; TNetResourceArray = array [0..0] of TNetResource; var NetHandle :THandle; NetResources :PNetResourceArray; NetResult :dword; Size, Count, i :Cardinal; Continue :boolean; begin Continue := TRUE; NetResult := WNetOpenEnum(aScope, aType, 0, aContainer, NetHandle); if NetResult = NO_ERROR then try //Taille de base Size := 50 *SizeOf(TNetResource); GetMem(NetResources, Size); try while Continue do begin Count := $FFFFFFFF; NetResult := WNetEnumResource(NetHandle, Count, NetResources, Size); //Taille insuffisante ? if NetResult = ERROR_MORE_DATA then ReallocMem(NetResources, Size) else Break; end; //Enum?re if NetResult = NO_ERROR then for i := 0 to Count - 1 do begin //Callback if Assigned(aEnumNetworkProc) then begin aEnumNetworkProc(NetResources^, aLevel, Continue); if not Continue then Break; end; //Appel r?cursif if (NetResources^.dwUsage and RESOURCEUSAGE_CONTAINER) > 0 then DoEnumNetwork(@NetResources^, aEnumNetworkProc, aScope, aType, aLevel +1); end; finally FreeMem(NetResources, Size); end; finally WNetCloseEnum(NetHandle); end; end; Then I find the computer IP once but second time an error
-
D11.3 CE. A simple program loads to S6 phone. just a button and label Loading complex program shows only this screen BRP here Application.Initialize; does not stop or oncreate form either So now how to debug ? 32bit No errors just stack
-
@Dave Nottage found the problem it seems a directory was the problem changing to System.IOUtils.TPath.GetDocumentsPath Also, it seems that the debugger could not help since the program failed before starting only logcat helped And again great thanks to Dave for his help
-
@Dalija Prasnikar I send @Dave Nottage the sources and will see what happens He found using logcat ( why I did not think about it ?) that there are problems with the java So if compilation is OK how one is expected to debug?
-
@Dave Nottage I will happily share with any serious programmer the source I do not see ANY reason for the transfer problem from D10.2.3 to D11. The components are standard And if professionals like all of us have to start with a learning curve it is not reasonable. After all, it is not like moving from D7 to D11. And especially that this software worked perfectly.
-
May i sugest an impruvment Embarcdero has to take my source and find out what is going on. But they won't
-
@Dave Nottage My problem has nothing to do with the kind of software as the program does not even start on the phone It has to do with d11 compilation.
-
Those files are not used so back to the basic problem
-
One thing may be very important For left-right to work on Android, I have this files now I wonder if this is the problem although I doubt I will try NOT to use this files and see what happenes
-
This a window version for sending msg to WhatsApp the same (with a little change of screen) for Android
-
1. I did try to install it by moving the APK to a directory on the phone -- the program does not start seeing only the icon as the picture shows 2. On a debug mode the form does not even start >>>> BRP here Application.Initialize; 3. This is a program on S2 that worked perfectly with D10 4. All compilation works without any errors or warnings. 5. I deleted the Android manifest template so it made a new one. 6. I think I did all possible things with my knowledge 7. I expect moving from 10 to 11 and compiling, not so old program, will be without any problems. 8. All Java is there and seen without any problems
-
And Embarcadero convince me to upgrade to something that does not work
-
Send message frmo VCL app to another machine in lan
limelect replied to mikak's topic in General Help
I tried to delete it. already answered by me -
A little history. Same software was compiled on D10.2.3 and WORKED !!!! on S2 phone. when i moved to S6 phone the software did not work. So i thought D11.3 will do the job. So i thought but Embarcadero is stronger then me. Never happened with Android studio
-
It has defently to do with d11.3 compilation
-
@programmerdelphi2k You miss the point. BRP here Application.Initialize; does not even break. It has nothing to do with my software as mine does not even start
-
@programmerdelphi2k I am so used to both programs of EXE. Even in Android Studio Why change? after all, the output is the same for both programs,
-
Thanks again i will check
-
@programmerdelphi2k 1. I use my phone 2.But i like to have the emulator for small staff 3 SkdManager.bat does nothing that is the problem
-
@programmerdelphi2k Ok, you are correct BUT I run the BAT with any error nothing. I expect those 2 windows to make a virtual Android and update. But I get nothing I will try again as I am not near my system Thanks
-
I have those folders but NO Avd Manger and.exe SDK manager.exe in them This is why I asked the question