C++/VB - VS2008 Managed C++ and DirectX March 2009 SDK build problems

Asked By AnotherPhilipTaylo
26-Mar-09 02:21 PM
Its driving me nuts - I have an updated C++ application that has a
DirectSound interface. The code has been converted to use managed C++ and now
compiles OK but fails to link - a typical error being

error LNK2020: unresolved token (0A00000D) IID_IDirectSound3DListener
followed by
error LNK2001: unresolved external symbol IID_IDirectSound3DListener

I can't find any documentation that relates to VS2008 managed C++ using
DirectX (including sample programs) so would someone put me out of my misery
and let me know whether this combination is possible and if so how.

As per the latest SDK, which still refers to VS2003, I have now defined
INITGUID and included dxguid.lib, but it still fails to link. I think the
answer is related to where these GUIDs actually live - within my app or
within a lib/dll.

Thanks
IDirectSound3DListener
(1)
GUIDs
(1)
Report
(1)
DirectSound
(1)
DirectX
(1)
DSound
(1)
  Armin Zingler replied...
27-Mar-09 01:42 PM
schrieb

dsound.lib?


Armin
  legalize+jeeve replied...
27-Mar-09 07:20 PM
[Please do not mail me a copy of your followup]

=?Utf-8?B?QW5vdGhlciBQaGlsaXAgVGF5bG9y?= <AnotherPhilipTaylor@> spake the secret code


Are you linking against dxguid.lib?
--

Legalize Adulthood! <http://blogs.xmission.com/legalize/>
  AnotherPhilipTaylo replied...
28-Mar-09 07:11 AM
I prempted your dxguid.lib suggestion in my original question - the answer
is yes, I do link against dxguid.lib.

I have also performed a rebuild of the project with and without the INITGUID
definition. With INITGUID defined, the linker only seems to report missing
GUID_NULL.

Can I assume that the combination of managed VS2008 C++ and DirectX (March
2009) is valid and supported?
  legalize+jeeve replied...
28-Mar-09 06:58 PM
[Please do not mail me a copy of your followup]

Sorry, I missed that in the original post.  Sometimes they get
over-eager to remove items related to deprecated components.  (I have
never used DSound, so I don't pay attention to it.)  You could try the
dxguid.lib from an older SDK.
--

Legalize Adulthood! <http://blogs.xmission.com/legalize/>
help
mailbox" Mailbox = "user" Const PR_FREEBUSY_ENTRYIDS = &H36E41102 Const PR_PARENT_ENTRYID = &H0E090102 Const PR_RECALCULATE_FREEBUSY = &H10F2000B Const PR_FREEBUSY_DATA = &H686C0102 report = "<table border = ""1"" width = ""100%""> " & vbcrlf report = report & " <tr> " & vbcrlf report = report & "<td align = ""center"" bgcolor = ""#000080""> <b> <font color = ""#FFFFFF""> Mailbox-Name< / font> < / b> < / td> " & vbcrlf report = report & "<td align = ""center"" bgcolor = ""#000080""> <b> <font color = ""#FFFFFF""> Auto Process Meetings< / font> < / b> < / td vbcrlf report = report & "<td align = ""center"" bgcolor = ""#000080""> <b> <font color = ""#FFFFFF""> Auto Decline conflicts< / font> < / b
In Crystal report show blank page C++ / VB Dear Sir / Madam I am using crystal report, In report show blank page in starting. In my report have 4 groups and 3 sub report. In first group grouping according to AID and we select in section expert option select and select same option same as for other two group. But when we print the report 1) Group Name and description and blank page display. 2nd, 3rd and 4th group data how I suppress the blank section after 1st group. Here I am show the my report view Report - -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- - First page - -- -- -- -- - Group Name ABC Description : AA - -- -- -- -- -- -- -- -- - Its a blank section. - -- -- -- -- -- -- -- -- - Second Page - -- -- -- -- -- -- Function Sub
choose report / sub-report from a parameter field C++ / VB Hi. My software only allows me to print one report. It only calls rep.rpt. I need to have a parameter field that asks everytime if I want to print a sub-report. If Yes, it prints, if not it doesn't print. Because One report goes to QA and the other to maintenance. But the maintenance report is not needed to printed all the time. is't just ocasionally. My idea was to have a specified report and have a sub-report inserted or linked. And if the answer to the parameter field yes, the linked or
Crystal Report 9 report is showing up blank C++ / VB Hi, I was wondering if anyone could help me with this problem I'm having with CR 9 report. We have a problem managment system (iEnterprise). The backend database is SQL Server 2005. I am creating the report in CR9, then saving / publishing the rpt files to the Application. . . When I run the report through the application (iEnterprise) the CR9 report comes back blank. What am I doing wrong? I verify the query in iEnterprise is ideas? Thanks, LeeAnn VB Crystal Discussions SQL Server 2005 (1) Page.databind (1) Database (1) Report (1) LeeAnn (1) IEnterprise (1) Crystalreportviewer1.reportsource (1) Reportname (1) When you say "blank" do nothing at all. For example, if you add a text field or picture to the report, does it show up? hi i think that ur not passing the parameter fields information