Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB
ÈÈÃűêÇ©£º c c# c++ asp asp.net linux php jsp java vb Python Ruby mysql sql access Sqlite sqlserver delphi javascript Oracle ajax wap mssql html css flash flex dreamweaver xml
 ×îÐÂÎÄÕ : c++

ÐèÒª°Ñvb´úÂëת³Édelphi»òVC++µÄ´úÂë¡£

ÔõôʵÏÖdosÏÂrunas×Ô¶¯ÊäÈëÃÜÂë
http://bbs.pfan.cn/post-278076.html
´úÂëÈçÏÂ:
VB code:

Option Explicit
Private Const LOGON_WITH_PROFILE = &H1&
Private Const CREATE_DEFAULT_ERROR_MODE = &H4000000
Private Const CREATE_NEW_CONSOLE = &H10&
Private Const CREATE_NEW_P ......

Ç붮C++¸úVBµÄ°ï¸ö棡лл

m_MsgAttach = RegisterWindowMessage(_T("SkypeControlAPIAttach"));
  m_MsgDiscover = RegisterWindowMessage(_T("SkypeControlAPIDiscover"));

ÔÙ½«discoverÏûÏ¢¹ã²¥³öÈ¥

::SendMessage( HWND_BROADCAST, m_MsgDiscover, (WPARAM)m_hWnd, 0 )

skypeÈç¹ûÓеǼµÄ ......

c++ǶÈëpython·¢²¼ÎÊÌâ

ÎÒÓÃ
#include "python.h"
Py_Initialize();
PyRun_SimpleString("execfile('x.py')");
Íâ´øpython2.6.dllÕâÖÖ·½Ê½ÈÃc++ǶÈëpython£¬·¢²¼³ÌÐòµÄʱºò£¬¾ÓÈ»»¹ÊÇҪװpython£¬²Å¿ÉÒÔÕýÈ·ÔËÐе½x.py½Å±¾¡£
²»×°pythonµÄ»úÆ÷£¬ÔËÐÐc++³ÌÐò»¹ÊDz»ÄÜÖ´ÐÐx.py½Å±¾£¿
ÕæÔΣ¬»¹ÓÐPILÄ ......

c++builderÖÐÈçºÎµ÷ÓÃdelphi±àдµÄº¯Êý£¿

ÇëÎÊc++builderÖÐÈçºÎµ÷ÓÃdelphi±àдµÄº¯Êý£¿

ÈçÔÚdelphiÖк¯Êý¶¨ÒåΪ function a(s1:string, s2:string):string;
ÄÇôÔÚc++builder³ÌÐòÖÐÈçºÎ¶¨ÒåÕâÒ»Íⲿº¯ÊýÄØ£¿
Ö±½Ó½«pasÎļþ¼ÓÈ빤³Ì£¬±àÒë³É¹¦ºó£¬»á×Ô¶¯ÐγÉÒ»¸öÍ·Îļþ

±àÒëÒÑͨ¹ý£¬ÇÒincludeÁËhppÎļþ£¬¹Ø¼üÊÇÈçºÎÔÚc++builderÖÐʹÓÃÕâ¸öº¯Êý£¿£¨Ôõô ......

C++תDELPHI

ÈçºÎ°ÑÏÂÃæµÄº¯Êýת»¯³Édelphi

BOOL CloseProcess(CString strProcessName)
{
HANDLE Snapshot = CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0);
PROCESSENTRY32 pe32;
pe32.dwSize = sizeof( PROCESSENTRY32 );
BOOL bWork = Process32First(Snapshot, &pe32);
while (bWork)
{ ......

ÇóÖú£ºÈçºÎ½«Ò»¸öC++Ààת»»³ÉDelphi´úÂë

ͬ±êÌ⣬¸ÃÀàÊÇDirectShowÖеÄÒ»¸öʾÀý£¬ÇóÈçºÎ½«Æäת»¯³ÉDelphi´úÂ룬Íò·Ö¸Ðл£¡£¡

C/C++ code:

// ÀàÉùÃ÷
class CErrReporter : public IAMErrorLog
{
protected:
long m_lRef; // Reference count.
public:
CErrReporter() { m_lRef = 0; }
// IUnknown
STDMETHOD(QueryInterface ......
×ܼǼÊý:629; ×ÜÒ³Êý:105; ÿҳ6 Ìõ; Ê×Ò³ ÉÏÒ»Ò³ [86] [87] [88] [89] 90 [91] [92] [93] [94] [95]  ÏÂÒ»Ò³ βҳ
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