dll

Mac Powerpoint addins?

こ雲淡風輕ζ 提交于 2020-01-03 06:27:42
问题 Currently we have a DLL Windows Powerpoint addin written in C#. Is there anyway to translate that into the Mac version of Powerpoint? Obviously DLL doesn't exist on Macs, so what would be an alternative? What programming language would I have to write it in? is there a way to automatically convert? thank you 回答1: No need for AppleScript. Office 2011 for Mac is out already, and does support VBA (and hence add-ins) once again, with some nice improvements over the earlier VBA support that was

Decompile JAVA DLL

白昼怎懂夜的黑 提交于 2020-01-03 05:33:14
问题 I've received a java dll file with an app I've downloaded. This DLL file was written in Java and now I want to decompile it. Here is how I call this dll that contains a jar: new JarInputStream(getClass().getResourceAsStream("jarjava.dll")); Is there a way to decompile it? 回答1: Java source files are compiled to .class files. As far as I know, there is no standard way to compile java code to a DLL. What could have happened here: This is C code written against the JNI API, to be used to interact

Attempt to load the C runtime library incorrectly in Winamp's in_midi.dll

ⅰ亾dé卋堺 提交于 2020-01-03 04:48:27
问题 I am trying to load a Winamp input plugin and work with it in C#. According to the Winamp SDK, this is the proper way to load a plugin: in_mp3_lib = LoadLibraryW(path); if (in_mp3_lib) { PluginGetter pluginGetter = (PluginGetter)GetProcAddress(in_mp3_lib, "winampGetInModule2"); if (pluginGetter) { in_mp3 = pluginGetter(); } } So I've created a similar code in C#: [DllImport("kernel32", SetLastError=true, CharSet=CharSet.Unicode)] static extern IntPtr LoadLibrary(string lpFileName); [DllImport

Error while dynamically loading mapi32.dll

浪子不回头ぞ 提交于 2020-01-03 03:23:05
问题 Our application uses Simple MAPI to send e-mails. One of our clients has problems sending e-mail from a session on his terminal server. The mapi32.dll is loaded with a call to LoadLibrary which succeeds, but then our application tries to get the addresses of the functions MAPILogon , MAPILogOff , MAPISendMail , MAPIFreeBuffer and MAPIResolveName . The problem is that GetProcAddress fails for those functions with an ERROR_ACCESS_DENIED (code: 5) except for MAPIFreeBuffer . It looks like some

calling dll through php

我只是一个虾纸丫 提交于 2020-01-03 02:48:08
问题 I need to call a dll that returns a string using PHP. What would be the best possible way to achieve this? 回答1: Build a PHP extension that wraps the DLL or create a wrapper (in any language) that can be accessed via shell with exec. 回答2: This is not possible using native PHP. I would look into running an operating system level function to do this using exec() , like for example rundll.exe (for some kinds of DLLs). If rundll can't do it (it has something to do with managed and unmanaged DLLs,

How to find out which application requires a certain assembly from GAC?

假如想象 提交于 2020-01-03 02:45:06
问题 I have inherited an application, that uses Microsoft Enterprise Library. The VS solution of the applications contains about 200 projects. I have been restructuring the solution moving the projects around and removing obsolete ones. I need to tidy it up to make it ready for other developers. The solution contains Microsoft Enterprise Library dlls of a specific version, however when I moved stuff around, I noticed that some projects do not reference these dlls but instead dlls from my GAC. I

How to use ilMerge to merge dll into an exe file? [duplicate]

早过忘川 提交于 2020-01-02 17:34:43
问题 This question already has an answer here : Closed 6 years ago . Possible Duplicate: Merging .dll with .exe Okay, so... I have all the files of ilmerge, along with the .exe (CabalMain.exe) and the dll (crckd.dll) in one path. C:\Program Files (x86)\Microsoft\ILMerge I shift>rightclick folder and open up command prompt. Since I'd like to merge the two I enter: C:\Program Files (x86)\Microsoft\ILMerge>C:\Program Files (x86)\Microsoft\ILMerg e\ilmerge C:\Program Files (x86)\Microsoft\ILMerge

Java JNA Mapping in Delphi Dll function

。_饼干妹妹 提交于 2020-01-02 15:26:07
问题 How do i map this function with JNA: Delphi Dll Function Code: function send_command (const command : byte; var size : byte; var data : pbyte) : integer; stdcall external 'comunication.dll'; Use example in Delphi Example Program: send_command (cmdCLOCK_ADJUST, tam, pb); Where: const cmdCLOCK_ADJUST = $18; var tam : byte; pb, p : pbyte; begin ... tam = 7; p:= pb; for i:= 1 to tam do begin p^:= Dados [i]; inc (p) end; send_command (cmdCLOCK_ADJUST, tam, pb); freemem (pb); ... end The int value

How to convert a static library project into a dll project in VS2005

北城以北 提交于 2020-01-02 12:23:50
问题 When I create a project in vs2005. I can also create Win32->Win32Project. I can choose "console application" or "dll" or "static library" if I created a static library project. How can I convert it to dll project. I found in setting panel of the created project. General->Configuration Type, I can switch Static Library(.lib) to DLL However, after this setting. I does get a dll. but I do not have a lib with it. and I can not use it in other project. How to convert a static library project into

How to convert a static library project into a dll project in VS2005

孤街浪徒 提交于 2020-01-02 12:22:22
问题 When I create a project in vs2005. I can also create Win32->Win32Project. I can choose "console application" or "dll" or "static library" if I created a static library project. How can I convert it to dll project. I found in setting panel of the created project. General->Configuration Type, I can switch Static Library(.lib) to DLL However, after this setting. I does get a dll. but I do not have a lib with it. and I can not use it in other project. How to convert a static library project into