Displaying 5 results from an estimated 5 matches for "mtapi".
Did you mean:
mapi
2006 Jun 25
0
A typical spec file
http://www.winehq.org/site/docs/winelib-guide/spec-file says A typical
spec file will look something like this:
init WinMain
rsrc resource.res
And regarding rsrc, "If your project does not have a resource file
then you must omit this entry altogether."
So my mtapi.dll.spec file looks like this:
init DllMain
And I only manually made one since make said it was missing.
But now I get:
mtapi.dll.spec:1: Expected ordinal declaration, got 'init'
1) Should I be manually creating this file?
2) What's with the ordinal declaration? I thought it want...
2007 Apr 15
1
pthreads with Darwine Xcode template? (or Wine Windows message pump + sockets + threads sample)
...ying to write my own startThread function since I don't see
the gamedev author's threading implementation.
(I'm trying to write a server to run on Mac OSX that uses MS Window
messages due to needing this library: MetaTrader 3 API from the
following link: http://www.metaquotes.net/files/mtapi.zip )
Using the Darwine Xcode template (which I was able to compile with my
modifications posted to the Darwine-devel list) and using winsock
sockets, I noticed my thread function did not appear to execute, so I
tried a test with the basic Xcode template.
The simple pthread example will work when...
2008 Aug 27
1
Re: Please die if you wait "too long" RtlpWaitForCriti
Dee Ayy wrote:
> On Mon, Aug 25, 2008 at 12:44 AM, vitamin <wineforum-user at winehq.org> wrote:
>
> > Try:
> >
> > Code:
> > $ wine cmd
> > c:> echo "some stuff" | myexe
> >
>
> Interesting way to run wine. However, I get the same response.
Then either your program is buggy or Wine's cmd doesn't fully implement what
2008 Aug 28
0
Re: Please die if you wait "too long" RtlpWaitForCriti
...t you posted works.
> What does not work apparently is tee and 3>&1 1>&2 2>&3
>
> Yes there were bugs and something I don't understand.
> 1) My logic bug: There was no need to call the following before my
> code block -- I thought I was being cautious. (The MTAPI says to call
> it after). My app seems to be working fine now without this initial
> HeapFree.
> if (g_pTrades != NULL)
> ::HeapFree(hHeap, 0, g_pTrades);
The check for NULL is extra. HeepFree (same as normal free() ) ignores NULL pointers. So most likely you are freeing something yo...
2008 Aug 25
3
Re: Please die if you wait "too long" RtlpWaitForCriti
Dee Ayy wrote:
> How can I insure that it gets unlocked?
>
What you describe indicates that something has gone wrong because a critical section has not been released in a reasonable amount of time. Normally one might be entered for a few milliseconds, if that.
Try turning on debug flags to look at the logs to see what calls have been made but have not returned before the