delphi to c++Builder
delphi 项目转换成 C++builder项目,有什么tool或者什么方法吗
    delphi 项目转换成 C++builder项目,有什么tool或者什么方法吗
        delphi 项目转换成 C++builder项目,有什么tool或者什么方法吗

1个回答

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
Gdiplus for VCL(Delphi and C Builder)
说明:本资源BCB版BCB2007正常,但BCB6下有兼容错误,请下载修改后资源:http://download.csdn.net/source/297704 或者按下面文章作些修改:http://blog.csdn.net/maozefa/archive/2007/11/12/1880484.aspx
delphi到builder
下面是delphi编的,要转换成builder,哪位帮帮我呢?rnfunction TMainForm.ExportToExcel(DSet:TDataSet):Integer; rn var rn i,j:integer; rn f:TextFile; rn sl:TStringList; rn begin rn Result := 1; rn with DSet do rn begin rn if (not DSet.Active) then rn Exit; rn rn if (not SaveDialog.Execute) then rn Exit; rn rn AssignFile(f,SaveDialog.FileName); rn try rn Rewrite(f); rn except rn ShowInfo('保存文件失败!'); rn WriteErrorLog('保存文件失败:' + SaveDialog.FileName); rn CloseFile(f); rn Exit; rn end; rn rn Screen.Cursor := crHourGlass; rn DisableControls; rn sl := TStringList.Create; rn sl.Clear; rn for i:=0 to FieldCount-1 do rn begin rn if (Fields[i].Visible) then rn sl.Add(Fields[i].DisplayLabel); rn end; rn writeln(f,sl.CommaText); rn rn First; rn for j:=0 to RecordCount-1 do rn begin rn sl.Clear; rn for i:=0 to FieldCount-1 do rn begin rn if (Fields[i].Visible) then rn sl.Add(VarToStr(Fields[i].Value)); rn end; rn writeln(f,sl.CommaText); rn Next; rn end; rn rn sl.Free; rn CloseFile(f); rn EnableControls; rn Screen.Cursor := crDefault; rn end; rn Result := 0; rn end;
c ++ builder
我在用BC开发中,要从4个通道口采集数据,并能同时显示,每个通道的数据要能单独分析,显示,清除,刷新,我用IMAGE叠成很多层,但IMAGE太占资源,显示太慢,而且切换刷新都抖动,达不到应用的效果!请高人赐教,在BC如何实现层,用什么控件(或什么OCX控件),用什么方法!请赐教! 有源程序和例子相送吗 txf99@21cn.comrnrnthanks a lot !rnrn
delphi、C++ builder流操作
delphi、C++ builder流操作,结合实例,非常好
Delphi还是C++ Builder?
我熟悉C,但听说Delphi比BCB受欢迎,功能也更强rn如果我学Delphi还得重新学Pascal,我已经习惯了Crn我应该选哪一种呢??
C++ Builder 与 Delphi
请问C++ Builder与Delphi除了一个使用C++语言,一个使用pascal语言以外,其它的主要差别是什么?他们在功能上是否有多大的差别?用C++ Builder开发软件是否和Delphi一样方便快捷?C++ Builder的功能是否和Delphi一样强大?rn我该学哪一个?(本人对C++比较熟悉)rn因为我看他们两个的开发环境很象。
DELPHI VS C++ BUILDER
不谈VB,VC,DELPHI,就谈DELPHI与C++ BUILDER,那么这两者哪样好呢
代码转换(delphi to builder)
我有一个vcl组件代码,用delphi写的, 可以使组件在运行时和设计时一样(改变大小,位置等).不过我对delphi不太熟悉,在转换成 builder时遇到点困难,大家帮帮忙,如有愿意的,请留下 e-mail 地址,我会在明天或后天将代码发给大家,谢谢
C++ Builder和Delphi 的区别
他们都用的是什么语言啊。
Delphi和c++ builder冲突???
我在机子里同时安装了Delphi和c++ builder,但装上后两个都不能用了,听说Delphi和c++ builder同时安装会发生冲突,是真的吗?有什么办法能够解决吗?
SQLMemTable for Delphi / C++ Builder
SQLMemTable for Delphi / C++ Builder: README============================================Please read this file carefully (especially the INSTALLATION chapter) before installing the program to your computer.Contents-------- Program information Company information Description Specification Features and Benefits Installation Purchasing / Registration Copyright and licenses Warranty and guarantee Technical support Important note Other products recommended to useProgram information-------------------Program Name: SQLMemTableLicense Types: Personal (for personal use, without source code) Com (for 1 developer, without source code) Pro (for 1 developer, with source code) Team4 (for 4 developers, with source code) Team8 (for 8 developers, with source code) Enterprise (Enterprise License - for entire company, with source code)Program Version: 1.00Program Release Date: 07/15/2003Program Purpose: SQLMemTable is a compact, fast and powerful in-memory table with SQL support. Target Environment: Delphi 4, 5, 6, 7 and C++ Builder 4, 5, 6.Company information-------------------Company Name: AidAim SoftwareContact E-mail Address: support@aidaim.comContact WWW URL: http://www.aidaim.comDescription-----------SQLMemTable is a compact in-memory table with SQL support for Delphi and C++ Builder. SQLMemTable does not require BDE and provides all the TTable‘s functionssuch as Master/Detail relationship, Filtering, Searching, Sorting, Key, Range, BLOB fields, and has some advanced features such as BLOB data compression, multi-indexes and table restructuring, shareable in memory capabilities. It is fully compatible with all standard DB controls, supports calculated and lookup fields as well as internationalization/localization and Unicode, provides data importing from and exporting to any dataset, includes SQLConsole utility with source code, comprehensive help and demos.SQLMemTable provides the following services: - SQL support - Master / detail relationship - Creating, renaming, emptying, deleting and restructuring tables - Creating, editing, deleting, navigating and searching for records - Creating and deleting multiple indexes - Calculated and lookup fields - Filtering support - Using BLOB fields with data compression ability - Importing from and exporting to any dataset in fast and easy way - Internationalization/Localization and Unicode supportSQLMemTable does not require BDE or any external drivers and has small footprint. Its search performance is excellent and data access speed is extremely fast.Specification-------------Data types: ftAutoInc, ftInteger, ftSmallInt, ftFloat, ftDateTime, ftDate, ftTime, ftBLOB, ftMemo, ftGraphic, ftString (any fixed length string), ftCurrency, ftWord, ftBoolean, ftLargeInt, ftFmtMemo, ftBytes, ftWideString.Advanced data types: aftExtended, aftWideMemoMaximum records quantity: up to 2^31 (over 2 billions). Maximum fields per table: 2^31 (over 2 billions). Maximum indexes per table: 2^31 (over 2 billions). Maximum index fields per index: 2^31 (over 2 billions). Maximum field name‘s length: 255 characters.Maximum index name‘s length: 255 characters.BLOB fields block size: > 1 byte, default 100 Kb. BLOB compression: ZLib, BZip, PPM Search operators: <,>,=,<>,<=,>=, like, not like, is null, is not null, and, or, not, (). Features and Benefits---------------------Compactness. - Short compiled code with approximate size 300 Kb, no external drivers (such as BDE) required. - Small memory consumption by SQLMemTable database engine. - Fast BLOB data compression. Your large data fields will need less memory. SQLMemTable can compress data on the fly. The compression routines used in the SQLMemTable are much faster than most of popular archivers like PKZip, WinRar, Arj. High performance. - Fast search by B-tree indexes. At the moment SQLMemTable is one of the fastest existing in-memory tables for Delphi and C++ Builder. - High-speed memory operations performance is achieved by means of using specially optimized memory manager and tuned algorithms. - Quick operations with strings. SQLMemTable compares strings up to 3 times faster than standard Delphi string routines. High performance is achieved by using a special library written in Assembler and an advanced sorting algorithm. - Advanced SQL optimizer often makes query execution several times faster by choosing the best execution plans. Functionality. - A subset of SQL‘92 including DDL operators is supported by TSQLMemQuery component. With SQLMemTable you can create SQL scripts for creating tables, inserting, editing and deleting records, retrieving data by SELECT command. - Advanced search engine. SQLMemTable supports ‘LIKE‘ operator with wildcards ‘%‘ and ‘_‘, as well as ‘IS NULL‘ and ‘IS NOT NULL‘ in filters and queries. - Full multiple index support, i.e. numerous fields in a table may comprise an index. SQLMemTable provides descending and ascending indexes, case-sensitive and insensitive indexes for string fields. - Shareable in-memory tables. SQLMemTable supports simultaneous access to a table by multiple TSQLMemTable components within a single application. - Default values support. - Record-level constraints, i.e. constraints that must be met when editing the data. Compatibility. - SQLMemTable supports most of TTable field data types, including BLOB fields, moreover it allows to create string and wide string fields of any fixed length. - SQLMemTable is fully compatible with standard DB-aware visual controls such as QuickReport, DBGrid, DBNavigator, DBImage, DBMemo, DBRichEdit, as well as with third party vendor‘s products supporting TDataset descendant components - FastReport, DBFlyTreeView and others. - Calculated and lookup fields can be used in the same way as TTable. - Most of TTable functions are supported including Key and Range methods. Convenience. - Table restructuring is being performed in the easiest way keeping all the existing data. - Data importing from and exporting to any dataset is supported. SQLMemTable provides you with the simplest way to import and export tables using ImportTable and ExportTable methods. - Internationalization / localization support. All text search and sorting functions use current system locale, so localizing your program with SQLMemTable is a very simple task. - Unicode support. All the text operations work with multi-byte encoding using ftWideString. - Comprehensive help. SQLMemTable comes with full documentation presented in SQLMemTable Developer‘s Guide and SQLMemTable Reference. Installation------------1) Make sure that all copies of Delphi (or C++ Builder) are currently closed and not running on the target system. Also, if you are replacing an existing version of SQLMemTable, please remove all files and the package of the prior version before running the new setup program.2) Unpack zip archive containing SQLMemTable into any directory. 3) Run the INSTALL.EXE from this directory.4) Follow on-screen instructions of step-by-step setup wizard to install SQLMemTable.5) If after the installation SQLMemTable components don‘t appear in Components Palette of the IDE, please follow the next instructions: * From the IDE, select ‘Component | Install Packages...‘. * Click the ‘Add‘ button. * In the ..SQLMemTableLibDelphi# (or ..SQLMemTableLibC++ Builder#) directory, select the dclSQLMemTableD#.BPL (or dclSQLMemTableB#.BPL) file. * Click the ‘OK‘ button to close the dialog. * Finally, select ‘Tools | Environment Options‘ from the main menu. From this dialog, select the ‘Library‘ tab and insure that the ..SQLMemTableLibDelphi# (or ..SQLMemTableLibC++ Builder#) directory is included in the ‘Library Path‘ line.Purchasing / Registration-------------------------Visit our site http://www.aidaim.com to purchase or register the product.Copyright and license---------------------See &quot;license.txt&quot; file.Warranty and guarantee----------------------See &quot;license.txt&quot; file.Technical support-----------------Before you contact us, please do the following: - Make sure you have performed all the required steps correctly. - Look at the Help files and Demos: it may already contain an answer to your question. A lot of people ask us something like &quot;how do I:&quot;, though the complete information is there. - Visit our Internet site at http://www.aidaim.com. It‘s a good chance that you‘ll find the newer version of our product there.If the problem persists, please, inform us about the following: - SQLMemTable version. - Where did you obtain SQLMemTable (http or ftp site). - Compiler information: Delphi or C++ Builder, Version, Edition, Service Pack - Environmental information: your OS and Service Pack - Description of your problem (as much information as possible to retrieve the problem). - Attach a test project where the problem could be reproduced (it helps us to solve your issue as soon as possible)Typically AidAim Software Support Team answer messages in 24 hours, but depending on singularity and difficulty of your question it may take a bit longer.Should you have any ideas on improving the existing functions of this product after you have downloaded and used it, be easy to e-mail us. All registered users who buy this product may also send their offers to add new possibilities and/or to change the product‘s functions.We consider any ideas and we may take them into account while creating new versions of our products.Other products AidAim Software recommended-------------------------------------------All the products in this chapter are fully compatible with SQLMemTable and recommended to work with our product. AidAim Software had tested all these products released by our partner companies for complete compatibility with SQLMemTable. In its turn, all the partner companies have carried out similar testing of the compatibilityof SQLMemTable with their own products. All the companies whose products present here are technology partners of AidAim Software. It means that both partner companies guarantee the correct joint work of the products. In case of encountering bugs in the time of joint work and owing to it, the partners incur the obligation to resolve such problems for their clients for FREE. FastReport Software -------------------Advanced report generators for Delphi and Kylix.Web Site: http://www.fast-report.comFastReport VCL--------------FastReport VCL is reporting tool component for Borland Delphi 2-6 and Borland C++Builder 3-5. It consists of report engine, designer and preview. Some FastReport possibilities are really unique. The generator allows you to create tables, queries and databases in run-time. Built-in dialog designer allows you creation of dialog forms (they can be used for asking some parameters before printing a report). You also able to use built-in Pascal-like interpreter to do rather complex data processing. In spite of power of FastReport, its code is quite small. Probably FastReport is leader in correlation of functionality/size. The FastReport kernel (without designer) adds to your program the small footprint (less than QR3), but its functionality is like in ReportBuilder‘s one.FastReport CLX edition----------------------FastReport CLX edition is powerfull of FastReport for Borland Delphi 6 and Borland Kylix 1-2 for Linux. It use new CLX-library. Do you want to create reports for Linux as well as for Windows? Use FastReport CLX edition!FastReport VCL 2.3 lite-----------------------FreeWare version of FastReport. Imca Systems DevTeam --------------------Imca Systems DevTeam - Flexible and powerful Delphi/C++ Builder/ActiveX trees, grids and editors.Web Site: http://www.9rays.netDBFlyTreeView Suite-------------------Add grid and treeview functionality with a single component. DBFlyTreeView is a fully customizable, data-bound grid and tree view component that allows you to add huge arrays of nodes. OLE drag-and-drop is supported and the component is customizable at both design-time and runtime. DBFlyTreeView supports custom colors, fonts, and alignment for each cell, and you can even create scrollable background wallpapers without creating huge bitmaps.Included: RapidTree, FlyTreeView, PropertiesTree, DBFlyTreeView controls.DBFlyTreeViewPro Suite----------------------Enable your Delphi and C++Builder applications to display and browse hierarchical, table, and list data. DBFlyTreeViewPro Suite is a set of VCL components that are a direct descendent from FlyTreeViewPro. It supports more than 40 types of in place editors plus your custom format. It is data-aware and allows you to draw any array of cells directly to a printer, Metafile, or Bitmap canvas.Included: RapidTree, IsPlugeditor, FlyTreeViewPro, PropertiesTreePro, DBFlyTreeViewPro controls.
__Delphi不如Power Builder ??????????!!!!!!!!!!
有一个数据库的问题:在Delphi 5 中怎么获得MS-SQL Server 7.0触发器返回的错误号,以及怎么处理.rn比如说:rnrnDelphi 5 做的程序中用到了TQueryrn//rnprocedure Command1Clicked(TObject;Sender)rnrnBeginrnrn//赋值开始rn//这些代码给变量_sno,_sname,_sdepid,_sage,_smark赋值,从TEdit中获得rn//赋值结束rnrnTQuery1.SQL.Clear;rnrnTQuery1.SQL.Text:='Insert Into Table_Student (SNo,SName,SDepID,SAge,SMark) Values(_sno,_sname,_sdepid,_sage,_smark)';rnrn//如果_sno重复了,违反了关键字的唯一性rn//SQL Server 中表Table_Student的Key是SNO;rn//delphi 5在执行到这里时会中断(挂起):弹出对话框......是SQL的错误提示,rn//而只有1种工具Power Builder 能截获这种错误,而不中断(挂起);rnrnrn//所以SQL server的触发器没有什么用,只能在Delphi中用手工写预防性的代码实现 唯一性;rn//真是痛苦!Power Builder 相比之下不要什么代码!我用Delphi却花了多的多的时间来做这些!为什么???!!!!!rn//是不是在数据库方面Delphi确实不如Power Builer?!rn//可是为什么总有这么多的人在夸Delphi的数据库功能之强大?!!!rnrnenterprise0@263.net rn
关于 Delphi 和 C++ Builder ?????????????
请教各位:小弟在众多招聘单位看到都是要会 Delphi 的,没有看到招会rnC++ Builder 的? 这是为什么呀?是 C++ Builder 不如 Delphi 吗?rn还是什么其它原因? 我感觉 C++ 的功能强于 Pascal 呀?rn如果公司招 Delphi 程序员,我们会 C++ Builder 公司会要我们吗?rn清各位老大赐教!
C++ Builder 与 Delphi 的比较
请问C++ Builder与Delphi除了一个使用C++语言,一个使用pascal语言以外,其它的主要差别是什么?他们在功能上是否有多大的差别?用C++ Builder开发软件是否和Delphi一样方便快捷?C++ Builder的功能是否和Delphi一样强大?rn我该学哪一个?(本人对C++比较熟悉)rn因为我看他们两个的开发环境很象。
从c++ builder 到 delphi?
各位高手帮帮忙,有下面一段用C++ Builder编写的程序,如何把它改写为rn用Delphi 来写,小弟在此谢了。rnstruct DataFileHeadrnrn ...rn unsigned short int ParNum;rn ...rna;rnrnfloat *ParValue;rnFILE *DataIn;rnrnfread(ParValue,sizeof(float), a.ParNum,DataIn);
c++ builder和delphi
土问,c++ builder和delphi比有何异同??哪个前景看好些??
C++ Builder 转 Delphi
// rnrn// DllCall.cpp : implementation filern#include rn#include "DllCall.h"rn/////////////////////////////////////////////////////////////////////////////rn__fastcall TDllCall::TDllCall()rnrn nTagAdr = 0;rn bConnect = FALSE;rn bDisConnect = TRUE;rnrnrn/////////////////////////////////////////////////////////////////////////////rn__fastcall TDllCall::~TDllCall()rnrnrnrn/////////////////////////////////////////////////////////////////////////////rnBOOL __fastcall TDllCall::LoadFunction()rnrn lpOpenDevice = (OPENDEVICE*)::GetProcAddress(hLibrary, "OpenDevice");rn if(lpOpenDevice == NULL)rn rn FreeLibrary(hLibrary);rn return FALSE;rn rnrn lpRecvEdition = (RECVEDITION*)::GetProcAddress(hLibrary, "RecvEdition");rn if(lpRecvEdition == NULL)rn return FALSE;rnrn lpSetMyAddress = (SETMYADDRESS*)::GetProcAddress(hLibrary, "SetMyAddress");rn if(lpSetMyAddress == NULL)rn return FALSE;rnrn lpConnect = (CONNECT*)::GetProcAddress(hLibrary, "ConnectPort");rn if(lpConnect == NULL)rn return FALSE;rnrn lpSetAddLog = (SETADDLOG*)::GetProcAddress(hLibrary, "SetAddLog");rn if(lpSetAddLog == NULL)rn return FALSE;rnrn lpSetInnerCode = (SETINNERCODE*)::GetProcAddress(hLibrary, "SetInnerCode");rn if(lpSetInnerCode == NULL)rn return FALSE;rnrn lpSetInnerCmd = (SETINNERCMD*)::GetProcAddress(hLibrary, "SetInnerCmd");rn if(lpSetInnerCmd == NULL)rn return FALSE;rnrn lpSetWaitTime = (SETWAITTIME*)::GetProcAddress(hLibrary, "SetWaitTime");rn if(lpSetWaitTime == NULL)rn return FALSE;rnrn lpSetCommKey = (SETCOMMKEY*)::GetProcAddress(hLibrary, "SetCommKey");rn if(lpSetCommKey == NULL)rn return FALSE;rnrn lpStartICDMCmd = (STARTICDMCMD*)::GetProcAddress(hLibrary, "StartICDMCommand");rn if(lpStartICDMCmd == NULL)rn return FALSE;rnrn lpGetSizeOfData = (GETSIZEOFDATA*)::GetProcAddress(hLibrary, "GetSizeOfData");rn if(lpGetSizeOfData == NULL)rn return FALSE;rnrn lpGetData = (GETDATA*)::GetProcAddress(hLibrary, "GetData");rn if(lpGetData == NULL)rn return FALSE;rnrn lpGetCmdResult = (GETCMDRESULT*)::GetProcAddress(hLibrary, "GetCmdResult");rn if(lpGetCmdResult == NULL)rn return FALSE;rnrn lpEndICDMCmd = (ENDICDMCMD*)::GetProcAddress(hLibrary, "EndICDMCommand");rn if(lpEndICDMCmd == NULL)rn return FALSE;rnrn lpDisConnect = (DISCONNECT*)::GetProcAddress(hLibrary, "DisConnectPort");rn if(lpDisConnect == NULL)rn return FALSE;rnrn lpCloseDevice = (CLOSEDEVICE*)::GetProcAddress(hLibrary, "CloseDevice");rn if(lpCloseDevice == NULL)rn return FALSE;rnrn rn lpSendFrame = (SENDFRAME*)::GetProcAddress(hLibrary, "SendFrame");rn if(lpSendFrame == NULL)rn return FALSE;rnrn lpClearRecvStr = (CLEARRECVSTR*)::GetProcAddress(hLibrary, "ClearRecvStr");rn if(lpClearRecvStr == NULL)rn return FALSE;rnrn lpRecvStream = (RECVSTREAM*)::GetProcAddress(hLibrary, "RecvStream");rn if(lpRecvStream == NULL)rn return FALSE;rnrn lpRecvHDLC = (RECVHDLC*)::GetProcAddress(hLibrary, "RecvHDLC");rn if(lpRecvHDLC == NULL)rn return FALSE;rnrnrnrn return TRUE;rnrnrn/////////////////////////////////////////////////////////////////////////////rnString __fastcall TDllCall::ShowMessage(int nMessage, int nFontMsg)rnrn String strResult;rn INFOCODE nInfoCode = (INFOCODE)nMessage;rn FONT nFont = (FONT)nFontMsg;rn switch(nFont)rn rn case nUSEnglish:rn if(nInfoCode == nSendSuccess || nInfoCode == nSuccess ||rn nInfoCode == nRecvSuccess || nInfoCode == nRecvEmpty)rn strResult = "Success";rn elsern strResult = "Failure";rn break;rn case nPRCChinese:rn if(nInfoCode == nSendSuccess || nInfoCode == nSuccess ||rn nInfoCode == nRecvSuccess || nInfoCode == nRecvEmpty)rn strResult = "成功";rn elsern strResult = "失败";rn break;rn case nTaiWanChinese:rn if(nInfoCode == nSendSuccess || nInfoCode == nSuccess ||rn nInfoCode == nRecvSuccess || nInfoCode == nRecvEmpty)rn strResult = "Θ";rn elsern strResult = "ア毖";rn break;rn rnrn return strResult;rnrnrnString __fastcall TDllCall::AddZero(String strData, int nLength)rnrn while(strData.Length() < nLength)rn strData = "0" + strData;rn return strData;rn
c builder 5
c builder 5 是学习和理解c 的好工具
Delphi and C++ Builder 2009 sn.txt
Delphi and C++ Builder 2009 sn.txt
delphi 图形处理 照片处理 c++ builder
delphi 图形处理 照片处理 c++ builder
C++ Builder & C
菜中菜鸟的一个问题:rnrn我现在是一个C++BUILDER的初学者,但是我并未学习过C++,学起来有些吃力。但是我不知道跳过C++直接学C++BUILDER可不可以,这样学会不会真的毫无收效?还望各位高手指rn 点,在下洗耳恭听!rn
delphi report builder小实例
report builder制作的一个小实例,对于初学者可能有一定的帮助。
report builder 10.02 for Delphi 2006
report builder 10.02 for Delphi 2006
SecureCode Protection for Delphi & C++ Builder
SecureCode is a new software protection designed to provide a high level of security from illegal copying, and confidence that people can only run your software on your terms. The security is internal to your software. You can use SecureCode in additionnal with your current protection, it‘s compatible with any packers UPX, AsPack. You have heard perhaps several times by many programmers that the best protection is freeware mode... With SecureCode you can select any parts of your source code to secure and you add a strong security at your investment. Even if a cracker can broke your protection scheme (trial date, days expiration, for example) it‘s not fully version, because the main fonctions was protected by SecureCode. The code cannot be reversed because it‘s encrypted, it‘s impossible for dumper, debugger, or other tools to read because it‘s not a machine language. SecureCode is different approach protection than other current PE Encryptors software, because SecureCode don‘t include a key at runtime. With SecureCode you are protected again patch, debugging or other tracer.
c++ builder 2009和DELPHI 2009???
也就是说最新的BCB有没有改进。现在最新的DELPHI和BCB那个好用,有人用过最新的吗》?rn
C++ Builder函数转成 Delphi
void __fastcall TDllCall::WriteFile(int nAdr, int nInfoReturn, int nHandle, String strSectorNum,rn String strOldAKey, String strOldBKey, String strNewAKey, String strNewBKey)rnrn SYSTEMTIME LocalTime;rn GetLocalTime(&LocalTime);rn String strAdr = "Address:" + AddZero(IntToStr(nAdr), 3) + ",";rn String strHandle = "Handle:" + AddZero(IntToStr(nHandle), 3) + ",";rn String strSector = "Sector:" + strSectorNum + ",";rn String strKey = "Old A_Key:" + strOldAKey + ",Old B_Key:" + strOldBKey +rn "\r\n" + "New A_Key:" + strNewAKey + ",New B_Key:" + strNewBKey;rn String strRlt;rn if(nInfoReturn == nSuccess)rn strRlt = "Result:Success,";rn elsern strRlt = "Result: Fail ,";rn String strDate = AddZero(IntToStr(LocalTime.wYear), 4) + "-" +rn AddZero(IntToStr(LocalTime.wMonth), 2) + "-" +rn AddZero(IntToStr(LocalTime.wDay), 2) + ",";rn String strTime = AddZero(IntToStr(LocalTime.wHour), 2) + ":" +rn AddZero(IntToStr(LocalTime.wMinute), 2) + ":" +rn AddZero(IntToStr(LocalTime.wSecond), 2);rn String StrRecord = strAdr + strHandle + strSector + strRlt + strDate + strTimern + "\r\n" + strKey + "\r\n\r\n";rn FileSeek(nFileHandle, 0, 2);rn FileWrite(nFileHandle, StrRecord.c_str(), StrRecord.Length());rn
c++ builder改写delphi问题
请问如何把delphi工程改写成c++ builder的工程,以及在c++ builder工程里面如何引入未知类型的dll文件,这个delphi工程里面有两个dll文件(不一定是delphi生成的dll文件,也可能是其它文件生成的dll文件),我改写的时候怎么引用delphi工程里面的这两个dll文件呢?
字节对齐?在Delphi和C++ Builder中。。。
在delphi中用rntypern TSendLevel = packed Recordrn ...rn来替代rntypern TSendLevel = Recordrnrn.rnrn问题在C++ Builder 中rnStruct TSendLevel= ...rn应该用什么参数。
Report Builder 15.3 For Delphi XE
Report Builder 15.3 Enterprise Form XE
Delphi and C++ Builder 2009 的 studiotiburon.slip
Delphi and C++ Builder 2009 的 studiotiburon.slip
Delphi and C++ Builder 2009 crack
Delphi and C++ Builder 2009 crack
简单问题delphi to C++ Builder,
我转化了,但是有错,那就请高手给我转换下了rn if shujvjieshou.table2.FindKey([strtoint(fjh)]) thenrn beginrn sleep(10);rn shujvjieshou.q1.Params[4].AsString:=floattostr(strtofloat(shujvjieshou.rn table2.Fields[2].AsString)-(strtofloat(shujvjieshou.Table2.Fields[3].asstring)rn -strtofloat(data)*0.01));rnrn shujvjieshou.Q1.ExecSQL;rnrn endrn elsern beginrn showmessage('无'+fjh+'号分机,请先进入系统设置添加该分机');rn exit;rn end;
Delphi,C++ builder加密函数
标准算法模块是集DES、3DES、AES、RSA、MD5、BlowFish、TEA、RC6等标准算法为一体的算法包,同时在模块中使用了Anti-Debug和程序自校验功能(涉及到软件的加壳和CRC32),增加了使用次数限制,更好的保护您的软件。示例源码中包括两部分:一是调用标准算法加密模块的例子源码,二是此加密模块的KeyGen程序。模块通过获取硬盘系列号得出软件注册系列号(每台计算机的系列号唯一)来进行加密 直接将ken.cpp加入工程, 然后将ken.dll copy到工程所在目录
【疑惑】delphi 和 C++ Builder的差距!
rn为什么编译速度会差那么多???????rnrndelphi这么快,cb却象老牛一样!对CB真的失去信心了!rnrn又开始用刚学编程时的使用pascal语言了!哈哈!
关于C++ Builder 和 delphi的问题
请问使用C++ Builder 的朋友们,用C++ Builder开发的程序,都用在哪方面,rnC++ Builder使用的是delphi的VCL,不是纯C++语言,在使用上哪个快呢?rn用C++ Builder 和 delphi 共同开发软件,哪些工作用C++ Builder ?哪些用delphi?
FastReport VCL 5.5.12 for RAD Studio Delphi C Builder 10.2 Tokyo
FastReport VCL 5.5.12 最新版安装文件。 仅提供学习使用,商用请购买!
出了个Delphi for Linux(Kylix),有没有C Builder for Linux啊
真是又爽又不爽!
在DELPHI 下如何使用 用C ++ BUILDER 6 写的COM
在DELPHI 下如何使用 用C ++ BUILDER 6 写的COM 请给一个简单的实例 rnrnrn谢谢
(升华版)在C Builder中使用Delphi控件
Delphi的出现将一大批程序员带入了Windows下的可视化编程,为一些C&C 的死党程序员所羡慕、感叹。直到C Builder的出现这些Programer才用到了梦寐以求的编程工具,也将一些不得已"投敌"到Delphi下的程序员又拉回到C 的怀抱。她正真将Windows下的可视化编程和面向对象编程语言有机的融合在一起。但是由于C Builder面市时间较短固而可用的控件不多,而且控件的使用也只针对某一版本,相互之间的可互用性不好,除非你有SourceCode;对于Delphi就更不用说了,C Builder根本不能用,当然如果你有SourceCode那么你可以转写成C Builder的控件,不过你还得经过n遍的Complie…m遍的Step&Go。rn rn  Delphi拥有强大的控件群,如何使用这些控件一直苦恼着我们这些C Builder的追随者,我通过一些项目的实践掌握了一些如何在C Builder中使用Delphi控件的方法。 rnrn  我的使C Builder使用DelphiVCL类库的方法基于Windows中较通用的DLL方式。在实际应用中找到了将VCL控件转化为DLL库,在C Builder动态调用DLL。此法适用于非可视VCL控件。 rn  假令在Delphi中有一Sample控件,有属性Actived、Pro1、Pro2,欲将这个控件转到C Builder中使用。 rn一:Delphi中DLL的制作 rn1.在Delphi中新建一DLL项目SampleDLL,时在此项目中Create一个新的类TTtempcomp基类为TComponent即也为一个控件,在其中加入一个constructorCreate1,但不作任何动作; rn2.在DLL中加入要导出的属性的Function(Actived、Pro1、Pro2)&Create、Destroy的框架,Exports中加入导出的Function、Procdure名称; rn3.在DLL的主过程中对TTempcomp的实例temp1进行Create1,另外保存出口和设置ExitProc; rn4.在OpenSample的函数中加入HwCtrl:=Sample1.Create(temp1)对Sample进行实例化,对CloseSample和其它属性加入相应的语句; rnrn二:C Builder中DLL的使用 rn1.将Delphi中生成的DLL用implib生成LIB文件加入C Builder的工程文件; rn2.在头文件中加入 rnrnrnextern "C" __declspec(dllimport) bool _stdcall OpenSample(void); rnextern "C" __declspec(dllimport) void _stdcall CloseSample(void); rnextern "C" __declspec(dllimport) bool _stdcall Actived(void); rnextern "C" __declspec(dllimport) int _stdcall Pro1(void); rnextern "C" __declspec(dllimport) int _stdcall Pro2(void); rn3.在OpenSample后你就可以使用Delphi中的属性Actived、Pro1、Pro2 rn三:参考DLLSource如下: rnlibrarySampleDLL; rnuses SysUtils,Classes,Sample; rnTYPE rnTTempcomp=class(TComponent) rnprivate rnpublic rnconstructorCreate1; rnpublished rnend; rnvar rnSample1:Sample; rnSaveExit:Pointer; rntemp1:TTempcomp; rnconstructorTTempcomp.Create1; rnbegin rn//inheritedCreate(self); rnend; rn/============================================== rnfunctionOpenSample:Boolean;stdcall;export; rnbegin rnHwCtrl:=Sample1.Create(temp1); rnIfSample1.Activedthenresult:=true; rnend; rnrnprocedureCloseSample;stdcall;export; rnbegin rnSample1.Destroy; rnend; rnrnfunctionActived:Boolean;stdcall;export; rnbegin rnresult:=Sample1.Actived; rnend; rnfunctionPro1:Interger;stdcall;export; rnbegin rnresult:=Sample1.Pro1; rnend; rnfunctionPro2:Interger;stdcall;export; rnbegin rnresult:=Sample1.Pro2; rnend; rn/============================================== rnprocedurelibexit;far rnbegin rnif Sample1.Actived=true then rnSample1.Destroy; rnExitProc:=SaveExit; rntemp1.Destroy; rnend; rnexports rnOpenSample,CloseSample,Actived,Pro1,Pro2; rnbegin rntemp1:=TTempcomp.Create1; rnSaveExit:=ExitProc; rnExitProc:=@libexit; rnend. rn  解释: rn  因为VCL控件都继承于TComponent,TComponent的构造函数需要一个AOwner并且也是Component,VCL控件的Create、Destroy都由控件的拥有者来动作,也就是AOwner;所以我在此DLL中新设置了一个TTempcomp类继承于Tcomponent且性设置了一个constructor(构造函数)Create1,而实际构造时什么都不做,以次作为要Create的Aowner; rn  其他还有一种办法就是用Application作为Aowner但是它是基于Tform的作出来的DLL太大; rn  其实,Inprise(原Borland)尽可以象MicroSoft一样用一些象DCOM类似的组件形式使得产品在同一产品时代保持一定的互用性,来增加产品群的生命力.rnrn转http://bbs.csai.cn/bbs/view.asp?Id=B6584904-0BB0-4FFC-B6AC-A8EFE18BCCDF
C Builder 5编程实例与技巧
本书分六个部分,共25章,主要介绍了C++Builder集成开发环境、C++语言关键技术、组件、通用编程技术、动态链接库、多线程、多媒体编程、数据库编程、网络编程和Windows API编程等。
相关热词 c++和c#哪个就业率高 c# 批量动态创建控件 c# 模块和程序集的区别 c# gmap 截图 c# 验证码图片生成类 c# 再次尝试 连接失败 c#开发编写规范 c# 压缩图片好麻烦 c#计算数组中的平均值 c#获取路由参数