Hollosi Information eXchange /HIX/
HIX CODER 587
Copyright (C) HIX
1999-09-21
Új cikk beküldése (a cikk tartalma az író felelőssége)
Megrendelés Lemondás
1 Delphi (mind)  28 sor     (cikkei)
2 Re: Idomeres VC++ (mind)  36 sor     (cikkei)
3 Re: Visual Assembler fejlesztes??? (mind)  25 sor     (cikkei)
4 Re: Kepek (mind)  13 sor     (cikkei)
5 Image map (mind)  57 sor     (cikkei)
6 Re: Idomeres VC++ (mind)  46 sor     (cikkei)
7 Re: BAT file (DOS) (mind)  22 sor     (cikkei)

+ - Delphi (mind) VÁLASZ  Feladó: (cikkei)

Tisztelt Coderek !

Szeretnem leszogezni, hogy elso
alkalommal irok es meg nagyon kezdo
vagyok.
Regen (DOS-os idokben) sokat programoztam.
Haladni kell a korral es mentem a horda
utan, igy alltam at W95-re.
A Delphi 3.0 tettem fel.
(Mindez eleg regen volt).
A problemam ott van, hogy a VCL
ikonjai ossze vannak keveredve a
fejlesztokornyezetben.
Pl.: a Button komponens helyen
a panel mosolyog ram.
Meglehetosen nehez ugy dolgozni, hogy
egyenkent vegigolvasom a hint-eket, hogy
megtalaljam azt, amit keresek ?
Tud valaki segiteni abban, hogy hogyan
tegyem helyre a dolgokat ?
Minden valaszt elore is koszonok.
Tisztelettel:

  Toth Tamas


____________________________________________________________
EGON - az ingyenes levelezorendszer  http://egon.gyaloglo.hu
+ - Re: Idomeres VC++ (mind) VÁLASZ  Feladó: (cikkei)

> Visual C++ alatt szeretnek nagy pontossaggal idot merni, legalabb
 > "ms"-ban, de sajnos eddig mindossze masodperc pontossaggal sikerult.

Udv!

A QueryPerformanceFrequency es Counter fv-k kellenek neked, bovebben
olvasd el az MSDN Library-ba. Szerintem eleg egyertelmu a program, ha
nem, irj egy mailt es elmagyarazom.

udvozlettel, fel

#include <stdio.h>
#include <windows.h>

int main()
{
	LARGE_INTEGER	freki;
	LARGE_INTEGER	startTime;
	LARGE_INTEGER   endTime;
	LARGE_INTEGER   totalTime;
	double		frequency;

	QueryPerformanceFrequency(&freki);
	QueryPerformanceCounter(&startTime);
	frequency = (double)freki.LowPart;

	Sleep(50);

	QueryPerformanceCounter(&endTime);

	totalTime.QuadPart = endTime.QuadPart - startTime.QuadPart;
	printf("Eltelt ido: %f 
milisec\n", 	(float)(((double)totalTime.LowPart*1000)/frequency));

	return 0;
}
+ - Re: Visual Assembler fejlesztes??? (mind) VÁLASZ  Feladó: (cikkei)

>>  4. OO vagy vmi hasonlot tud?
>Nem, de gondolkodnak rajta.

Ez jo! Es hogy nezne ki egy objektum orientalt ASM?

code class::dos_com
  filename     db 'filenev.ext',0
public:
  code    sub
  ~code   sub
code endc

code sub
     ah.mov(3Dh)
     dx.lea(filename)
     int.call(21h)
code ends

     ax.mov(4C00h)
     int.call(21h)


Hat nem tudom... Van ennek erteme? Vagy csak rosszul kozelitem meg a dolgot?

Tamas
+ - Re: Kepek (mind) VÁLASZ  Feladó: (cikkei)

>Felado :  [Hungary]
 ...
>megjeleniteni, persze minel gyorsabban. Elsosorban Delphiben (Delphiben
>pixelenkent mar probaltam de az menku lassu, percekig is eltart) vagy C

Fogadni mernek hogy a Canvas->Pixels[x][y] -el operalsz azert olyan lassu.
Nezz korul a ScanLine property-nel a Helpben (Azzal szazszor gyorsabb lesz!)

>DirectX-alatt es megvalosithato akkor az is jo.
Ott meg nem probaltam , de lehet hogy ott meg ennel is gyorsabb lesz.

Udv
Bognar Sandor
+ - Image map (mind) VÁLASZ  Feladó: (cikkei)

Hi !

> Valahol olvastam, hogy standard HTML-bol el lehet kuldeni az eger
> kattintas kordinatajat egy cgi-bin scriptnek. Sajnos elvesztettem a
> leirast, es a "tutorial"-okban sehol sem talalok erre vonatkozo utalast.
Amit te keresel, az a hagyopmanyos, vagy server side image map.

Ahol CGI leirast talalsz, ott alighanem ennek a leirasat is
megtalalod.

A lapomon van link egy ilyen CGI leirasra. ( www.stadium.hu/szt )
Masik jo forras a netscape fejlesztoi oldala. Ez a
developer.netscape.com -on megtalalhato.

/na menetkozben ugy dontottem meg hasznosabb leszek, es megkerestem
neked. De leforditanod mar neked kell ! :-)  /

