Newbie with DX

S

Samir Talwar

Hi there.
I've just started coding with DirectX and I am getting a linking error
when I try to compile:

LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main

I've tried MSDN but it doesn't seem to help, at least in terms I can
understand (not exactly a pro here).
I was getting a similar error regarding DirectDrawCreateEx which I
fixed by adding the latest DDraw library.
Can anyone help me?

Thanks in advance,
Samir Talwar
 
F

flips

Samir Talwar said:
Hi there.
I've just started coding with DirectX and I am getting a linking error
when I try to compile:

LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main

I've tried MSDN but it doesn't seem to help, at least in terms I can
understand (not exactly a pro here).
I was getting a similar error regarding DirectDrawCreateEx which I
fixed by adding the latest DDraw library.
Can anyone help me?

Thanks in advance,
Samir Talwar

There are 10 diferent newsgroups under
microsoft.public.win32.programmer.directx
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Question on main 2
an error i coudnt understand 6
..and now it doesnt compile? 5
load bmp 1
link error 2
Linker error 4
Why does the compiler cannot pass? 1
Newbie Linking Error 5

Members online

Forum statistics

Threads
474,147
Messages
2,570,837
Members
47,385
Latest member
Joneswilliam01

Latest Threads

Top