Search:
Type: Posts; User: JamesSchumacher
Search:
Search took 0.02 seconds; generated 10 minute(s) ago.
-
__asm
{
mov eax,0
call eax ; Cannot execute address 0
}
__asm
-
This is a beginning to a windowing library I am writing. It will be using GDIPlus and STL along side the windows API.
Homebrew event handling is built into this library.
Enjoy!
SDI, MDI, and...
-
The source code to creation is attached to this post.
Who would have ever known GOD had to use a Windows computer and Visual C++? :rolleyes:
No wonder it took him so long to create everything....
-
The purpose was the fact that I could never get the timing effects to go higher than a certain frame count when using GetTickCount(). (1000 would be theoretical highest for it, because it's on...
-
I was just messing around with my 'FrameRate' class that makes it simple to dictate the frame rate. Well, I basically uncapped it.... And had a small routine just calling GetWindowDC(NULL) to get the...
-
The attached *.zip file has what you need to do 'native event handling' in a platform independent manner. :afrog:
Enjoy! :bigyello:
-
Here is a utility to make sizing bitmaps easier. ;)
Attached is the *.zip file with compiled executable and source code. :thumb:
-
Wouldn't it be correct to do this? (I don't know VB6 - I know VB.NET)
Unload Me.ActiveForm
-
Well, sometimes MSDN documentation is not entirely correct.
In fact, whenever I do loading of any resource that is a standard resource (IDC_ARROW for LoadCursor, etc....) I use NULL to specify...
-
Problem is in your find resource. Your passing NULL for the module handle.
You called GetModuleHandle(NULL) on SizeOfResource and LoadResource - but you did not on in FindResource.
So, in short...
-
Create your functions in a *.dll.
If a C++ *.dll - make your functions in a extern "C" block, and make them have __stdcall calling convention.
Example:
extern "C"
{
-
Why don't your try these two things.
Type typeObjects[] = a.GetExportedTypes();
foreach (Type t in typeObjects)
{
}
-
how the VC++ compiler and GCC compiler mangle C++ names.
If you want to see that, create identical DLLs with C++ exports and go to:
www.dependencywalker.com and see how they differ in name...
-
Provides an implementation of a base window class in C++.
Creating the main window class, deriving from Window was as simple as creating a WM_NCDESTROY handler (only needed to post the quit...
-
An example right on this forum. :afrog:
http://www.vbforums.com/showthread.php?t=347768
-
These are C++ string classes. One for ANSI chars and one for UNICODE chars.
-
Public Class SomeClass
Public Function RandomZeroToHundredNoFifteen() As Integer
Dim rndGen As New Random()
Dim nRet As Integer = rndGen.Next(0,3) ' will only generate numbers...
-
Public Class SomeClass
Public Function RandomZeroToHundredNoFifteen() As Integer
Dim rndGen As New Random()
Dim nRet As Integer = rndGen.Next(0,100) ' Between 0 and 99, doesn't...
-
|
Click Here to Expand Forum to Full Width
|