Help with Programming!!!

Get help on programming - C++, Java, Delphi, etc.
DarkPond
Registered User
Posts: 87
Joined: 06 Oct 2004, 02:00
Location: the Windy City
Contact:

Post by DarkPond »

err.. you mean caption and not caution hey?

Does it give an syntax error? is it compiling and then just not doing what you want?
Dark Throne


Av by SybAGreY
Soap
Registered User
Posts: 942
Joined: 14 Apr 2004, 02:00

Post by Soap »

no, semicolons are your friends you want one whereever possible, just not before then, else and 1-liner loops.

for i:=1 to high(Int64) do
begin
showMessage('Have fun with the clicking!');
Windows.Beep(i*i,10);
end;
Archangel
Registered User
Posts: 498
Joined: 02 Jul 2005, 02:00
Contact:

Post by Archangel »

It seems I'm reviving this thread, but anyway.

I recently started programming in C++, read a book, and now I want to get into Directx programming and I found a book to help me with that. Now, I am busy with Surfaces and Sprites just after learning how to initialize a window and all that, which all compiled, but after adding the new code from the new chapter I get these errors:

example1 error LNK2019: unresolved external symbol _D3DXLoadSurfaceFromFileA@32 referenced in function "bool __cdecl initDirect3D(void)" (?initDirect3D@@YA_NXZ)

example1 fatal error LNK1120: 1 unresolved externals

What is this unresolved external thing? Can anyone help me with this? Anyone know what I can do to get it to work? Please, Anyone.
Image
User avatar
rustypup
Registered User
Posts: 8872
Joined: 13 Dec 2004, 02:00
Location: nullus pixius demonica
Contact:

Post by rustypup »

hmmm... not a compiler error then..

Check that the necessary libs are being linked... or are in the build path..

re-check your project settings... unresolved means exactly that... your project refers to an external source which cannot be located... (normally a dll has not been refd correctly... )...

my dx knowledge is slim, (ok, anorexic :) )... but knowing where to start hunting is important as well..
GameDev.net FAQ <- GameDev trumps as usual....
M$ support for LNK2019

always verify the project's dependancies are satisfied.... this issue will also creep in if you use deprecated source..... :wink:
Most people would sooner die than think; in fact, they do so - Bertrand Russel
Archangel
Registered User
Posts: 498
Joined: 02 Jul 2005, 02:00
Contact:

Post by Archangel »

Yes, you are correct, I joined GameDev.com and someone told me about the libraries that I had to add and he gave me some code aswell which helped, but then my sequence was wrong in anyway, but I got it fixed. Thanx for the reply.
Image
morgana
Registered User
Posts: 699
Joined: 17 Feb 2006, 02:00
Location: South Africa

Post by morgana »

just wanted to ask a sql specific question. how would i export particular columns in a table from one database to an existing table in another database?
MadMike
Registered User
Posts: 251
Joined: 15 Feb 2006, 02:00
Location: Jhb

Post by MadMike »

INSERT INTO [Database].[Owner].TableName1
SELECT Column1, Column2 FROM [Database].[Owner].TableName2

Remember you need the same amount of columns in SELECT as the table the INSERT is being done on.

MM
Intel Core 2 Duo E8400 @ 4050Ghz
Asus Striker II Formula
4GB Transcend AxeRam DDR2 1066+ @ 1200mhz
2 x XFX 8800GT XXX Alpha Dog SLI
AeroCool Horsepower 1020W PSU
Seagate 320GB SATA 16Mb
CoolMaster Stacker 830 nVidia Edition
Swifttech H20 Apexi Ultra+ on CPU/SLI
Samsung 22"
axisK
Registered User
Posts: 164
Joined: 31 Oct 2005, 02:00
Contact:

Post by axisK »

*gyar* MadMike beat me to it ... sux having to (pretend to) work and try to post at the same time. ;)
morgana
Registered User
Posts: 699
Joined: 17 Feb 2006, 02:00
Location: South Africa

Post by morgana »

Thank you very much MM and to you too axisK for trying.
Post Reply