Autor Beitrag
ssb-blume
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 375
Erhaltene Danke: 7

XP, W7, W8
Deutschland
BeitragVerfasst: Do 17.07.14 09:03 
Hallo,
ein neuer Fehler, der mir unverständlich ist.

Habe ein C#-Programm, und will z.B. die bass.ddl mit einbinden:
In Verweise bass.dll einfügen, geht nicht: keine gültige assembly.

Nun mal mit usr.dll, die ja da ist und vom BS benutzt wird: gleicher Effekt.

Frage: wie kann ich bass.dll o.ä. in mein C#-Projekt einbinden? (und dann auch benutzen?)

Hansi


Moderiert von user profile iconTh69: Topic aus Off Topic verschoben am Do 17.07.2014 um 10:32

_________________
Brain: an apparatus with which we think we think.
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19272
Erhaltene Danke: 1740

W11 x64 (Chrome, Edge)
Delphi 11 Pro, Oxygene, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: Do 17.07.14 09:30 
Indem du den .NET Wrapper nutzt:
bass.radio42.com/
ssb-blume Threadstarter
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 375
Erhaltene Danke: 7

XP, W7, W8
Deutschland
BeitragVerfasst: Do 17.07.14 10:12 
Danke, kann ich jetzt einbinden.
Gibt es auch für fmod eine .net Version?
Hansi

_________________
Brain: an apparatus with which we think we think.
Th69
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Moderator
Beiträge: 4764
Erhaltene Danke: 1052

Win10
C#, C++ (VS 2017/19/22)
BeitragVerfasst: Do 17.07.14 10:32 
Hallo,

FMOD.net

Btw. du mußt bei DLLs unterscheiden zwischen nativen DLLs (mit C - Schnittstelle) und .NET-DLLs (Assemblies). Nur letztere können als Verweis (reference) in C#-Projekte eingebunden werden, erstere nur mittels P/Invoke (Stichwort: DllImportAttribute).
ssb-blume Threadstarter
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 375
Erhaltene Danke: 7

XP, W7, W8
Deutschland
BeitragVerfasst: So 20.07.14 08:31 
Danke, habe alle Probleme fast gelöst..
und muß nun arbeiten.

Hansi

_________________
Brain: an apparatus with which we think we think.