Cary WinUV - Exception EVsgException in module Cary32.dll at

Questions about Wine on Linux
Locked
zen0
Level 1
Level 1
Posts: 5
Joined: Fri Jan 09, 2015 8:40 pm

Cary WinUV - Exception EVsgException in module Cary32.dll at

Post by zen0 »

Hello!

So here's the story:

The company I work for uses specialized spectroscopy hardware. The instruments come with Windows software. I am trying to get that software to run in Linux. I am using a Dell Optiplex 755 (core2Duo) running Scientific Linux 6.6 i386 (32 Bit) as my base distro, plus added the EPEL repository to get access to Wine. I have gotten the Cary WinUV software to launch, and it draws most of its interface, but then I get a dialog box with this message:

"Exception EVsgException in module Cary32.dll at 0002EDE8"

I'm pretty sure that this is an error inside of the WinUV Scan.exe application, but I don't know how to figure out what the .dll does in order to diagnose the problem.

While I've tinkered with computers since the early 80s, I never got much into programming, and definitely not at the .dll level.

Does anyone have any suggestions?

Sincere thanks,
zen0
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Cary WinUV - Exception EVsgException in module Cary32.dl

Post by dimesio »

Windows hardware drivers don't work in Wine.
zen0
Level 1
Level 1
Posts: 5
Joined: Fri Jan 09, 2015 8:40 pm

Re: Cary WinUV - Exception EVsgException in module Cary32.dl

Post by zen0 »

There are hardware drivers natively written for Linux.

What I don't know is if that .dll is a driver or what. Nor do I know how to find out.
zen0
Level 1
Level 1
Posts: 5
Joined: Fri Jan 09, 2015 8:40 pm

Re: Cary WinUV - Exception EVsgException in module Cary32.dl

Post by zen0 »

Does anyone know if there is a way to suss out what that .dll is doing, and maybe do a work around?

Assuming it's hardware drivers (a good bet) does the fact that there are native Linux drivers from the manufacturer help any?
zen0
Level 1
Level 1
Posts: 5
Joined: Fri Jan 09, 2015 8:40 pm

Re: Cary WinUV - Exception EVsgException in module Cary32.dl

Post by zen0 »

*possibly duplicate post. apologies if so*

The frustrating thing is that there are native Linux drivers for the card in question, but no way to use them with the WinUV software we have.

Does anyone out there have any experience with trying to figure this sort of thing out? Any hints or tips? If the answer is "hardware drivers don't work in Wine and there's nothing you can do about it, I guess we'll just have to invest in new windows machines and the newer windows software version to keep things running.

Thanks for any insights!
Rollback
Newbie
Newbie
Posts: 1
Joined: Fri May 08, 2015 4:39 am

Re: Cary WinUV - Exception EVsgException in module Cary32.dl

Post by Rollback »

Hey Zen0 the problem is not in the cary32.dll, wich just links to other dlls!
There is what the cary32.dll contains!

Code: Select all

