Search:
Type: Posts; User: baka
Search:
Search took 0.09 seconds; generated 4 minute(s) ago.
-
it was ages ago I used winsock.
of what I can remember u use 1 listen port.
when u establish a connection, u create a new winsock and a new port and connect with the guest.
that way the listen...
-
u know theres also some "tricks" that can be used.
stretchblt can be used to copy 1 pixel into any size (as it will stretch it)
surely u need a source pixel for it to work. but nothing hard to...
-
putmem4/copymemory (long) can be used here if you have a "LONG" value with your color+alpha.
but it will require a loop. better with fillrect as Schmidt posted.
-
if u are using CreateDIBSection u just use the pointer and zeromemory it from that position, size is of course biSizeImage (that is wrong in your example)
biSizeImage = Width * Height * 4
if...
-
yes. activemovie can handle streaming. now, Im not using it anymore so Im not 100% sure. but I think u can do a search there should be examples.
nowadays I use fmodex for my needs as it handle all...
-
not sure why u can't use it. it should be in the system. maybe it was not installed? check your windows installation.
but u should update your project and use something else, such as ActiveMovie...
-
I think we had this discussion before and conclusion was that the internal a = b was one of the fastest methods.
in that thread(s) we come up with conclusions that its not "easy" to mess with the...
-
layers are just "order" of render.
it is possible with <=24bit, but I recommend using 32bit so u can make us of opacity as well.
u can do that in GDI32,GDI+,WIA,Cairo(RC#),DX,D2D,OpenGL and...
-
Private Declare Function IsOS Lib "shlwapi.dll" Alias "#437" (ByVal dwOS As Long) As Long
and just add a public string
Dim WoWAdd As String
-
I have a function for this
Private Sub GetOsWoW()
Const OS_WOW6432 = 30&
Dim IsOS64Bit As Boolean
On Error Resume Next
IsOS64Bit = (IsOS(OS_WOW6432) <> 0)
If IsOS64Bit...
-
usually slow-downs are when dealing with new memory-allocations. like redim and increasing/decreasing something.
I mean, if I use a component that has "add" it will most likely do all that.
or if u...
-
I have a huge data that is loaded/saved all the time for my "game/game-editor". it contain all kinds of variables (also strings)
what I do is to create a temporary byte array that is (at this...
-
direct2d uses WIC (Windows Imaging Component)
so u can use that as well, both to load/save but also some resizing and other graphic work.
and u can also use DirectWrite. the trick has made lots of...
-
yeah. but, dont be scared of TLB. its not "external 3rd party" stuff.
its a TLB u include in the reference "WHILE" you work in IDE, when you compile the .exe the TLB is not needed anymore (the used...
-
direct2d
should be easy to find, just search, the Trick made the typelib
or use fafalone own "mega-typelib" that include that as well
-
my own speculations is that it was time to create something new, and they did imagine .net to be that.
as Niya wrote its about libraries and it could be that using VB6 it would mess it up.
like...
-
thats why u use intercommunication.
in each startup u check if any other gauge is opened,
if so, u get data from that app, if not, u get the data from internet.
-
even if u use API its not always 100% that u do it right.
my latest tool:
I use GetCurrentDirectoryW to get the current folder, we can not use app.path
I use CreateFileW to read a .ini file,...
-
if u are 100% sure all your API are longpath/unicode ready it most be that he is missing some files.
-
exactly, its not our job to be moderators, we can report, but thats it.
the problem with him is that half the time I dont understand
and sometimes he post about odd stuff that Im not sure how to...
-
in my "online newspaper", from time to time theres news about those lucky b**ta*ds* that wins millions.
or some news about that "smart" dude that has a fail-proof strategy.
this is a...
-
u are just a troll now.
u dont give a crap about all the explanations, u just want to believe in your fantasy.
we are not in a fantasy world now Merlin, this is reality.
this thread should be...
-
no matter how much u try to convince us that earth is flat we will not buy it. we are not that easily fooled.
-
what Merlin is doing is this:
- each 100 spin is a "entity"
- each "entity" is not "random", it is for us "random" but it holds numbers in a certain way "repeatable"
- by collecting data of...
-
u can not force something to be real. it need data and validation of that data over and over again.
at least 3 different persons should come up with the same result from different locations and...
-
this only works with a random-generator that has a specific formula that will not create a 100% random-output.
real world its about a lot of things, the dealer, when he drop the ball, if its...
-
lets roll a dice 100 times and we get:
1-5: around 15 each (sum will be 75)
6: will be 25
does that means "6" is a hot number?
so now I can use this. as I "know" that 6 is hot with a 25%...
-
thats why I wrote about winsock
using winsock we can use the connect method and see if we get a error or connect,
after that we can use HTTP/GET to see the return.
or anything similar that can...
-
couttsj, but will that work with a url?
I get it that u can ping a server IP/host but this is a "file" in a server we need to check if it exists. at least thats what I think he ask for.
-
the OP want this from you:
- do not argue about it
- the system works, stop wasting my time trying to argue against it.
- just help me but do not ask any questions that I find ridiculous
- I...
-
what we need is to fetch the response during the handshake.
when we send "GET" http code, the server will respond if its valid or not. (u know 404/422 etc, that means not found/not valid)
easy to...
-
theres no self-awareness here. u don't see what u are doing yourself at all. just pointing fingers like a narcissistic person.
maybe u need to ask yourself why people don't react like u want and...
-
who wants to create a stupid program?
sure we can create a random-generator that will always create that "1/3" logic.
but the OP can start by showing some code first and tell why he can't and Im...
-
the protocol has changes, surely levels of protections to avoid no-name senders
that is why u need a mail-server that allow to be used by your application.
and u need username/password for it to be...
-
I remember many years ago I did create a local-mail-server so I could send and receive mails. did work well, using winsock.
not sure where I have the code. but I remember it was quite easy to...
-
well, not really. the picturebox itself has a solid background that we can only manipulate using API
but a memoryDC that is created in 32bit holds alpha
so using that we can draw and "erase".
...
-
u need to understand how the different things works.
some functions draw directly into the hdc some need a refresh to "render" it.
so, it conflict. the best way is to use functions that do one or...
-
hm, not sure why u bother with it all.
gdialphablend is very fast so u can work like this:
- create a surface u want to use, and if u want to erase it just use zeromemory, a 32bit surface is...
-
CreateDIBSection u get the pointer
knowing the bitcount+width+height u can know the size, zeromemory it all. done
-
the current project is a tool that creates bitmap-fonts of any font selected in a list.
the bitmap-fonts will be used in my other projects.
|
Click Here to Expand Forum to Full Width
|