ÔÚpb11Öн«C/S³ÌÐòת»»µ½B/SµÄ²½Öè
ÔÚpb11Öн«C/S³ÌÐòת»»µ½B/SµÄ²½Öè(2009-01-06 21:12:20)
±êÇ©£ºÔÓ̸
·ÖÀࣺWebÏà¹Ø¼¼Êõ
ÔÚpb11Öн«C/S³ÌÐòת»»µ½B/SµÄ²½Öè
Ò»¡¢¿ª·¢»·¾³°²×°
1¡¢ÏÈ°²×°windowsµÄIIS5.0ÒÔÉÏ
2¡¢ÔÙ°²×°
£¨1£©°²×°asp.net framework 2.0
£¨2£©°²×°Microsoft .NET Framework SDK 2.0, 3.0 or 3.5£¬ÎªÄܹ»ÔËÐÐ.net web·þÎñÒýÇ棨.NET Web services Engine£©¡¢ÖÇÄÜ¿Í»§¶ËµÄ·Ö·¢£¨Smart Client deployment£©ºÍWindows FormsÖÐÖ§³ÖOLE£¬±ØÐë°²×° Microsoft .NET Framework SDK 2.0, 3.0 or 3.5
£¨3£©ÔÚ¿ª·¢»úÆ÷ÉϺÍweb·þÎñÆ÷ÉÏ£¬ÒªÇó°²×° Microsoft ASP.NET AJAX À©Õ¹°å1.0 installed.£¬ÎªÁË·Ö·¢.net web formsÓ¦Óã¨To deploy .NET Web Forms applications£©
3¡¢ÏÂÔØ(http://www.asp.net/iewebcontrols/download.aspx) ,°²×°IE Web Control ,
½âѹºóÔËÐÐC:\Program Files\IE Web Controls\build.bat
´´½¨C:\Program Files\IE Web Controls\build
°ÑC:\Program Files\IE Web Controls\build\Runtime\*.*µÄËùÓÐÎļþ¿½±´µ½iisµÄ¹¤×÷Ŀ¼ĬÈϾÍÊÇc:\inetpub\wwwroot
¿½±´µÄdosÃüÁîÈçÏ£º
xcopy /s /i .\build\Runtime c:\Inetpub\wwwroot\webctrl_client\1_0 /y
(×¢£ºwebctrl_client\1_0Ŀ¼Ҳ¿ÉÒÔÊÖ¹¤´´½¨¿½±´)
4¡¢ÏÂÔØpb11(PowerBuilder110.zip,CommonInstaller.zip),°²×°PB11
½âѹËõºó£¬ÓÃCommonInstallerÎļþ¼ÐÖеÄsetup.exeÀ´°²×°£¬µ±°²×°µ½ÒªÖƶ¨PBµÄÔʼ°²×°ÎļþÊÇ,
Ñ¡ÔñÖ¸¶¨PowerBuilder110.zip½âѹËõµÄÄǸöÎļþ¼Ð¾ÍÄÜÕýÈ·°²×°.
¶þ¡¢2 ת»»c/sµÄpb³ÌÐòΪb/sµÄ³ÌÐò
1¡¢ÏÈ°ÑÄãµÄ³ÌÐòÒÆÖ²µ½pb11£¬ÓÃpb11´ò¿ªworkspaceºÍtarget¼´¿É£¬pb11×Ô¶¯ÒÆÖ²£¬µ÷ÊÔÄÜÔÚc/sxÏÂÔËÐÐÕý³£
2¡¢¿ªÊ¼×ª»»ÁË£¬²Ëµ¥²Ù×÷file>New´ò¿ª[New]Ñ¡Ôñ´°¿ÚÑ¡[target] - .NET Web Forms Application
°´Ïòµ¼²Ù×÷¼´¿É£¬
step1 ¹ØÓÚÏòµ¼µÄ½éÉÜ
step2 Ñ¡Use an existing library and application object
step3 ÕÒµ½ÄãµÄ³ÌÐòÈë¿Ú¼´application object
step4 ¼ÓÉÏÄãËùÓõÄpblÎļþ
step5 ÃüÃûpbtÎļþÃû£¬Ò²¿ÉÖ±½ÓÏÂÒ»²½[next>]
step6 ÃüÃûproject object,Ò²¿ÉÖ±½ÓÏÂÒ»²½[next>]
step7 ÊäÈëÄãÔÚiisÀïµÄÐéÄâĿ¼£¬Ò²¿ÉÖ±½ÓÏÂÒ»²
Ïà¹ØÎĵµ£º
Delphi Óë C/C++ Êý¾ÝÀàÐͶÔÕÕ±í
DelphiÊý¾ÝÀàÐÍC/C++
ShorInt
8λÓзûºÅÕûÊý
char
Byte
8λÎÞ·ûºÅÕûÊý
BYTE,unsigned short
SmallInt
16λÓзûºÅÕûÊý
short
Word
16λÎÞ·ûºÅÕûÊý
unsigned short
Integer,LongInt
32λÓзûºÅÕûÊý
int,long
Cardinal,LongWord/DWORD
32λÎÞ·ûºÅÕûÊý
unsigned long
Int6 ......
def login():
print 'login'
def logout():
print 'logout'
controllers = {
'in': login,   ......
Visual Studio°üº¬ÁË4¸ö±¾»úC/C++ÔËÐÐʱ¿âºÍ2¸öÓÃÀ´¹ÜÀíMS.NETµÄC/C++ÔËÐÐʱ¿â¡£ËùÓÐÕâЩ¿â¶¼Ö§³Ö¶àÏ̱߳à³Ì»·¾³£ºÄ¿Ç°ÒѾûÓÐרÃÅΪµ¥Ï߳̿ª·¢Éè¼ÆµÄC/C++ÔËÐÐʱ¿âÁË¡£±í6-1¶ÔÕâЩ¿â½øÐÐÁËÃèÊö£º
Libray Name
Description
LibCMt.lib
Statically linked release version of the library.
Lib ......
#include "stdafx.h"
#include <iostream>
#include <cmath>
using namespace std;
int _tmain(int argc, _TCHAR* argv[])
{
double a,b,c;
double delta;
double x1,x2;
cout<<"Please input a,b,c:"<<endl;
cin>>a>>b>>c;
if(cin.fail())
{
cout<< ......
#include “stdio.h”
#include “stdlib.h”
#include “time.h”
int main( void )
{
long i = 10000000L;
clock_t start, finish;
double duration;
/* ²âÁ¿Ò ......