kernel32.dll
/t GetCurrentThreadId
/t DeleteCriticalSection
/t LeaveCriticalSection
/t EnterCriticalSection
/t InitializeCriticalSection
/t VirtualFree
/t VirtualAlloc
/t LocalFree
/t LocalAlloc
/t InterlockedDecrement
/t InterlockedIncrement
/t VirtualQuery
/t WideCharToMultiByte
/t MultiByteToWideChar
/t lstrlenA
/t lstrcpynA
/t lstrcpyA
/t LoadLibraryExA
/t GetThreadLocale
/t GetStartupInfoA
/t GetProcAddress
/t GetModuleHandleA
/t GetModuleFileNameA
/t GetLocaleInfoA
/t GetLastError
/t GetCommandLineA
/t FreeLibrary
/t FindFirstFileA
/t FindClose
/t ExitProcess
/t CreateThread
/t WriteFile
/t UnhandledExceptionFilter
/t SetFilePointer
/t SetEndOfFile
/t RtlUnwind
/t ReadFile
/t RaiseException
/t GetStdHandle
/t GetFileSize
/t GetFileType
/t CreateFileA
/t CloseHandle
user32.dll
/t GetKeyboardType
/t LoadStringA
/t MessageBoxA
/t CharNextA
advapi32.dll
/t RegQueryValueExA
/t RegOpenKeyExA
/t RegCloseKey
oleaut32.dll
/t VariantChangeTypeEx
/t VariantCopyInd
/t VariantClear
/t SysStringLen
/t SysFreeString
/t SysReAllocStringLen
/t SysAllocStringLen
kernel32.dll
/t TlsSetValue
/t TlsGetValue
/t TlsFree
/t TlsAlloc
/t LocalFree
/t LocalAlloc
/t GetModuleFileNameA
advapi32.dll
/t RegSetValueExA
/t RegQueryValueExA
/t RegOpenKeyExA
/t RegFlushKey
/t RegCreateKeyExA
/t RegCloseKey
kernel32.dll
/t lstrcpyA
/t WriteFile
/t WaitForSingleObject
/t VirtualQuery
/t VirtualAlloc
/t UnmapViewOfFile
/t TerminateThread
/t Sleep
/t SizeofResource
/t SetThreadPriority
/t SetThreadLocale
/t SetFilePointer
/t SetEvent
/t SetErrorMode
/t SetEndOfFile
/t ResumeThread
/t ReadFile
/t QueryPerformanceFrequency
/t QueryPerformanceCounter
/t MulDiv
/t MapViewOfFile
/t LockResource
/t LoadResource
/t LoadLibraryA
/t LeaveCriticalSection
/t InitializeCriticalSection
/t GlobalUnlock
/t GlobalReAlloc
/t GlobalHandle
/t GlobalLock
/t GlobalFree
/t GlobalDeleteAtom
/t GlobalAlloc
/t GlobalAddAtomA
/t GetVersionExA
/t GetVersion
/t GetTickCount
/t GetThreadLocale
/t GetSystemInfo
/t GetProcAddress
/t GetModuleHandleA
/t GetModuleFileNameA
/t GetLocaleInfoA
/t GetLocalTime
/t GetLastError
/t GetDiskFreeSpaceA
/t GetDateFormatA
/t GetCurrentThreadId
/t GetCurrentThread
/t GetCurrentProcessId
/t GetCurrentDirectoryA
/t GetCPInfo
/t FreeResource
/t FreeLibrary
/t FormatMessageA
/t FindResourceA
/t FindFirstFileA
/t FindClose
/t FileTimeToLocalFileTime
/t FileTimeToDosDateTime
/t EnumCalendarInfoA
/t EnterCriticalSection
/t DeviceIoControl
/t DeleteCriticalSection
/t CreateThread
/t CreateFileMappingA
/t CreateFileA
/t CreateEventA
/t CompareStringA
/t CloseHandle
gdi32.dll
/t UnrealizeObject
/t StretchBlt
/t SetWindowOrgEx
/t SetViewportOrgEx
/t SetTextColor
/t SetStretchBltMode
/t SetROP2
/t SetPixel
/t SetDIBColorTable
/t SetBrushOrgEx
/t SetBkMode
/t SetBkColor
/t SelectPalette
/t SelectObject
/t SaveDC
/t RestoreDC
/t RectVisible
/t RealizePalette
/t PatBlt
/t MoveToEx
/t MaskBlt
/t LineTo
/t IntersectClipRect
/t GetWindowOrgEx
/t GetTextMetricsA
/t GetTextExtentPoint32A
/t GetSystemPaletteEntries
/t GetStockObject
/t GetPixel
/t GetPaletteEntries
/t GetObjectA
/t GetDeviceCaps
/t GetDIBits
/t GetDIBColorTable
/t GetDCOrgEx
/t GetCurrentPositionEx
/t GetClipBox
/t GetBrushOrgEx
/t GetBitmapBits
/t ExcludeClipRect
/t DeleteObject
/t DeleteDC
/t CreateSolidBrush
/t CreatePenIndirect
/t CreatePalette
/t CreateHalftonePalette
/t CreateFontIndirectA
/t CreateDIBitmap
/t CreateDIBSection
/t CreateCompatibleDC
/t CreateCompatibleBitmap
/t CreateBrushIndirect
/t CreateBitmap
/t BitBlt
user32.dll
/t WindowFromPoint
/t WinHelpA
/t WaitMessage
/t UpdateWindow
/t UnregisterClassA
/t UnhookWindowsHookEx
/t TranslateMessage
/t TranslateMDISysAccel
/t TrackPopupMenu
/t SystemParametersInfoA
/t ShowWindow
/t ShowScrollBar
/t ShowOwnedPopups
/t ShowCursor
/t SetWindowsHookExA
/t SetWindowPos
/t SetWindowPlacement
/t SetWindowLongA
/t SetTimer
/t SetScrollRange
/t SetScrollPos
/t SetScrollInfo
/t SetRect
/t SetPropA
/t SetMenuItemInfoA
/t SetMenu
/t SetForegroundWindow
/t SetFocus
/t SetCursor
/t SetClassLongA
/t SetCapture
/t SetActiveWindow
/t SendMessageA
/t ScrollWindow
/t ScreenToClient
/t RemovePropA
/t RemoveMenu
/t ReleaseDC
/t ReleaseCapture
/t RegisterWindowMessageA
/t RegisterClipboardFormatA
/t RegisterClassA
/t PtInRect
/t PostQuitMessage
/t PostMessageA
/t PeekMessageA
/t OffsetRect
/t OemToCharA
/t MessageBoxA
/t MapWindowPoints
/t MapVirtualKeyA
/t LoadStringA
/t LoadKeyboardLayoutA
/t LoadIconA
/t LoadCursorA
/t LoadBitmapA
/t KillTimer
/t IsZoomed
/t IsWindowVisible
/t IsWindowEnabled
/t IsWindow
/t IsRectEmpty
/t IsIconic
/t IsDialogMessageA
/t IsChild
/t InvalidateRect
/t IntersectRect
/t InsertMenuItemA
/t InsertMenuA
/t InflateRect
/t GetWindowThreadProcessId
/t GetWindowTextA
/t GetWindowRect
/t GetWindowPlacement
/t GetWindowLongA
/t GetWindowDC
/t GetTopWindow
/t GetSystemMetrics
/t GetSystemMenu
/t GetSysColor
/t GetSubMenu
/t GetScrollRange
/t GetScrollPos
/t GetScrollInfo
/t GetPropA
/t GetParent
/t GetWindow
/t GetMenuStringA
/t GetMenuState
/t GetMenuItemInfoA
/t GetMenuItemID
/t GetMenuItemCount
/t GetMenu
/t GetLastActivePopup
/t GetKeyboardState
/t GetKeyboardLayoutList
/t GetKeyboardLayout
/t GetKeyState
/t GetKeyNameTextA
/t GetIconInfo
/t GetForegroundWindow
/t GetFocus
/t GetDesktopWindow
/t GetDCEx
/t GetDC
/t GetCursorPos
/t GetCursor
/t GetClientRect
/t GetClassInfoA
/t GetCapture
/t GetActiveWindow
/t FrameRect
/t FindWindowA
/t FillRect
/t EqualRect
/t EnumWindows
/t EnumThreadWindows
/t EndPaint
/t EnableWindow
/t EnableScrollBar
/t EnableMenuItem
/t DrawTextA
/t DrawMenuBar
/t DrawIconEx
/t DrawIcon
/t DrawFrameControl
/t DrawEdge
/t DispatchMessageA
/t DestroyWindow
/t DestroyMenu
/t DestroyIcon
/t DestroyCursor
/t DeleteMenu
/t DefWindowProcA
/t DefMDIChildProcA
/t DefFrameProcA
/t CreateWindowExA
/t CreatePopupMenu
/t CreateMenu
/t CreateIcon
/t ClientToScreen
/t CheckMenuItem
/t CallWindowProcA
/t CallNextHookEx
/t BeginPaint
/t CharLowerA
/t AdjustWindowRectEx
/t ActivateKeyboardLayout
ole32.dll
/t IsEqualGUID
comctl32.dll
/t ImageList_SetIconSize
/t ImageList_GetIconSize
/t ImageList_Write
/t ImageList_Read
/t ImageList_GetDragImage
/t ImageList_DragShowNolock
/t ImageList_SetDragCursorImage
/t ImageList_DragMove
/t ImageList_DragLeave
/t ImageList_DragEnter
/t ImageList_EndDrag
/t ImageList_BeginDrag
/t ImageList_Remove
/t ImageList_DrawEx
/t ImageList_Draw
/t ImageList_GetBkColor
/t ImageList_SetBkColor
/t ImageList_ReplaceIcon
/t ImageList_Add
/t ImageList_GetImageCount
/t ImageList_Destroy
/t ImageList_Create
OsiGpib.dll
/t _ReadData@16
/t _WriteData@12
/t _WriteCommand@16
/t _SerialPollDevice@8
/t _SetDeviceParam@12
/t _ClaimDevice@8
/t _LoadDeviceDriver@4
FCary.dll
/t _RegisterEventCallbacks@8
/t _SetLampFlashes@8
/t _GetLampFlashes@8
/t _RecalcGainZeros@0
/t _SetXSlide@4
/t _SetDrum@4
/t _RecalcWLGains@0
/t _SetExtAnalogOut@8
/t _SetExtDigitalOut@4
/t _ReadExtDigitalIn@4
/t _ReadExtAnalogIn@8
/t _EnableRemoteRead@4
/t _ProcessDriverMessage@8
/t _GetDataPoints@8
/t _GetLastDataPoint@4
/t _StopRead@0
/t _TimeScan@24
/t _WvlScanWN@20
/t _WvlScanNm@20
/t _GetHWVersion@4
/t _EnableXSlideAcc@4
/t _EnableDrumAcc@4
/t _LogOut@0
/t _LogIn@4
/t _CalibrateAnalog@4
If there are native driver for linux as you said ( which i dubt since the cary 50 has a proprietary HW board ) you can write your own "CaryWinUV" natively for Linux!

those are the links i used to be able to interact with the cary50 without using the carywinuv interface on windows!

https://www.daniweb.com/software-develo ... hodsedited
http://stackoverflow.com/questions/5253 ... import-dll
Locked