Hi.
I have one simple question.
I know that I can reference an .net executable file in my C# project.
I don't want to make unnecessary project with "Output Type: Windows Application" just to call some dlls.
I just want to know is it OK or is it a bad practice to refrence an exe file?
User Profile
Collapse
-
Is it a bad practice to reference an exe file in C# project
-
How to design/write GlobalConfig class that can be inherited?
Hi.
I need to create a GlobalConfig class. But I want to derive from it in another class.
Here's an example:
Code:public class BaseConfig { public string GlobalPath {get; set;} } public class ConfigA : BaseConfig { public string pathA {get; set;} } public class ConfigB : ConfigA { public string pathB {get; set;} }
-
I managed to run this function with help from other forum.
My definition for this function looks like this:
Code:private extern static int oemGetImage([In, Out]byte[] pImageBuffer, ref uint pdwSize, uint nTop, uint nLeft, uint nRight, uint nBottom, uint nSkip, uint nBits, uint nFormat, uint nWhiteValue, uint nExposeAttempts, uint nGap, bool Invert, [MarshalAs(UnmanagedType.FunctionPtr)]Progress
-
Using C++ library in C#
Hi.
I need help with my code.
I'm trying to run unmanaged code from my C# code.
C++ Code
Code:Result_t oemGetImage(PBYTE pImageBuffer, PDWORD pdwSize, WORD nTop, WORD nLeft, WORD nRight, WORD nBottom, WORD nSkip, WORD nBits, FileFormat_t nFormat, WORD nWhiteValue,
No activity results to display
Show More
Leave a comment: