I want to use the Windows Action Center Notifications in my desktop application without making it a Windows Store App, which I have successfully done, with my application, all DLLs are embedded as resources and not exposed outside the exe. I also obfuscate the code to make it so programs like jet brains dot peek cannot decompile for source code. The issue is that loading a dll works fine, but it fails with the message "Unsupported type" when the program launches. This is due to the obfuscation and encryption. Even if I run the exe through my obfuscator with all protections disabled, it still fails to run. So my question is, how do I load the Windows.winmd file as a DLL that is included in the project as an embedded resource(and changing the extension to a DLL does NOT work as it returns a different error with an HRESULT code)? Is it possible to do with DLLImport? Should I just write a different DLL as an access layer to the Windows.winmd classes? Reference for original embedding source project: http://www.codeproject.com/Articles/528178/Load-DLL-From-Embedded-Resource
Embed Windows.winmd into c# project and load as embedded resource?
339 Views Asked by Josh Menzel At
0
There are 0 best solutions below
Related Questions in C#
- Passing arguments to main in C using Eclipse
- kernel module does not print packet info
- error C2016 (C requires that a struct or union has at least one member) and structs typedefs
- Drawing with ncurses, sockets and fork
- How to catch delay-import dll errors (missing dll or symbol) in MinGW(-w64)?
- Configured TTL for A record(s) backing CNAME records
- Allocating memory for pointers inside structures in functions
- Finding articulation point of undirected graph by DFS
- C first fgets() is being skipped while the second runs
- C std library don't appear to be linked in object file
- gcc static library compilation
- How to do a case-insensitive string comparison?
- C programming: Create and write 2D array of files as function
- How to read a file then store to array and then print?
- Function timeouts in C and thread
Related Questions in C++
- C++ using std::vector across boundaries
- Linked list without struct
- Connecting Signal QML to C++ (Qt5)
- how to get the reference of struct soap inherited in C++ Proxy/Service class
- Why we can't assign value to pointer
- Conversion of objects in c++
- shared_ptr: "is not a type" error
- C++ template using pointer and non pointer arguments in a QVector
- C++ SFML 2.2 vectors
- Lifetime of temporary objects
- I want to be able to use 4 different variables in a select statement in c ++
- segmentation fault: 11, extracting data in vector
- How to catch delay-import dll errors (missing dll or symbol) in MinGW(-w64)?
- How can I print all the values in this linked list inside a hash table?
- Configured TTL for A record(s) backing CNAME records
Related Questions in DLL
- C++ using std::vector across boundaries
- Linking to a static lib compiled with MSVC
- What are MATLAB DLLS?
- VC++ .net: Functionality from managed DLL is not exported
- DLL being marked as DELETEPENDING
- ASP.NET Web Forms give error while connecting to Oracle 11g
- Air Native Extensions: Released Air App w/Windows Native Extension works fine on develpment PC but not on other computers
- WiX and custom extensions for primary output?
- Using different versions of the same DLL in a project
- visual c++ - missing unrelated DLLs
- Error executing SSIS Package
- C++ Access violation write to 0x00000000 in dll in mql4
- How can I read embedded .resx in different assembly
- Running two versions of same Dll parallel in Asp.Net
- Call class member of c++ DLL from c#
Related Questions in EMBEDDING
- explorer bar - embedding a webbrowser into it
- Embedding with SWF in jwplayer
- Update the sketch quotas and read the dimensions of the model
- TensorBoard Embedding Example?
- Keras word embedding in four gram model
- Using Keras to predict whether two numbers have the same "oddness" using an embedding, am I on the right track?
- How to use pretrained GloVe vectors in a tensorflow LSTM generative model
- The _imaging C module not installed Python Embedding
- Ruby/Rails playing with arrays from multilevel nested associations
- Embedding Python: No module named site
- Embedding Python -- loading already loaded module
- Embedding a video on https website becames not a secure connection
- VB.NET set embedded object src to byte array? dynamically set src value
- Embedded Helvetica Bold is rendering ugly
- setVariableData to assign a Invoke Input Variable Collection from java embedding
Related Questions in WINMD
- Compile to x64 and received System.BadImageFormatException
- LoadFrom and UnsafeLoadFrom fail when loading a winmd file
- Sharing generic code between UWP projects
- Runtime attempts to look for exe/dll instead of the .winmd reference
- Load winmd library from within UWP app using reflection
- What is the relationship between winmd files in different directories
- Build Windows Universal C# class library from command line
- Is it possible to read/write to registry in Windows Runtime Component
- How to add WINMD reference to ControlChannelTrigger
- Force BuildManager to use another version of MSBuild
- How to package a Windows Runtime component for distribution?
- Cannot resolve symbol when referencing .winmd file
- Visual studio - windows 8.1 project error - error APPX1704: The .winmd file 'Windows.winmd'
- How to export data, functions, classes from C++/WinRT library
- Winmd build for a SDK using SQLite as a dependent library
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?