Autor Beitrag
eraser_seb
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 41



BeitragVerfasst: Do 09.09.10 14:52 
Folgendes Problem:
Ich habe eine Dll programmiert und sie als COM Regestriert mit regasm.exe. Das hat auhc funcktioniert. Konnte die funcktionen in Delphi benutzen einwandfrei. Dann mach ich mein rechner nächsten Tag wieder an und will noch die DLL bearbeiten. Beim öffnen des DLL Projektes in VS steht auf einmal dsa was im .NET Framework geändert wurde. Ich konnte es aber nicht lesen so schnell. Kompielere meine DLL und will sie in mien Delphi Proggi ansteuern kommt eine Fehlermeldung "OLE-Fehler 80131537". Die DLL ist auch um ein paar kb kleiner geworden ca 15 kb.

Kann mir da jemand helfen?

Danke schonmal



(Ach so benutze VS )2010.
eraser_seb Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 41



BeitragVerfasst: Mo 13.09.10 11:24 
Niemand eine Idee?
Greenberet
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 339
Erhaltene Danke: 20

Win 10
C# (VS 2012), C++ (VS 2012/GCC), PAWN(Notepad++), Java(NetBeans)
BeitragVerfasst: Mo 13.09.10 11:34 
deregistrier mal die alte dll
kompilier neu
registrier neu

testen
eraser_seb Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 41



BeitragVerfasst: Mo 13.09.10 11:59 
Habe ich gemacht mit regasm.exe "assemblyname" /unregister
Danach wieder registriert. Aber es kam wieder diegleiche Fehlermeldung.
Jason_Gregory
Hält's aus hier
Beiträge: 14

Win 7, Ubuntu
VS C# Exp, Delphi 7, SQL, Lua
BeitragVerfasst: Mo 13.09.10 12:27 
Was hast du als letztes an der Dll oder besser gesagt mit der Dll gemacht ?
Ist mir bisher noch nicht passiert, kann dir also nur begrenzt helfen.

_________________
Jason-Gregory.com - Home, Sweat Home
eraser_seb Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 41



BeitragVerfasst: Mo 13.09.10 12:42 
Besser wie keine Hilfe.
ich habe nur eine Funcktion der dll hinzugefügt. sonst nichts.
Der Fehler ist echt verdammt merkwürdig. Vieleicht kann es sein das eine Einstellung im Visual Studio eventuell falsch eingestellt ist?
Greenberet
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 339
Erhaltene Danke: 20

Win 10
C# (VS 2012), C++ (VS 2012/GCC), PAWN(Notepad++), Java(NetBeans)
BeitragVerfasst: Mo 13.09.10 13:10 
also wenn ich nach "OLE-Fehler 80131537" dann komm ich gleich bei der ersten Seite auf folgenden Fehler:
ausblenden Quelltext
1:
80131537 2148734263 COR_E_FORMAT: The format of one arguments does not meet the contract of the method.