Autor Beitrag
lemmi68
Hält's aus hier
Beiträge: 15

WinXP / SuSE 9.2 / Windows 7 Beta
Delphi 7 Enterp. / Kylix3 / VS 2008
BeitragVerfasst: Sa 07.07.07 02:27 
Hallo Leute,

in möchte für den pdfprinter eDocPrintPro ein Plugin alls DLL schreiben. (www.pdfprnter.de)

Die Aufrufe dafür sind fest Definiert:

ausblenden C#-Quelltext
1:
2:
void ShowConfigDialog(LPCTSTR printerName);
int ProcessFile(LPCTSTR printerName, LPCTSTR jobID, LPCTSTR folder, LPCTSTR files);


Ist es überhaupt möglich in C# dafür eine DLL zu schreiben? Und wenn ja, gibt es eine Anleitung dafür? Ich habe schon einpaar Tage mit freund google.de danach gesucht, aber nichts gefunden.
Kann mir jemand da weiter helfen?

Gruß,

Holger
Chryzler
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1097
Erhaltene Danke: 2



BeitragVerfasst: Do 19.07.07 20:59 
Denk ich kaum, da C# eine .NET-Sprache ist, und eDocPrintPro eine Win32-DLL verlangt. Kann aber auch sein, dass ich mich irre, denn irgendwie ist mit C# auch unmanaged code möglich.
Leuchtturm
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1087

Win Vista, Knoppix, Ubuntu
Delphi 7 Pe, Turbo Delphi, C#(VS 2005 Express), (X)HTML + CSS, bald Assembler
BeitragVerfasst: Fr 20.07.07 10:37 
DLLImport

_________________
Ich bin dafür verantwortlich was ich sage - nicht dafür was du verstehst.
arj
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 378

Win XP/Vista, Debian, (K)Ubuntu
Delphi 5 Prof, Delphi 7 Prof, C# (#Develop, VS 2005), Java (Eclipse), C++, QT, PHP, Python
BeitragVerfasst: Fr 20.07.07 12:17 
user profile iconLeuchtturm hat folgendes geschrieben:
DLLImport

DLL-Import wird nichts bringen, da man damit eine DLL importieren kann und keine Schreiben.
Ich würde Delphi oder C++ empfehlen.
Mit C# ist das nur über eine Wrapper-Dll möglich welche die Aufrufe weiterleitet.
Leuchtturm
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1087

Win Vista, Knoppix, Ubuntu
Delphi 7 Pe, Turbo Delphi, C#(VS 2005 Express), (X)HTML + CSS, bald Assembler
BeitragVerfasst: Fr 20.07.07 20:03 
Achso ich dachte C++-Dll in C#

_________________
Ich bin dafür verantwortlich was ich sage - nicht dafür was du verstehst.