Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

hey,

on C++ 2003, there's a thing where you can add references(solution explorer | add reference)

 

unfortunately, however :( they left that out in C++ 2002!

 

check out this screenshot,

 

.... oddly enough i can add web references, but not normal ones o_O

 

does anyone know how to add a refrence in C++?

thanks,

pent

My VB.NET Game Programming Tutorial Site (GDI+, Direct3D, Tetris [coming soon], a full RPG.... you name it!)

vbprogramming.8k.com

My Project (Need VB.NET Programmers)

http://workspaces.gotdotnet.com/ResolutionRPG

  • *Experts*
Posted

Add this code where (its a good place for that) you import your namespaces, include headers etc.

 

 #using <dllname>
 

 

PS. This is if you are using Managed C++.

Posted

im using Managed,

 

however,

when i type in

#using <Microsoft.DirectX.dll>

 

the error says

c:\Documents and Settings\The Pentium Guy\My Documents\Visual Studio Projects\Some Test DX proggie\Some Test DX proggie.cpp(7): fatal error C1107: could not find assembly 'Microsoft.DirectX.dll': please specify the assembly search path using /AI or by setting the LIBPATH environment variable

however,

it works with VB.NET, but .. it doesnt work with C++.NET (and yes, I installed the DirectX SDK for vs.net not just vb.net :))

 

thanks for the reply,

pent

My VB.NET Game Programming Tutorial Site (GDI+, Direct3D, Tetris [coming soon], a full RPG.... you name it!)

vbprogramming.8k.com

My Project (Need VB.NET Programmers)

http://workspaces.gotdotnet.com/ResolutionRPG

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...