DB Error: 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 2

SELECT * FROM `user` the_table WHERE the_table.userid = DB Error: 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 2

SELECT * FROM `user` the_table WHERE the_table.userid = dev-c++ compilin error help? - iTechForums
Login
Search
Welcome to the iTechForums.
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.
To register now click here.
Latest Threads
Advertisements
Forum Statistics
Threads:
Posts: 10
Members:
Number of Users Online:
Welcome to our newest member,
Reply
 
Thread Tools Display Modes
  #1  
Old 05-13-2008, 08:20 AM
pootytang9 pootytang9 is offline
Junior Member
 
Join Date: May 2008
Posts: 1
Default

dev-c++ compilin error help?


well i alawy get this error

[Linker error] undefined reference to `WinMain@16'

ld returned 1 exit status

this is wat i have
#include <windows.h>
#include <stdio.h>
#include <stdlib.h>
#include "stealth.h"

DWORD dwThreadID = 0;

void MainLoop()
{
while(1)
{


Sleep(10);
}

}


BOOL APIENTRY DllMain( HANDLE hModule,
DWORD ul_reason_for_call,
LPVOID lpReserved
)
{
if(ul_reason_for_call==DLL_PROCESS_ATTACH)
{

loadDriver("\0001.sys",true,"0001","0001 Driver");
DWORD MainLoop (void * pdata);
if(unlinkThread((int)dwThreadID) != 1)
{
MessageBox(0,"Invalid Operating System Detected!","Error",MB_ICONERROR);
ExitProcess(0);
return FALSE;
}

return TRUE;
}
return TRUE;
}
......opps srry maybe this can clear things up, yes i am writting a .dll, and im pretty sur .dlls dont need main()
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 05-13-2008, 10:01 AM
ManFromTheMoon ManFromTheMoon is offline
Junior Member
 
Join Date: May 2008
Posts: 3
Default

if you're trying to create GUI program you need to include
int WinMain()
{
...... Main code here ......
}
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 05-14-2008, 01:33 AM
Storm Sams Storm Sams is offline
Junior Member
 
Join Date: May 2008
Posts: 13
Default

Well, I don't see your main() at all. That is your problem:

int main()
{
//.....your code here
}
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4  
Old 05-14-2008, 06:43 AM
S. B. S. B. is offline
Junior Member
 
Join Date: May 2008
Posts: 1
Default

If you're trying to write a DLL, create a DLL project instead of a regular executable-generating project.

S. B.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5  
Old 06-04-2008, 07:19 AM
baadman27 baadman27 is offline
Member
 
Join Date: Jun 2008
Posts: 91
Angry

1Support


Very good!!! Support !wow goldwow gold wow gold wow goldwow gold
__________________
wow gold
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6  
Old 06-05-2008, 06:27 PM
goleveling goleveling is offline
Member
 
Join Date: May 2008
Posts: 80
Angry

ONE’S-SELF I sing—a simple


ONE’S-SELF I sing—a simple, separate Person; Yet utter the word Democratic, the word En-masse. Of Physiology from top to toe I sing; Not physiognomy alone, nor buy wow gold brain alone, is worthy for the muse—I say the Form complete is worthier far; The Female equally with the male I sing. Of Life immense in passion, pulse, and power, Cheerful—sell wow gold, for freest action form’d, under the laws divine, The Modern Man I sing.
__________________
buycheap wow gold
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7  
Old 06-17-2008, 07:31 PM
hijk869 hijk869 is offline
Senior Member
 
Join Date: May 2008
Posts: 286
Exclamation

近视


ha. Saw this article is really good, you write make sense very much. 近视治疗 准分子上海装潢缠绕膜 拉伸缠绕膜
__________________
网站优化
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8  
Old 06-21-2008, 05:38 PM
socanvz socanvz is offline
Member
 
Join Date: Jun 2008
Posts: 80
  #9  
Old 07-22-2008, 06:14 PM
usagirl19735 usagirl19735 is offline
Member
 
Join Date: May 2008
Posts: 63
Cool

翻译公司 第一次的亲密接触(十四)205541


  我开始打量著坐在我面前的这位美丽的女孩。  美丽其实是一种很含糊的形容词因为美丽是有 很多种的。 翻译公司 也许像冷若冰霜的小龙女;也许像清新脱俗的王语嫣。  也许像天真无邪的香香公主;也许像刁蛮任性的赵敏 。翻译公司  也许像聪慧狡黠的黄蓉;也许像情深义重的任盈盈。  但她都不像。  幸好她都不像,所以 她不是小说翻译设备租赁中的人物。  她属於现实的生活。  第一眼看到她时,我就被她的脸孔勾去了两魂,被她的声音 夺走了六魄。反应釜  只剩下一魂一魄的我,根本来不及看清楚她身材的高矮胖瘦。  如今我终於可以仔细地端详她 的一切。防腐涂料  她很瘦,然而并非是弱不禁风的那种。  她的肤色很白由於我没看过雪,因此也不敢用“雪白"这种形容词 。防火墙  但因为她穿著一身咖啡色,於是让我联想到鲜奶油。  所以她就像是一杯香浓的咖啡。  她 现在坐防火墙著,我无法判断她的身高。  不过刚刚在点餐时,我看著她的眼睛,视线的俯角约20度我们六只眼睛(我有四 只)的距防雷工程离约20公分所以我和她身高的差异约=20*tan20度=7.3. 我171 因此她约164 至於她的头发,超过肩膀1房地产经纪人0公分,虽还不到腰,但也算是很长了。  等等她不是说头发已经挑染成咖啡色了为何还是乌黑亮丽 ?  「你放大器的头发很黑ㄚ!那里有挑染成咖啡色的呢?」  「痞子挑染也者,挑几根头发来染一染是也因为我觉得好玩所以 我自己染飞机查询了几根头发来意思意思你觉得好看吗?」  她把头发轻轻拨到胸前,然後指给我看的确是“万黑丛中一点咖啡" 。飞机票价查询  而且美女毕竟是美女,连随手拨弄头发的仪态也是非常撩人。  「当然好看你即使理光头,也是一样明艳动 人」飞机票价格  「呵呵痞子别太夸奖我我会骄傲的」  我又听见了她的笑声。  古人常用“黄莺出谷"和” 乳燕归飞机票价格查询巢"来形容声音的甜美。  但这两种鸟叫声我都没听过,所以用来形容她的声音是不科学的。   还是脆而不腻非淋的麦当劳薯条比较贴切。  她的笑声,就像沾了蕃茄酱的薯条,清脆中带点酸甜。  「你为何会 偏爱咖啡色呢非淋?」  「因为我很喜欢喝咖啡ㄚ!我最爱喝的就是曼巴咖啡」  「我也常常喝咖啡但我不懂“曼 巴"是什麽?非淋菌性尿道炎」  「曼巴就是曼特宁咖啡加巴西咖啡嘛!笨痞子」  「哦原来如此那蓝山咖啡加巴西咖啡不就 叫做“蓝巴"肺癌?」  「呵呵痞子你在美女面前也敢这麽痞我不禁要赞赏你的勇气」  「你穿著一身咖啡色不会 觉得很奇怪吗肺癌?」  这是我最大的疑问。如果不知道谜底,我一定会睡不著觉。  总不至於爱喝咖啡就得穿一 身咖啡色吧!肺癌?  如果照这种逻辑,那爱喝西瓜汁就得一身红;爱喝绿茶就得一身绿那爱喝汽水的,不就什麽颜色的衣服都不 用穿了?肺癌的治疗  「痞子你听过“咖啡哲学"吧!?」  「这是一家连锁咖啡店我当然听过」  「此哲学非彼 哲学肺癌晚期也我的穿著就是一套咖啡哲学阁下想听吗?」  「有有话请讲在下愿闻其详」  差点忘了对方是 个美女,赶紧肺癌晚期的症状把“有屁快放"吃到肚子里  「即使全是咖啡也会因烘焙技巧和香、甘、醇、苦、酸的口感而有差异我的鞋袜颜 色很深,肺癌晚期的治疗像是重度烘焙的炭烧咖啡焦、苦不带酸小喇叭裤颜色稍浅,像是风味独特的摩卡咖啡酸味较强毛线衣的颜色更浅, 像是柔顺细腻的蓝肺癌晚期症状山咖啡香醇精致而我背包的颜色内深外浅,并点缀著装饰品,则像是Cappuccino咖啡表面浮上新鲜牛奶 ,并撒上迷人的肉肺癌晚期治疗桂粉既甘醇甜美却又浓郁强烈」  我愣了半晌,说不出话来。  我不禁再次打量著坐在我面前的 这位美丽的女肺癌症状 孩。  在今晚以前,她只不过是网路上的一个游魂而已。只有ID,没有血肉。  如今她却活生 生地坐在我面肺癌治疗前,跟我说话,对我微笑,揭我疮疤。  直到此刻,我才有作梦的感觉。  或者应该说是打从在 麦当劳门口见肺癌治疗到她时,我就已经在作梦了。  只是现在我才发觉是在梦境里。  to be continued 肺癌治疗方法
__________________
wow gold
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Your Ad Here

All times are GMT. The time now is 01:17 AM.