search for: hinstanc

Displaying 20 results from an estimated 34 matches for "hinstanc".

Did you mean: hinstance
2011 Sep 01
5
Another TAPI issue (Microkey Millennium)
Everything appears to install properly under wine when I'm setting up Millennium, but when I try to launch it, I get the following error: "The procedure entry point phoneInitializeExA could not be located in the dynamic link library tapi32.dll" I know tapi support in wine is woefully underdeveloped, but does anyone know if there's some kind of work-around for this kind of
2007 Jan 03
0
[824] trunk/wxruby2/swig/classes/App.i: Remove some ifdefs for old unstable versions of WxWidgets
...amp;nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspextern int wxEntry(WXHINSTANCE hInstance, -&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nb...
2003 Oct 27
3
(PR#4806)
...DLL based on a simple example given by Douglas Bates. dyn.load("TestDll.dll") test<-function(x,y) .Call("out",x,y) x<-1:10 y<-2:10 test(x,y) The C++ code is below #include <windows.h> #include <R.h> #include <Rinternals.h> HWND hWndMain; HINSTANCE hInst; HGLOBAL hXloperArray; //32 bit Entry point #define CLASS_NAME_BUFFER 50 BOOL WINAPI DllMain(HINSTANCE hDLL, DWORD dwReason, LPVOID lpReserved) { extern HWND hWndMain; extern HINSTANCE hInst; hInst = hDLL; return TRUE; } extern "C&quo...
2012 Mar 22
1
Page fault with MFC42.DLL
Hi, I get a crash when I dynamically link with MFC42.DLL but not when I link with MFC statically I've created a simple test program to illustrate... #include "stdafx.h" #include "afxole.h" Code: int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) { COleDateTime curTime; curTime=COleDateTime::GetCurrentTime(); CString nowStr; nowStr=curTime.Format("'%c'"); /* CRASHE...
2007 Dec 22
1
Memory leaks
...turning 0x1101e0 trace:heap:RtlAllocateHeap (0x110000,00000002,0000001a): returning 0x110240 trace:heap:RtlFreeHeap (0x110000,00000002,0x1101b8): returning TRUE trace:heap:RtlAllocateHeap (0x110000,00000002,00000004): returning 0x110118 -- snip code: #include <windows.h> int WINAPI WinMain (HINSTANCE hThisInstance, HINSTANCE hPrevInstance, LPSTR lpszArgument, int nCmdShow) { MessageBox(NULL, "Hallo", "Test", MB_OK); return 0; }
2007 Mar 19
2
ShellExecute
When running under Wine, ShellExecute isn't opening .html files that my Windoze app creates. Any thoughts? I know very little about linux or Wine. //fname is unicode CString that has a fully qualified *existing* .html filename HINSTANCE h = ShellExecute(NULL, _T("open"), fname, NULL, NULL, SW_SHOWNORMAL); if ((UINT)h <= 32) { /* yep, it fails to launch */ };
2008 Jul 19
0
Winelib: How can I compile a Borland C++ Builder application on Linux using winelib?
...quot;, AssemblerBox); USEFORM("chksaveS.cpp", ChkSave); USEFORM("mainS.cpp", Main); USEFORM("optionsS.cpp", Options); USEFORM("editorOptions.cpp", EditorOptionsForm); //--------------------------------------------------------------------------- WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int) { try { Application->Initialize(); Application->Title = "EASy68K"; Application->CreateForm(__classid(TMain), &Main); Application->CreateForm(__classid(TAboutBox), &...
2001 Aug 13
1
WineLib Linker Error?
...pInfoA' /test/test.spec.c:73: undefined reference to `__wine_get_main_args' /test/test.spec.c:74: undefined reference to `ExitProcess' and this is the part of the test.spec.c file that was produced: #include <winbase.h> int _ARGC; char **_ARGV; extern int __stdcall WinMain(HINSTANCE,HINSTANCE,LPSTR,INT); static void __wine_exe_main(void) { extern int __wine_get_main_args( char ***argv ); STARTUPINFOA info; LPSTR cmdline = GetCommandLineA(); while (*cmdline && *cmdline != ' ') cmdline++; if (*cmdline) cmdline++; GetStartupInfoA(...
2015 Jan 02
1
Help in building R with minGW
...^ dynload.c:71:33: warning: assignment from incompatible pointer type [enabled by default] R_osDynSymbol->closeLibrary = closeLibrary; ^ dynload.c: At top level: dynload.c:97:13: error: conflicting types for 'closeLibrary' static void closeLibrary(HINSTANCE handle) ^ dynload.c:59:13: note: previous declaration of 'closeLibrary' was here static void closeLibrary(void *handle); ^ dynload.c:59:13: warning: 'closeLibrary' used but never defined [enabled by default] make[3]: *** [dynload.o] Error 1 make[3]: Leavi...
2007 Mar 19
2
Wine crash
...[dll_entry.c:42] in winex11 (0x7eb6077c) 30 0x7ed1eb92 CreateIconFromResourceEx+0x6d2(bits=0x7edafbc0, cbSize=0x134, bIcon=0x0, dwVersion=0x30000, width=0x20, height=0x20, cFlag=0x8040) [/usr/src/wine-0.9.19/dlls/user/cursoricon.c:728] in user32 (0x7ed1eb92) 31 0x7ed1ef8c CURSORICON_Load+0x19c(hInstance=0x0, name=0x7f00, width=0x20, height=0x20, colors=0x1, fCursor=0x1, loadflags=0x8040) [/usr/src/wine-0.9.19/dlls/user/cursoricon.c:997] in user32 (0x7ed1ef8c) 32 0x7ed219c2 LoadImageW+0x92(hinst=0x0, name=0x7f00, type=0x2, desiredx=0x20, desiredy=0x0, loadflags=0x8040) [/usr/src/wine-0.9.19/dlls...
2001 Dec 08
1
LoadOEMResource crash [Was: Re: Problem report: SHRINKER.ERR, fix to DEVICE_Open/CreateFileA? ]
...t resource.c:171 #9 0x40094140 in RES_FindResource (hModule=182, type=0xe "", name=0x4074c30e "", lang=0, bUnicode=1, bRet16=0) at resource.c:220 #10 0x40094453 in FindResourceW (hModule=182, name=0x4074c30e, type=0xe) at resource.c:360 #11 0x40718664 in CURSORICON_Load (hInstance=182, name=0x4074c30e, width=32, height=32, colors=256, fCursor=0, loadflags=32832) at cursoricon.c:735 #12 0x4071ade0 in LoadImageW (hinst=4194304, name=0x4074c30e, type=1, desiredx=32, desiredy=0, loadflags=32832) at cursoricon.c:2261 #13 0x4071a086 in LoadIconW (hInstance=4194304, na...
2010 Nov 03
3
pepakura3 "DIB Init Failed"
Ubuntu 10.10 amd64 using ppa:ubuntu-wine/ppa wine version installed: wine1.3 1.3.6-0ubuntu1~maverickppa1 software in question: Pepakura Viewer 3.0.4 http://www.tamasoft.co.jp/pepakura-en/ http://www.tamasoft.co.jp/pepakura-en/download/setup_pepakura_viewer304_en.exe william at Origin:~$ winecfg wine: created the configuration directory '/home/william/.wine'
2011 Oct 17
2
Functionality with SetWindowsHookEx WH_JOURNALPLAYBACK
Hello, I am trying to run our own Delphi Application with wine 1.2 on Kubuntu. Applications runs without any problems but Functionality of stuffing keys with setWindowsHookEx(WH_JOURNALPLAYBACK, @Playback, hInstance, 0); is not working at all. Can somebody suggest any work around for this ? If any code changes are needed we can do the same since we have sources of application with us. Since application is Data Entry Centric this functionality is Vital to Client and can stop them from switching to Linux to u...
2001 May 13
1
Dynamic C Symbols and Embedding Suggestion
...te the remarkable resemblance to AddDLL. :-) My test code calls this to set up its function list just after R_ReplDllinit() just before entering the do1-loop--- though perhaps this should be integrated into some part of the setup procedure for embedding apps. DllInfo* R_RegisterEmbeddedExecutable(HINSTANCE handle,char* path) { char* dpath,*name,DLLname[PATH_MAX], *p; DeleteDLL(path); if(CountDLL == MAX_NUM_DLLS) { strcpy(DLLerror,"unable to register embedded executable. too many libraries"); return 0; } dpath = malloc(strlen(path)+1); if(dpath == NULL) { strcpy(DLLerror,...
2001 Nov 20
1
[PATCH]: Allow SSHD to install as service under WIndows 9x/Me
...,v retrieving revision 1.5 diff -u -p -r1.5 bsd-cygwin_util.c --- openbsd-compat/bsd-cygwin_util.c 2001/07/18 16:19:49 1.5 +++ openbsd-compat/bsd-cygwin_util.c 2001/11/20 12:44:23 @@ -139,4 +139,26 @@ int check_ntsec(const char *filename) return 0; } +void register_9x_service(void) +{ + HINSTANCE kerneldll; + DWORD (*RegisterServiceProcess)(DWORD, DWORD); + + /* The service register mechanism in 9x/Me is pretty different from + * NT/2K/XP. In NT/2K/XP we're using a special service starter + * application to register and control sshd as service. This method + * doesn't p...
2009 Apr 25
2
patches mentioned in bug report comments
Where are the patches mentioned in the bug report comments? The specific one I'm refering to is http://bugs.winehq.org/show_bug.cgi?id=15323#c12. The comment mentions that it's attached, but I can't seem to access the attachment.
2005 Feb 09
1
Trying to do windows encoding dll
...cket ipacket; ogg_stream_pagein(&dec_stream, op); theora_decode_packetin(&dec_state,&ipacket); theora_decode_YUVout(&dec_state, yuvframe); } __declspec (dllexport) void stopdec() { theora_clear(&dec_state); ogg_stream_clear(&dec_stream); } BOOL APIENTRY DllMain (HINSTANCE hInst /* Library instance handle. */ , DWORD reason /* Reason this function is being called. */ , LPVOID reserved /* Not used. */ ) { return TRUE; }
2004 Sep 08
2
Running microsoft vss under wine
Hello, I am using wine on RH9. I am running Visual Source Safe like thus wine --ssexp.exe THe VSS GUI starts OK. the Visual Source Safe database is on Windows Partition. This Windows Partition is mounted on my Linux like thus: mount -t nfs -o rw,nolock 192.168.0.77:/mnt/server/Share /mnt/vss I am able to launch a VSS session : I can successfully check out and check in files (I point my
2002 Jun 27
1
Building from a source-code library under windows
...partment constant infusion with lag time ;****************************************** LIBRARY ZOTCIlag EXPORTS DllMain nlme_two_comp_zero_CI_lag #======= #if defined(DLL_LOAD) #include <windows.h> #include <Math.h> /* Standard DLL entry/exit procedure */ BOOL __stdcall DllMain(HINSTANCE hDllInstance, DWORD dwReason, LPVOID lpReserved) { switch (dwReason) { case DLL_PROCESS_ATTACH: /* initialization code here */ break; case DLL_PROCESS_DETACH: /* clean-up code here */ break; } r...
2010 Aug 26
4
UT3 hangs at start
Hi!When start game through steam or shortcut on desktop,game halt when push "launch" button, after 2-5 seconds and unreal logo becomes gray.In terminal i have "wine: Unhandled stack overflow at address 0x34c7a12 (thread 0044), starting debugger..." and no more.Close game with compulsory exit.Before that game start perfectly on wine 1.2 or wine 1.3,the problem has appeared