 |
VFP 愛用者社區 本討論區為 Visual Foxpro 愛用者經驗交流的地方, 請多多利用"搜尋"的功能, 先查看看有無前例可循, 如果還有不懂的再發問. 部份主題有附加檔案, 須先註冊成為社區居民才可以下載.
|
上一篇主題 :: 下一篇主題 |
發表人 |
內容 |
miniman
註冊時間: 2004-03-31 文章: 1
第 1 樓
|
發表於: 星期三 三月 31, 2004 11:29 am 文章主題: 請教firebird API的問題 |
|
|
在vc6中調用
#include "ibase.h"
.....
isc_db_handle db;
ISC_STATUS status_vector[20];
db = 0L;
char *str = "c:\\Program Files\\Firebird\\Firebird_1_5\\bin\\DB1.FDB";
isc_attach_database(status_vector, strlen(str) , str, &db, 0, NULL);
if ( status_vector[0] == 1 && status_vector[1] )
{
sqlcode = isc_sqlcode(status_vector);
isc_print_status(status_vector);
}
為什麼老是出
Your user name and password are not defined. Ask your database administrator to set up a Firebird login.
應該要怎樣改? |
|
回頂端 |
|
 |
elleryq

註冊時間: 2007-06-21 文章: 768
第 2 樓
|
發表於: 星期四 四月 01, 2004 9:26 am 文章主題: |
|
|
你好像沒有給帳號與密碼,所以不讓你登入~~ |
|
回頂端 |
|
 |
|
|
您 無法 在這個版面發表文章 您 無法 在這個版面回覆文章 您 無法 在這個版面編輯文章 您 無法 在這個版面刪除文章 您 無法 在這個版面進行投票 您 無法 在這個版面附加檔案 您 無法 在這個版面下載檔案
|
|