¼±£¡°Ñdelphi´úÂëת»»³ÉVC++´úÂ룬Çë¸ßÊÖ°ï°ïæ
procedure TSG_Form.SpeedButton1Click(Sender: TObject);
begin
CurrentSGWave := (Sender as TSpeedButton).Tag;
SetupWavePara_Btn.Enabled := True;
ReDraw_timer.Enabled := False;
if (CurrentSGWave = 0) or (CurrentSGWave = 6) or (CurrentSGWave = 7) then
begin
SetupWavePara_Btn.Enabled := False;
ReDraw_timer.Enabled := True;
end;
if SGSendWave then
begin
DownLoad;
DrawWave(Wave_Pic);
end
else
DrawWave(Wave_Pic);
end;
procedure TSG_Form.TrigerType_CBChange(Sender: TObject);
begin
case TrigerType_CB.ItemIndex of
0: SGSetConByte := SGSetConByte and $fb; // 1111 1011 ÄÚ´¥·¢
1: SGSetConByte := SGSetConByte or $06; // 0000 0110 Íâ´¥·¢ÉÏÉýÑØ
2: begin
SGSetConByte := SGSetConByte or $04;
SGSetConByte := SGSetConByte and $fd; // 1111 1101 Íâ´¥·¢Ï½µÑØ
end;
end;
SetCON(SGSetConByte, 0);
end;
procedure TSG_Form.Frequency_EditExit(Sender: TObject);
begin
try
SGFrequency := StrToFloat(F
Ïà¹ØÎÊ´ð£º
ÇëÎÊÓÃC»òC++ÈçºÎ±àдÇó½â3Dħ·½µÄ³ÌÐò£¬¸Ã´ÓºÎ¿ªÊ¼£¿
лл¸÷룬°ïæÌáµã½¨Òé°É¡£
http://www.mofang.net/code/176/182/6581.html
ÎÒÖ»ÄÜÍ»ÆÆ60Ã룡°¦¡£
ÎÒ¸Õ¹ý40Ãë
googleµÄandroidÖÐÓиöOpenGL ES + ......
ÓÉÓÚ¿Í戶¶ËÓеÄÎļþ經³£¸üУ¨遠³ÌµÄ£¬²»ÊǾÖÓò網£©£¬
ËùÒÔÏë寫個×Ô動¸üÐ嵀 ³ÌÐò¡£
¿´網É쵀 ·½·¨資ÁÏ£¬ÖªµÀЩ·½·¨£¬µ«²»ÖªµÀ¾ß體Ôõô寫¡£
......
procedure RunFunction;
type
TFunc = function(A: Integer): Integer;stdcall;¡¡//ÕâÀï¸ù¾ÝDLLÀïÃæº¯ÊýµÄÉùÃ÷ÐÞ¸Ä
var
......
Çë½Ì¸÷·¸ßÊÖ¡£ÎäÁÖǰ±²¡£ÎÒ½«B.EXE×ö³É×ÊÔ´Îļþ£¬È»ºó¼Óµ½123.dllÖС£ÓÃA.EXEÀ´µ÷ÓÃ123.dllÖеÄB.EXE
Çë¸÷λǰ±²°ïæָ½ÌÏ¡£A.exeÈçºÎÀ´µ÷ÓÃdllÖеÄexe£¿´úÂëÓÖ¸ÃÈçºÎд£¿
ÎÞÈ˻شð£¿
×ö³É×ÊÔ´Î ......