---------

13.6.2 Server-side image maps

Server-side image maps may be interesting in cases where the image map is too
 complicated for a client-side image map. 

It is only possible to define a server-side image map for the IMG and INPUT 
elements. In the case of IMG, the IMG must be
inside an A element and the boolean attribute ismap ([CI]) must be set. In 
the case of INPUT, the INPUT must be of type
"image". 

When the user activates the link by clicking on the image, the screen 
coordinates are sent directly to the server where the
document resides. Screen coordinates are expressed as screen pixel values 
relative to the image. For normative information
about the definition of a pixel and how to scale it, please consult [CSS1]. 

In the following example, the active region defines a server-side link. Thus,
 a click anywhere on the image will cause the
click's coordinates to be sent to the server. 



<P><A href="http://www.acme.com/cgi-bin/competition">

        <IMG src="game.gif" ismap alt="target"></A>


The location clicked is passed to the server as follows. The user agent 
derives a new URI from the URI specified by the
href attribute of the A element, by appending `?' followed by the x and y 
coordinates, separated by a comma. The link is
then followed using the new URI. For instance, in the given example, if the 
user clicks at the location x=10, y=27 then the
derived URI is "http://www.acme.com/cgi-bin/competition?10,27". 

Udv:
  Csiszar L                         mailto:
+ - Re: Idomeres VC++ (mind) VÁLASZ  Feladó: (cikkei)

Pointer wrote:

> Visual C++ alatt szeretnek nagy pontossaggal idot merni,
> legalabb "ms"-ban

A GetLocalTime() egy SYSTEMTIME strukturara mutato poitert var....
 ... azt tolti majd fel a szukseges adatokkal.

typedef struct _SYSTEMTIME {  // st
    WORD wYear;
    WORD wMonth;
    WORD wDayOfWeek;
    WORD wDay;
    WORD wHour;
    WORD wMinute;
    WORD wSecond;
    WORD wMilliseconds;
} SYSTEMTIME;

-------- Probald meg igy.... ----------
#include <sys/timeb.h>

CString CYourApp::GetTimeStamp()
{
    CString strTime;
    SYSTEMTIME time;

    GetLocalTime(&time);
    strTime.Format("%04.4d-%02.2d-%02.2d-%02.2d.%02.2d.%02.2d.%03.3d000",
        time.wYear,
        time.wMonth,
        time.wDay,
        time.wHour,
        time.wMinute,
        time.wSecond,
        time.wMilliseconds);
    return strTime;
}
---------------------------------------

Remelem segitett,

Que

____________________________________________________________
EGON - az ingyenes levelezorendszer  http://egon.gyaloglo.hu
+ - Re: BAT file (DOS) (mind) VÁLASZ  Feladó: (cikkei)

>CGI programokat ?rok, ?s a megfelel? tesztel?shez
>ugye az kell, hogy bizonyos k?rnyezeti v?ltoz?k
>meglegyenek. Ezt ?gy ?rem el, hogy egy .bat file-b?l
>ind?tom a programot, de el?tte a SET-el l?trehozom
>a sz?ks?ges v?ltoz?kat.
>
>Namost az lenne a bajom, hogy az "=" jelet nem akarja
>megenni, a
>
>SET CONTENT_LENGTH=nev=ertek
>
>-re mindig syntax error-t mond. Pr?b?ltam m?r a sz?mk?ddal,
>hexadecim?lisan is, de nem megy. Hogyan lehetne vele megetetni
>az egyenl?s?gjelet?
NT-vel a kovetkezokeppen lehet megetetni a dolgot:

set content_length = "nev=ertek"

Azt nem tudom, hogy a sima DOS benyeli -e (valoszinuleg igen) - ezt probald
ki magad...

Gabor

AGYKONTROLL ALLAT AUTO AZSIA BUDAPEST CODER DOSZ FELVIDEK FILM FILOZOFIA FORUM GURU HANG HIPHOP HIRDETES HIRMONDO HIXDVD HUDOM HUNGARY JATEK KEP KONYHA KONYV KORNYESZ KUKKER KULTURA LINUX MAGELLAN MAHAL MOBIL MOKA MOZAIK NARANCS NARANCS1 NY NYELV OTTHON OTTHONKA PARA RANDI REJTVENY SCM SPORT SZABAD SZALON TANC TIPP TUDOMANY UK UTAZAS UTLEVEL VITA WEBMESTER WINDOWS