Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[SharpDevelop] C# DLL für VB6

Empfohlene Antworten

Veröffentlicht

Hi,

ich habe ein bissel gegooglet und das hier gefunden:

> c# in vb einfügen - Visual Basic @ tutorials.de: Forum, Tutorial, Anleitung, Schulung & Hilfe

Nun folgende Frage:

Ich benutze SharpDevelop v2.2.0. Was muss ich in den Projekteinstellungen einstellen um den gewünschten Effekt zu bekommen?

Ich habe das Projekttemplate "C# > Klassenbibliothek" genommen. Die DLL wurde auch erstellt.

C# DLL

/*

 * Erstellt mit SharpDevelop.

 * Benutzer: Besitzer

 * Datum: 25.07.2007

 * Zeit: 17:22

 */

using System;

using System.Collections.Generic;


namespace TestDLL

{

	/// <summary>

	/// Eine Testklasse

	/// </summary>

	public class MyClass

	{

	  /// <summary>

	  /// Eine Testfunktion

	  /// </summary>

	  /// <returns>Eine Testausgabe</returns>

	  public string MyTest ()

	  {

	    return "Dies ist ein Test";

	  }

	}

}
VB6 Form
Private Sub Command1_Click()

MsgBox Module1.TestDLL_MyTest

End Sub
VB6 Module
Declare Function TestDLL_MyTest Lib "D:\Sören Kornetzki\SharpDevelop Projects\TestDLL\bin\Debug\TestDLL.dll" Alias "MyTest" () As Strin

Fehler von VB6:

453: Can't find DLL entry point MyTest

TestDLL.zip

Du kannst Funktionen in managed DLLs aus unmanaged Code heraus nicht einfach ohne CLR ansprechen. Entweder hostest Du eine CLR in Deinem Programm oder Du Du stellst Deine managed class über COM zur Verfügung.

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.