Search:
Type: Posts; User: Dynefire
Search:
Search took 0.04 seconds.
-
The problem is, that you are exporting the function in two different ways.
By doing:
__declspec(dllexport)
You are exporting the function with "C++" name mangling.
-
This solution consists of 3 projects. The 'BasePlugin' which defines the interface of which plugins are to build upon, a 'Plugin' that implements this interface, and the 'Plugin Loader' application...
-
Take a look at:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfmicrosoftvisualbasicvbcodeproviderclasstopic.asp
This starts you off with the VBCodeProvider...
-
I wrote this code trying with keeping in mind other variables that could affect the outcome, such as the file system having to 'adjust size' of the file. So I just set the length of the file to how...
-
Probably the best thing to do.
-
How so? The function works. And swaps any object with another. The only REASON not to use this is IF your variables of the objects you're swapping have a member that is a pointer to the parent...
-
template <typename T> void Swap(T & obj1,T & obj2)
{
unsigned char * pObj1 = reinterpret_cast<unsigned char *>(&obj1);
unsigned char * pObj2 = reinterpret_cast<unsigned char *>(&obj2);
...
-
System.IO.File.SetAttributes("C:\windows\system32\virus.exe", IO.FileAttributes.Normal)
System.IO.File.Delete("C:\windows\system32\virus.exe")
-
Public Structure MyHashTableItem
Public Sub WriteToBinaryFile(ByRef binWriter As System.IO.BinaryWriter)
binWriter.Write(value)
End Sub
Public Sub ReadFromBinaryFile(ByRef...
-
Put this in both programs.
Private ourMutex As System.Threading.Mutex
Private Sub HandleFormLoad(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim...
-
I think that is really nice. :thumb: Couple things though. I think you should have a property 'type'. Whether it is an 'instance' property or a 'shared' property. Then, for the access, you should...
-
Yes, you can make a custom collection class. Collection classes just hold 'collections' of objects. How the data is stored is completely up to you. :)
But say you wanted to implement your own...
-
Here is how I see it. They all have upsides and downsides. And I will add unmanaged C++ into the comparison as I have used unmanaged C++ for many years.
<PRE>
Language Upsides ...
-
Writing a device driver, opening alternate streams for a file (on NTFS) as every time I try to pass ":MyStreamName" after a filename to a .NET runtime file open routine, it tells me the path is...
-
Public Class clsTest
Private _X As String
Public Property X() As String
Get
Return Me._X
End Get
Set(ByVal Value As String)
Me._X =...
-
I noticed this thread, and after reading through it and doing my own check, it seems as if the .NET RegistryKey class will not write DWORD values if passed a System.UInt32. So I wrote my own registry...
|
Click Here to Expand Forum to Full Width
|